Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147877 - emerge --depclean will not work
Summary: emerge --depclean will not work
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 20:03 UTC by R. May
Modified: 2006-10-05 13:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R. May 2006-09-16 20:03:15 UTC
Hello,

a emerge --update --deep world
Calculating world dependencies... done!
>>> Auto-cleaning packages...

will output this:

>>> No outdated packages were found on your system.


but a

emerge --depclean -pv

*** WARNING ***  Depclean may break link level dependencies.  Thus, it is
*** WARNING ***  recommended to use a tool such as `revdep-rebuild` (from
*** WARNING ***  app-portage/gentoolkit) in order to detect such breakage.
*** WARNING ***
*** WARNING ***  Also study the list of packages to be cleaned for any obvious
*** WARNING ***  mistakes. Packages that are part of the world set will always
*** WARNING ***  be kept.  They can be manually added to this set with
*** WARNING ***  `emerge --noreplace <atom>`.
*** WARNING ***
*** WARNING ***  As a safety measure, depclean will not remove any packages
*** WARNING ***  unless *all* required dependencies have been resolved.  As a
*** WARNING ***  consequence, it is often necessary to run
*** WARNING ***  `emerge --update --deep world` prior to depclean.

Calculating dependencies... done!

Dependencies could not be completely resolved due to
the following required packages not being installed:

<gnome-base/gnome-vfs-1.9.0 required by gnome-extra/gal-0.24 gnome-base/control-center-1.4.0.5-r2

Have you forgotten to run `emerge --update --deep world` prior to depclean?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 00:41:59 UTC
This is a feature, not a bug. ;) You need to install =gnome-base/gnome-vfs-1* (or unmerge stuff that depends on it).
Comment 2 R. May 2006-09-17 01:45:38 UTC
Hello,

is not so funny for me. I think it's a bug

I unmerged the Packets then I get


Dependencies could not be completely resolved due to
the following required packages not being installed:

=gnome-extra/gal-0.24* required by gnome-extra/gtkhtml-1.1.10-r1
<gnome-base/control-center-1.99.0 required by gnome-extra/gtkhtml-1.1.10-r1
=gnome-extra/gal-1.99.11* required by gnome-extra/gtkhtml-3.0.10-r1

Have you forgotten to run `emerge --update --deep world` prior to depclean?

localhost ~ # emerge gtkhtml -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gnome-extra/gtkhtml-3.10.2  USE="-debug" 0 kB

You can't say on my Computer this works fine that's why all is correct.
If we had different Startpoints we can get different Results. That's in my opinion a possible Bug..or not?

R. R. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 01:51:04 UTC
As already said once: fix your world file and install the missing dependencies or uninstall the offending packages. You clearly have junk there and are missing some stuff in world as well. This is not --depclean bug, it merely tells you what's wrong. --depclean won't work until you've fixed the mess.
Comment 4 Karl Hakimian 2006-10-05 13:02:17 UTC
I've been fighting this one since depclean was made safer. While I will admit, not being able to do a depclean is safer, I doubt that was the intention. :)

Right now I get two problems

1) >=sys-apps/i2c-2.8.7 required by sys-apps/lm_sensors-2.8.7
It is true that i2c is not installed. The reason it is not installed is because it depends on a 2.4 kernel and is not needed when you use a 2.6 kernel

2) virtual/glibc required by media-libs/xvid-0.9.1

OK. This one is a bit more frustrating and is happening on all the machines I try to do a depclean on. As far as I can tell, there is no way to get virtual/glibc. I certainly don't get it by installing glibc. I'm not about to uninstall glibc as that is a one way trip.

depclean really does seem to be broken.