I don't know whether this is a general problem or one specific to ivman. emerge -pv ivman gives: ------------ These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1-r2) [ebuild N ] sys-apps/dbus-0.23-r3 +X -debug -gtk -python +qt +xml2 1,250 kB [ebuild N ] sys-libs/libcap-1.10-r5 -debug -nocxx -python -static 38 kB [ebuild N ] sys-kernel/linux26-headers-2.6.8.1-r2 -build 34,870 kB [ebuild N ] sys-apps/hal-0.4.5-r2 -debug -doc -pcmcia 1,311 kB [ebuild N ] sys-apps/ivman-0.3 -debug 254 kB Total size of downloads: 37,726 kB -------------- ivman itself depends on either linux 2.4 or 2.6 headers, but libcap, which is a dependency of hal, which is a dependency of ivman, depends on virtual/os-headers. For some reason, when I try emerge -pv os-headers it says it will emerge the 2.4 headers: ------ adam>emerge -pv virtual/os-headers These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-kernel/linux-headers-2.4.21-r1 -build 27,864 kB Total size of downloads: 27,864 kB -------- but I have linux 2.6. (In fact, it seems that's what is already installed!) I'm pretty sure I didn't configure anything to tell Gentoo to use 2.4 headers. Reproducible: Always Steps to Reproduce: 1. 2. 3. adam>emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.3.20040420-r2, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Feb 3 2005, 16:53:49)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://gentoo.mirrors.pair.com/ http://mirror.clarkson.edu/pub/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa arts avi bitmap-fonts cdr crypt cscope cups dvd encode f77 fam font-server foomaticdb gdbm gif gpm gtk2 imagemagick imlib jpeg kde kdeenablefinal libg++ libwww mmx mpeg mysql ncurses oggvorbis opengl pdflib perl png ppds qt quicktime readline scanner sdl ssl tcpd tiff truetype truetype-fonts trusted type1-fonts usb v4l xml2 xmms xprint xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
so unmerge linux-headers and emerge linux26-headers, there is no problem here. *** This bug has been marked as a duplicate of 80348 ***
linux-headers is in system. Why does system install linux-headers 2.4 when I have linux 2.6? That seems like a bug and the source of the problem. Many users won't know that all they have to do is unmerge one and emerge the other.
I believe most users will follow the directions for upgrading to a 2.6 kernel: http://www.gentoo.org/doc/en/migration-to-2.6.xml
Not users who are new to Linux and just start with Linux 2.6. I have not used anything but 2.6 since starting to use Gentoo. I'd just like to know why it can't install linux26-headers for people who choose 2.6 and linux-headers for people who choose 2.4.