When I try to mask a package with ambiguous name portage ignores /etc/portage/package.mask For example trying to mask mldonkey by adding it to package.mask has no result. Reproducible: Always Steps to Reproduce: 1.emerge -p "ambiguous-packet", portage will tell about de ambiguous ebuild and ask for more detail. 2.add one of the possible ambiguous ebuild to package.mask 3.try to emerge the masked ebuild Actual Results: Portage ignored that the ebuild was masked in /etc/portage/package.mask and installed the packet. Expected Results: Portage should take care about /etc/portage/package.mask and not emerge the ebuild. I have tested it with mldonkey. If you try to emerge mldonkey, portage will ask you to try to emerge net-p2p/mldonkey or app-emacs/mldonkey. In this case neither of the ebuilds can be masked by adding them to /etc/portage/packages.mask I don't know if the same occurs for package.unmask. bash-2.05b$ emerge --info *** You are not in the portage group. You may experience cache problems *** due to permissions preventing the creation of the on-disk cache. *** Please add this user to the portage group if you wish to use portage. Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7 -gentoo-r14) ================================================================= System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -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.2 /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.rediris.es/pub/Linux/distributions/gentoo http://gent oo.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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa avi berkdb bonobo cdr crypt cups dvd dvdread encode esd f aac faad flac foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib jpeg libg++ libwww lirc mad matroska mikmod mmx monkey moznocompo se moznoirc moznomail mpeg ncurses nls oggvorbis opengl pam pdflib perl png pyth on qt quicktime readline sdl slang spell sse ssl svga tcpd theora tiff transcode truetype v4l v4l2 x86 xml2 xpm xv xvid zlib"
Please post what you did *exactly* so we can try to reproduce it (commands used, contents of package.mask).
Created attachment 37786 [details] portage.mask with mldonkey masked My portage.mask with both app-emacs/mldonkey and net-p2p/mldonkey masked.
Sorry, this is my first bug. I add net-p2p/mldonkey to /etc/portage/package.mask The I do "emerge net-p2p/mldonkey -a" and mldonkey gets installed.
Looks like a 2.0.50 problem (works with 2.0.51).
actually it also works in 2.0.50 for me