User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.7) Gecko/20061008 Firefox/1.5.0.7 Build Identifier: regenworld produces the following long list of errors: !!! Invalid db entry: /var/db/pkg//app-arch !!! Invalid db entry: /var/db/pkg//sys-libs !!! Invalid db entry: /var/db/pkg//app-editors !!! Invalid db entry: /var/db/pkg//app-shells !!! Invalid db entry: /var/db/pkg//dev-python .... etc For each directory /var/db/pkg one gets one Invalid db entry. Otherwise system is working normally. emerge -auD world installes new packages emerge --depclean does not want to remove important packages var/lib/portage/world does not have strange entries, only those that should be there. A few days ago I did emerge -e world, trying to get rid of another problem, but the error with regenworld remained. All entries in /var/db/pkg seem to be OK. They were rebuild during the emerge -e world If I can help you with any other information, please let me know. Reproducible: Always Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.12.5 Last Sync: Tue, 10 Oct 2006 19:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="de_DE.utf8" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" USE="x86 X alsa berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode fam firefox fortran gdbm gif gimpprint gpm gstreamer gtk hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpg kde kernel_linux ldap libg++ linguas_de linguas_en live lzo mad mikmod mjpeg mmx mmx2 mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection rtc sdl session slang spell spl sse ssl tcpd tetex truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_r128 video_cards_radeon video_cards_vesa vorbis win32codecs xml xmms xorg xv xvid yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #0) > Otherwise system is working normally. > emerge -auD world installes new packages > emerge --depclean does not want to remove important packages > var/lib/portage/world does not have strange entries, > only those that should be there. You probably shouldn't be running regenworld. It's purpose is to generate a world file from /var/log/emerge.log because you've lost the original and have not other choice. I've been planning to rewrite it to use an algorithm like depclean. We also have bug 144673 against regenworld.
(In reply to comment #1) > You probably shouldn't be running regenworld. It's purpose is to generate a > world file from /var/log/emerge.log because you've lost the original and have > not other choice. Thank you very much for that hint, I only used it occasionally to detect packages that were not added to the world file by portage. It was quite convenient. I suppose using emerge --depclean --pretend and then adding the missing files to world manually is the better option? > I've been planning to rewrite it to use an algorithm like > depclean. We also have bug 144673 against regenworld. Sounds good, but: any idea where these error messages might come from?
(In reply to comment #2) > I suppose using > emerge --depclean --pretend > and then adding the missing files to world manually > is the better option? Indeed! You can use emerge --noreplace to add them to world.
Please re-open if this issue still exists.