a line in the file like net-www/tomcat does not produce a warning message regardless of the fact that the package should be named www-servers/tomcat Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 10:05:27)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cddb cdparanoia cdr crypt cups curl dvd dvdr dvdread encode esd ethereal f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib innodb ipv6 java joystick jpeg junit kde ldap libg++ libwww live mad mbox mikmod mmx mmx2 motif mozilla mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-s ncurses network nls oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline rtc samba scanner sdl slang snmp spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xfs xml2 xmms xv zlib linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
This would be a user-error. You can make any virtual-entries here of your own-wish that does not really exists. However, when a profile-change renames a packes, does it upgrade this file?
net-www/tomcat might be a valid package.
The package was moved from net-www to www-servers. So I think portage should update the files in /etc/portage/.
That I agree on. Change the summary to affect that issue instead, and reopen the bug.
Sure you didn't ignore/skip an etc-update?
Reopended with new summary @Stian: done @Marius: there is no .cfg* file tfoerste@nhh221 ~ $ ls -al /etc/portage/ total 20 drwxr-xr-x 3 root portage 58 Feb 14 11:10 . drwxr-xr-x 91 root root 8192 Feb 15 09:56 .. -rw-r--r-- 1 root root 265 Feb 6 18:00 package.keywords -rw-r--r-- 1 root root 90 Feb 14 11:10 package.use drwxrwsr-x 2 root portage 6 Oct 21 12:52 sets tfoerste@nhh221 ~ $
Portage does update the files. It creates ._cfg* entries for any matching file in /etc/portage/ that will then be picked up by etc-update or dispatch-conf. If this did not happen, you are either using an old portage or you ignored the update.