On Saturday 02 August 2003 06:11, Tom Wesley wrote: > On Friday 01 August 2003 22:16, Andrew Gaffney wrote: > > Tom Wesley wrote: > > > Hi all, > > > > > > Is there a tool I can use to find out what wants to install the old > > > (2.4.19) kernel headers? Here's the output of the command: > > > > It part of system. They are used to build glibc. > > If that is so then why is this the output of the following? > > [EMAIL PROTECTED] emerge -uDp system > > These are the packages that I would merge, in order: > > Calculating system dependencies ...done! > [ebuild U ] sys-kernel/linux-headers-2.4.19-r1 [2.4.19] > [ebuild U ] sys-apps/sh-utils-2.0.15-r1 [2.0.15] > [ebuild U ] sys-apps/textutils-2.1-r1 [2.1] > sys-apps/sh-utils and sys-apps/textutils both depend on sys-apps/coreutils, which in turn depends on sys-apps/portage and virtual/glibc. sys-libs/glibc, which is what provides virtual/glibc, depends on virtual/os-headers. sys-kernel/linux-headers provides virtual/os-headers.
As Andrew wrote, linux-headers is used to build glibc. All applications then use glibc as an interface to the kernel. Any software that must must be compiled against a specific kernel version, such as media-sound/alsa-drivers and sys-apps/pcmcia-cs, will compile against /usr/src/linux. Therefore, there is no need to worry that the os-headers are an old version. > [EMAIL PROTECTED] emerge -up textutils > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild U ] sys-apps/textutils-2.1-r1 [2.1] > You didn't specify -D and so portage checked to make sure you had a suitable version of sys-apps/coreutils installed (but did not worry about whether it is the latest version). As you do have a suitable version installed, portage is happy to only upgrade sys-apps/text-utils. Using the -D parameter will check all the way down the dependency tree that I outlined above and upgrade all packages in that tree to the latest version, thus catching sys-kernel/linux-headers as well. Make sense? Jason -- [EMAIL PROTECTED] mailing list
