Summary: | depclean - wants to remove perl packages that are in use | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joseph <syscon780> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | darkside |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joseph
2010-10-28 15:08:48 UTC
What makes you think they are used by something? Lets take for example first package: virtual/perl-Package-Constants equery d virtual/perl-Package-Constants [ Searching for packages depending on virtual/perl-Package-Constants... ] perl-core/Archive-Tar-1.54 (virtual/perl-Package-Constants) so perl-core/Archive-Tar-1.54 is dependent but mark for removal. However, running: equery d perl-core/Archive-Tar-1.54 [ Searching for packages depending on perl-core/Archive-Tar-1.54... ] virtual/perl-Archive-Tar-1.54 (~perl-core/Archive-Tar-1.54) it shows virtual/perl-Archive-Tar-1.54 depends on perl-core/Archive-Tar-1.54 and virtual/perl-Archive-Tar-1.54 is not mark for removal. I've check them all and they all show some dependency second or third level. (In reply to comment #2) > Lets take for example first package: virtual/perl-Package-Constants > > equery d virtual/perl-Package-Constants > [ Searching for packages depending on virtual/perl-Package-Constants... ] > perl-core/Archive-Tar-1.54 (virtual/perl-Package-Constants) > > so perl-core/Archive-Tar-1.54 is dependent but mark for removal. > > However, running: > equery d perl-core/Archive-Tar-1.54 > [ Searching for packages depending on perl-core/Archive-Tar-1.54... ] > virtual/perl-Archive-Tar-1.54 (~perl-core/Archive-Tar-1.54) > > it shows virtual/perl-Archive-Tar-1.54 depends on perl-core/Archive-Tar-1.54 > and virtual/perl-Archive-Tar-1.54 is not mark for removal. > > I've check them all and they all show some dependency second or third level. > Makes perfect sense that virtual/perl-Archive-Tar-1.54 is NOT marked for removal but perl-core/Archive-Tar-1.54. perl-5.12* provides it! Look at the dependencies of virtual/perl-Archive-Tar-1.54: RDEPEND="|| ( ~dev-lang/perl-5.12.2 ~dev-lang/perl-5.12.1 ~perl-core/Archive-Tar-${PV} )" So, perl-5.12.2 satisfies the virtual. Life is good, you can remove perl-core/Archive-Tar now that you have perl-5.12.2, portage is correct. :) I'll close the bug now. Thank you for the explanation; so "depclean" is correct, all these packages can be removed. (In reply to comment #4) > Thank you for the explanation; so "depclean" is correct, all these packages can > be removed. > Yup, depclean is pretty smart nowdays regarding this stuff. The list looks "safe" to me, as most (all?) of the virtuals have this "perl-5.12* OR perl-core/foo" statement. Glad I could help, thanks for using Gentoo Linux :) |