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"
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?
package.unmask only works for packages masked in /usr/portage/profiles/package.mask, not for ~arch masking.
damn. sorry about this then.
And why? I expected it to be a general unmasking possibility, too. I really miss something like that.
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/.