Hi, I want to perform an upgrade on my system where I dont have alsa-driver installed because I have alsa in the kernel and it's playing fine, I have masked gentoo-sources because I dont't want to upgrade my kernel for the moment. the problem is that I have alsa-utils-1.0.8 and when upgrading to current alsa-utils-1.0.9a it wants to install alsa-driver. A few outputs: gnelson nelson # emerge -pv --update world --- Invalid atom in /etc/portage/package.keywords: =media-libs/gst-plugins-0.8.9 -r2-0.8.9-r2 --- Invalid atom in /etc/portage/package.mask: >sys-libs/glibc-2.3.4-20041102-r1 These are the packages that I would merge, in order: Calculating world dependencies / !!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been masked. !!! One of the following masked packages is required to complete your request: - sys-kernel/gentoo-sources-2.4.31-r1 (masked by: package.mask, ~x86 keyword) - sys-kernel/gentoo-sources-2.6.12-r7 (masked by: package.mask, ~x86 keyword) - sys-kernel/gentoo-sources-2.6.12-r6 (masked by: package.mask) - sys-kernel/gentoo-sources-2.6.12-r4 (masked by: package.mask) - sys-kernel/gentoo-sources-2.6.12-r9 (masked by: package.mask) - sys-kernel/gentoo-sources-2.6.12-r8 (masked by: package.mask, ~x86 keyword) - sys-kernel/gentoo-sources-2.6.9-r9 (masked by: package.mask) - sys-kernel/gentoo-sources-2.4.28-r9 (masked by: package.mask) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-sound/alsa-driver-1.0.9b" [ebuild]) !!! Problem with ebuild media-sound/alsa-utils-1.0.9a !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. gnelson nelson # eix alsa-utils * media-sound/alsa-utils Available versions: ~1.0.7 1.0.8 1.0.9a ~1.0.9a-r1 Installed: 1.0.8 Homepage: http://www.alsa-project.org/ Description: Based on the multilib eclass License: GPL-2 Found 1 matches gnelson nelson # eix alsa-driver * media-sound/alsa-driver Available versions: 1.0.3 1.0.8 1.0.9b Installed: no Homepage: http://www.alsa-project.org/ Description: Advanced Linux Sound Architecture kernel modules License: GPL-2 LGPL-2.1 Found 1 matches gnelson nelson # Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: The new alsa-utils-1.0.9a ebuild want to install alsa-driver. Expected Results: The new alsa-utils-1.0.9a ebuild should'nt require alsa-driver as dependency when I have alsa in the kernel and thus I have no alsa-driver package installed nor want to install it. gnelson nelson # emerge --info --- Invalid atom in /etc/portage/package.keywords: =media-libs/gst-plugins-0.8.9-r2-0.8.9-r2 --- Invalid atom in /etc/portage/package.mask: >sys-libs/glibc-2.3.4-20041102-r1 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-ggdb -O0 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-ggdb -O0 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noclean nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo ftp://ftp.caliu.info/pub/gentoo ftp://ftp.gentoo-pt.org/pub/gentoo" LANG="es_ES" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups curl dvd dvdr eds emboss encode esd evo examples fam ffmpeg foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imlib ipv6 jabber jpeg libg++ libgda libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis win32codecs xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS gnelson nelson #
What did you put in /etc/portage/package.mask to mask the kernel? By the way, you seem to use the wrong version for your glibc masking and gst-plugins in keywords.
Hi Diego, here is my package.mask where I have just fixed those INVALID ATOM errors but the alsa problem still exists: gnelson nelson # cat /etc/portage/package.mask #Estos paquetes los mantenemos congelados hasta que los vayamos #actualizando uno por uno... #para actualizar glibc, gcc hacer emerge -av --update system sys-kernel/gentoo-sources >sys-devel/gcc-3.3.5-r1 #>sys-libs/glibc-2.3.4-20041102-r1 >=sys-libs/glibc-2.3.4 #Se traba con la fecha #>sys-libs/glibc-2.3.4-r1 >sys-boot/grub-0.9.4-r1 #dev-libs/glib #una actualizacion me queria instalar el busybox sys-apps/busybox gnelson nelson # The new emerge --info without INVALID ATOM errors... gnelson nelson # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-ggdb -O0 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-ggdb -O0 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noclean nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo ftp://ftp.caliu.info/pub/gentoo ftp://ftp.gentoo-pt.org/pub/gentoo" LANG="es_ES" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups curl dvd dvdr eds emboss encode esd evo examples fam ffmpeg foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imlib ipv6 jabber jpeg libg++ libgda libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis win32codecs xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS gnelson nelson #
You need at least one provider of alsa drivers. If you unmask *all* gentoo-sources versions, and don't tell portage to look for another kernel sources package, it tries to install alsa-driver to satisfy virtual/alsa requirement.
Sorry Diego but I could not understand well how to proceed, you mean is a misconfiguration of mine and not a gentoo bug, but how can I fixit or workaround it ? Removing gentoo-sources from package.mask seems to work: gnelson src # emerge -pv --update alsa-utils These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] sys-devel/make-3.80-r2 [3.80-r1] -build -hardened +nls -static 899 kB [ebuild NS ] sys-kernel/gentoo-sources-2.6.12-r9 -build -doc -symlink (-ultra1) 36,907 kB [ebuild U ] media-sound/alsa-headers-1.0.9b [1.0.8] 1,972 kB [ebuild U ] media-libs/alsa-lib-1.0.9 [1.0.8] -doc -jack 681 kB [ebuild UD] sys-libs/glibc-2.3.3.20040420-r2 [2.3.4.20041102-r1] -build -erandom -hardened +nls +nptl -pic 15,653 kB [ebuild U ] sys-apps/pciutils-2.1.11-r4 [2.1.11-r3] 0 kB [ebuild U ] media-sound/alsa-utils-1.0.9a [1.0.8] +nls 934 kB Total size of downloads: 57,048 kB gnelson src # But that means I can't upgrade alsa without upgrading gentoo-sources(kernel), assuming the later I have just also masked alsa-utils so it won't complain and I will upgrade it together with gentoo-sources in the future,, but *now* who complains is nautilus: gnelson src # emerge -pv --update world These are the packages that I would merge, in order: Calculating world dependencies | !!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been masked. !!! One of the following masked packages is required to complete your request: - sys-kernel/gentoo-sources-2.4.31-r1 (masked by: package.mask, ~x86 keyword) - sys-kernel/gentoo-sources-2.6.12-r7 (masked by: package.mask, ~x86 keyword) - sys-kernel/gentoo-sources-2.6.12-r6 (masked by: package.mask) - sys-kernel/gentoo-sources-2.6.12-r4 (masked by: package.mask) - sys-kernel/gentoo-sources-2.6.12-r9 (masked by: package.mask) - sys-kernel/gentoo-sources-2.6.12-r8 (masked by: package.mask, ~x86 keyword) - sys-kernel/gentoo-sources-2.6.9-r9 (masked by: package.mask) - sys-kernel/gentoo-sources-2.4.28-r9 (masked by: package.mask) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-sound/alsa-driver-1.0.9b" [ebuild]) !!! Problem with ebuild gnome-base/nautilus-2.10.1-r1 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. gnelson src # So, is there a way I can upgrade world _without_ upgrading kernel ? I don't mind to upgrade alsa but I think alsa-driver should'nt be installed... Current package.mask: gnelson src # cat /etc/portage/package.mask #Estos paquetes los mantenemos congelados hasta que los vayamos #actualizando uno por uno... #para actualizar glibc, gcc hacer emerge -av --update system sys-kernel/gentoo-sources media-sound/alsa-utils >sys-devel/gcc-3.3.5-r1 #>sys-libs/glibc-2.3.4-20041102-r1 >=sys-libs/glibc-2.3.4 #Se traba con la fecha #>sys-libs/glibc-2.3.4-r1 >sys-boot/grub-0.9.4-r1 #dev-libs/glib #una actualizacion me queria instalar el busybox sys-apps/busybox gnelson src #
First of all, emerging latest sources doesn't change your kernel, it just installs the sources, so you should be safe. If you want not to install them, mask all the versions greater than the one you already have, but leave one unmasked to let alsa know that you have it.
Ok, now I understand better, I've done what you said, I put in package.mask: >sys-kernel/gentoo-sources-2.6.11-r6 (version I have installed) But now updating world portage want to downgrade to 2.6.9-r9, see: gnelson nelson # emerge -pv --update world These are the packages that I would merge, in order: Calculating world dependencies ...done! [blocks B ] <net-ftp/vsftpd-2.0.3-r1 (is blocking net-ftp/ftpbase-0.00) [ebuild U ] sys-apps/man-pages-2.07 [2.02] 1,652 kB [ebuild U ] sys-libs/zlib-1.2.3 [1.2.2] -build 415 kB [ebuild U ] sys-apps/grep-2.5.1-r8 [2.5.1-r7] -build +nls -pcre -static 0 kB [ebuild U ] sys-devel/make-3.80-r2 [3.80-r1] -build -hardened +nls -static 899 kB [ebuild NS ] sys-kernel/gentoo-sources-2.6.9-r9 -build -doc -symlink (-ultra1) 35,615 kB ^^^^ I thought the problem is that currently there isn't any ebuild for the package I have installed, see: gnelson nelson # eix gentoo-sources * sys-kernel/gentoo-sources Available versions: [M]2.4.28-r9 [M]2.4.31-r1 [M]2.6.9-r9 [M]2.6.12-r4 [M]2.6.12-r6 [M]2.6.12-r7 [M]2.6.12-r8 [M]2.6.12-r9 Installed: 2.6.11-r6 Homepage: http://dev.gentoo.org/~dsd/gentoo-dev-sources Description: Full sources including the gentoo patchset for the 2.6 kernel tree License: GPL-2 Found 1 matches gnelson nelson # So I injected the package to see if that solved it: gnelson nelson # cat /etc/portage/profile/package.provided sys-kernel/gentoo-sources-2.6.11-r6 gnelson nelson # But still when doing a world upgrade (with or without alsa masked) wants to install a downgraded gentoo-sources-2.6.9-r9 :(... So I now have to try to mask gentoo-sources completely and inject virtual alsa package... but I cant find the virtual alsa package in portage tree... Diego you dont have to answer more, you've been great helper and now Im more relax gnome-sources just install sources, but maybe it could overwrite my current sources and more important my .config kernel config file that I just was so many time configuring :)...
Btw, I've just read Gentoo Linux Kernel upgrade guide[1], and it seems new sources install in different slot so it preserves old sources :).. [1]http://www.gentoo.org/doc/en/kernel-upgrade.xml