Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37822 - emerge does not respect package.mask
Summary: emerge does not respect package.mask
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-10 12:19 UTC by Maik Holtkamp
Modified: 2004-01-10 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maik Holtkamp 2004-01-10 12:19:21 UTC
Emerge tries to update my nvidia drivers when doing an update, but IMHO they are mask and emerge should not touch them

Reproducible: Always
Steps to Reproduce:
1.emerge -[uU] world 
2.
3.

Actual Results:  
emerge tries to load version 4496 in spite it is masked

Expected Results:  
do not touch the installed 4191

---cut---
root@syl maik(0) # cat /etc/portage/package.mask
=>media-video/nvidia-kernel-1.0.4192
=>media-video/nvidia-glx-1.0.4192
root@syl maik(0) # qpkg -i -I nvidia
media-video/nvidia-kernel-1.0.4191-r2 *
        Linux kernel module for the NVIDIA's X driver [ http://www.nvidia.com/ ]
media-video/nvidia-glx-1.0.4191 *
        XFree86 GLX libraries for the NVIDIA's X driver [ http://www.nvidia.com/ ]
root@syl maik(0) # emerge -DpU world | grep nvidia
[ebuild  N    ] media-video/nvidia-kernel-1.0.4496-r3  
[ebuild     U ] media-video/nvidia-glx-1.0.4496 [1.0.4191]
---cut---

Prehistory:

I had some problems with never versions of nvidia driver and want to fix the
version to 4191. Last days, I discussed the problem on the German gentoo list,
however, I was not sure what I did those days when making the changes to fix
4191. I recognised the problems first when emerge -UDp returned:

--cut---
!!! all ebuilds that could satisfy
"~media-video/nvidia-kernel-1.0.4191" have been masked.!!!   
(dependency required by "media-video/nvidia-glx-1.0.4191" [ebuild])
---cut---

I thought that I probably installed nvidia-kernel from "source" those days (can
not remember, sorry) and folowed the advice on the list to use emerge -i
media-video/nvidia-kernel and to change the mask to >4192. Bevore that I had a
wrong => 4191 therein.
---prehistory---

---emerge info---
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-xfs-r3)
=================================================================
System uname: 2.4.20-xfs-r3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
                        
/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/gen
                        
eric/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http:/
                        
/gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cscope cup
                        
s curl dga dierctfb doc dvb dvd dvdr emacs encode esd ethereal fastcgi foomaticd
                        
b gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml imap imlib
                        
 innodb jack java joystick jpeg kde ladcca lcms ldap libg++ libwww lirc mad mbox
                        
 mcal mikmod motif mozilla mpeg mysql naspda ncurses nls oggvorbis opengl oss pa
                        
m pdflib perl png python qt quicktime readline samba scanner sdl slang slp snmp
                         
socks5 spell ssl svga sysl tcltk tcpd tetex tiff truetype usb videos wmf x86 xml
                        
2 xmms xosd xv zlib"
---emerge info---
Comment 1 SpanKY gentoo-dev 2004-01-10 13:46:42 UTC
read ebuild(5) again to see that the proper operator is '>='