Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25041 - Portage 2.0.48-r5 doesn't respect /etc/portage/package.unmask
Summary: Portage 2.0.48-r5 doesn't respect /etc/portage/package.unmask
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 03:08 UTC by alex f
Modified: 2011-10-30 22:20 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 alex f 2003-07-22 03:08:45 UTC
for example: i have net-www/opera-7.11 installed, which is masked ~arch. so i
put net-www/opera in package.unmask and yet when i do 'emerge opera -vp' it
wants to downgrade. of course this happens with every ebuild, not just opera.
/etc/portage/package.mask on the other hand seems to work.

Reproducible: Always
Steps to Reproduce:




$ emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mmx mpeg
 ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib alsa gdbm berkdb sl
ang readline tetex svga java ruby X sdl gpm tcpd pam ssl perl python imlib oggvo
rbis gtk motif opengl gphoto2 dga gtk2 hyriand maildir samba xface -oss -arts -k
de -libwww -mikmod -qt -spell gnome -nas -esd imap mbox aalib objc"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox userpriv usersandbox strict ccache"
Comment 1 Zhen Lin 2003-07-22 08:36:53 UTC
I'm not sure whether /etc/portage/package.unmask is a hoax or an ignored configuration file.

grep -nr package.unmask /usr/lib/python2.2/site-packages/portage.py /usr/lib/portage/
/usr/lib/python2.2/site-packages/portage.py:5099:pkgunmasklines=grabfile("/etc/portage/package.unmask");

Then again, maybe it is a misunderstanding on how to use it. hardmask vs. ~mask.

Perhaps you have a syntax error in your file?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-07-22 11:44:34 UTC
package.unmask only works for packages masked in /usr/portage/profiles/package.mask, not for ~arch masking.
Comment 3 alex f 2003-07-22 13:55:27 UTC
damn. sorry about this then.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-22 17:09:05 UTC
And why? I expected it to be a general unmasking possibility, too. I really miss something like that.
Comment 5 kfm 2003-08-28 08:10:58 UTC
Re: Comment #4, well so do I! Until Portage has this feature, maybe the following would be of interest: http://gentoo.devel-net.org/portage/gpp/.