I'm not talking about dependancies, but applications. For example, I emerge an application like xv. emerge -Nav xv with USE flags +gtk, +gnome. The application compiles and reported that its added to the world file. Then I, emerge --depclean --pretend, and see that emerge wants to remove xv. I look in the world file. Not there. I must manually add it. I've had to manually add applications like airsnort, aircrack, xv and others to the world file. Being an inexperienced linux user, I never depclean anymore because I have no idea whether its removing actual unneeded dependancies or applications (or deps of those apps) that I might actually use. Reproducible: Sometimes Steps to Reproduce: 1. emerge -Nav xv 2. emerge --depclean 3. Actual Results: depclean wants to remove xv. Expected Results: Depclean should not remove xv becasue it should be in the world file.
Does 'emerge -av xv' (without -N flag) add xv entry to the world file?
I'm having trouble reproducing this bug. I unmerged xv, emerged it again with the -N flag and it apprears in the world file. The next time it happens I will make note of it ... btw, there were several things depandant on xv when it was installed dsotm ~ # equery d xv [ Searching for packages depending on xv... ] media-video/ffmpeg-0.4.9_p20050226-r5 media-video/avifile-0.7.41.20041001-r1 media-video/mplayer-1.0_pre6-r4 x11-themes/commonbox-styles-extra-0.2-r1 it was installed as a depandancy initially for commonbox-styles-extra, however, when attempting to determine what the commonbox styles depandancies were, i received this error. related perhaps? dsotm ~ # equery g commonbox-styles-extra-0.2-r1 [ Searching for packages matching commonbox-styles-extra-0.2-r1... ] !!! Internal portage error, terminating Traceback (most recent call last): File "/usr/bin/equery", line 1565, in ? print_error(e) File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error sys.stderr.write(output.red("!!! ") + s + "\n") TypeError: cannot concatenate 'str' and 'instance' objects
Pardon me, I meant, there were several things dependant on it when --depclean wanted to remove it, not when it was installed... it was isntalled as a dependancy to commonbox themes. (In reply to comment #2) > I'm having trouble reproducing this bug. I unmerged xv, emerged it again with > the -N flag and it apprears in the world file. > > The next time it happens I will make note of it ... btw, there were several > things depandant on xv when it was installed > > dsotm ~ # equery d xv > [ Searching for packages depending on xv... ] > media-video/ffmpeg-0.4.9_p20050226-r5 > media-video/avifile-0.7.41.20041001-r1 > media-video/mplayer-1.0_pre6-r4 > x11-themes/commonbox-styles-extra-0.2-r1 > > it was installed as a depandancy initially for commonbox-styles-extra, however, > when attempting to determine what the commonbox styles depandancies were, i > received this error. related perhaps? > > dsotm ~ # equery g commonbox-styles-extra-0.2-r1 > [ Searching for packages matching commonbox-styles-extra-0.2-r1... ] > !!! Internal portage error, terminating > Traceback (most recent call last): > File "/usr/bin/equery", line 1565, in ? > print_error(e) > File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error > sys.stderr.write(output.red("!!! ") + s + "\n") > TypeError: cannot concatenate 'str' and 'instance' objects
has occured again ... emerge -Nv graveman emerge --sync emerge -NDtuav world (graveman/cdrdao not touched) emerge -p --depclean dev-util/pccts selected: 1.33.33 protected: none omitted: none media-libs/sdl-net selected: 1.2.5 protected: none omitted: none media-libs/libungif selected: 4.1.3 protected: none omitted: none app-cdr/graveman selected: 0.3.11 protected: none omitted: none dev-cpp/libgnomemm selected: 2.0.1 protected: none omitted: none dev-cpp/gconfmm selected: 2.0.2 protected: none omitted: none dev-cpp/libgnomeuimm selected: 2.0.0 protected: none omitted: none dev-cpp/gtkmm selected: 2.2.12 protected: none omitted: none dev-libs/libsigc++ selected: 1.2.5 protected: none omitted: none dev-cpp/libglademm selected: 2.0.1 protected: none omitted: none app-cdr/cdrdao selected: 1.1.9 protected: none omitted: none dev-cpp/libgnomecanvasmm selected: 2.0.1 protected: none omitted: none cdrdao and graveman ... i emerged a host of cd writing utilities yestreday, today I sync'd the tree and updated (-Nvuta). Then depclean shows what is posted above. Through hthe sync/update could items get removed from the world file? make.conf: USE="truetype see mmx alsa acpi cdr dvdr gnome gtk opengl win32codecs nptl" CFLAGS="-O2 -fprefetch-loop-arrays -ftracer -mfpmath=sse -pipe -fforce-addr -march=pentium4 -fomit-frame-pointer"
note: a emerge --depclean AFTER the intial emerge of graveman shows nothing to be removed. (In reply to comment #4) > has occured again ... > > emerge -Nv graveman > emerge --sync > emerge -NDtuav world (graveman/cdrdao not touched) > emerge -p --depclean > > dev-util/pccts > selected: 1.33.33 > protected: none > omitted: none > > media-libs/sdl-net > selected: 1.2.5 > protected: none > omitted: none > > media-libs/libungif > selected: 4.1.3 > protected: none > omitted: none > > app-cdr/graveman > selected: 0.3.11 > protected: none > omitted: none > > dev-cpp/libgnomemm > selected: 2.0.1 > protected: none > omitted: none > > dev-cpp/gconfmm > selected: 2.0.2 > protected: none > omitted: none > > dev-cpp/libgnomeuimm > selected: 2.0.0 > protected: none > omitted: none > > dev-cpp/gtkmm > selected: 2.2.12 > protected: none > omitted: none > > dev-libs/libsigc++ > selected: 1.2.5 > protected: none > omitted: none > > dev-cpp/libglademm > selected: 2.0.1 > protected: none > omitted: none > > app-cdr/cdrdao > selected: 1.1.9 > protected: none > omitted: none > > dev-cpp/libgnomecanvasmm > selected: 2.0.1 > protected: none > omitted: none > > cdrdao and graveman ... i emerged a host of cd writing utilities yestreday, > today I sync'd the tree and updated (-Nvuta). Then depclean shows what is posted > above. Through hthe sync/update could items get removed from the world file? > > make.conf: > USE="truetype see mmx alsa acpi cdr dvdr gnome gtk opengl win32codecs nptl" > CFLAGS="-O2 -fprefetch-loop-arrays -ftracer -mfpmath=sse -pipe -fforce-addr > -march=pentium4 -fomit-frame-pointer" >
Is this still a problem? This bug seems like Bug 67179, Bug 77669, and Bug 78408.
I have not encountered this problem in a few weeks. I've reinstalled gentoo since and have not had errors regarding missing entries in the world file.
(In reply to comment #2) > > dsotm ~ # equery g commonbox-styles-extra-0.2-r1 > [ Searching for packages matching commonbox-styles-extra-0.2-r1... ] > !!! Internal portage error, terminating > Traceback (most recent call last): > File "/usr/bin/equery", line 1565, in ? > print_error(e) > File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error > sys.stderr.write(output.red("!!! ") + s + "\n") > TypeError: cannot concatenate 'str' and 'instance' objects I tried the same query with gentoolkit-0.2.1_pre4 and got a normal error message: ~ $ equery g commonbox-styles-extra-0.2-r1 [ Searching for packages matching commonbox-styles-extra-0.2-r1... ] !!! Invalid syntax: missing operator !!! If you want only specific versions please use one of !!! the following operators as prefix for the package name: !!! > >= = <= < !!! Example to only match gcc versions greater or equal 3.2: !!! >=sys-devel/gcc-3.2
Similar issue, and the user reinstalled so we cannot get any information from the affected system anyhow... *** This bug has been marked as a duplicate of 67179 ***