Linux Debian support - Re: (more about) portage issues and simple/basic hacks/ideas about

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > November 2007 > Re: (more about) portage issues and simple/basic hacks/ideas about





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: (more about) portage issues and simple/basic hacks/ideas about
J.O. Aho

2007-11-18, 1:13 pm

lbrtchx@gmail.com wrote:

> I like the gentoo way, except for their BSD-like portage system's
> attempt to keep everything on the bleeding edge, which seems to me to
> be quite a bit stupidly risky. I am thinking here mostly about running
> servers


This depends on how your /var/lib/portage/world, if you have all the packages
installed on your system included here, then the system will try to have
packages all the time updated.
Most people do not have much programs included in the world, so it won't be a
problem.


> 1) choose the most Linux stable kernel


ACCEPT_KEYWORDS="<arch>"


> 2) choose the most stable applications' versions that would dance
> well after 1)'s music


ACCEPT_KEYWORDS="<arch>"


> 3) check all "most stable" dependencies


ACCEPT_KEYWORDS="<arch>"


> 4) let me compile "a-la portage" my custom system (verifying and
> keeping the sources ...)


The source is kept, as long as you don't use tempwatch and set it to clean out
your $DISTDIR.


> I think this is doable. To me it is just a case of bridging cultures.
> You could for example cheat/use the list of packages and dependencies
> of the most stable debian release


Will work badly with portage, as you can have different $USE which makes
packages to depend on different packages.

See:
# emerge -pv tetex

These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-libs/libwww-5.4.0-r7
[ebuild N ] app-text/tetex-3.0_p1-r5-neXt -tk" 102,314 kB
Total: 2 packages (2 new), Size of downloads: 102,329 kB


# USE="Xaw3d doc lesstif motif neXt tk" emerge -pv tetex

These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] x11-libs/motif-config-0.9-r1
[ebuild N ] net-libs/libwww-5.4.0-r7
[ebuild N ] dev-perl/perl-tk-804.027
[ebuild N ] x11-libs/lesstif-0.94.4
[ebuild N ] app-text/tetex-3.0_p1-r5
Total: 5 packages (5 new), Size of downloads: 110,589 kB


> Any clarifications, leads, ideas or comments on it?


Maybe time to look at this link:
http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly


> In which other way do you think can portage be improved? Especially
> for server, HA setups


I think portage would gain if it was a static c program instead of a slow python.

--

//Aho
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com