public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] confusing depclean output
@ 2008-12-03 23:32 Michael P. Soulier
  2008-12-04  0:30 ` Allan Gottlieb
  0 siblings, 1 reply; 6+ messages in thread
From: Michael P. Soulier @ 2008-12-03 23:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]

msoulier@anton:~$ emerge --pretend --depclean

*** 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>`.  Packages that are listed in
*** WARNING ***  package.provided (see portage(5)) will be removed by
*** WARNING ***  depclean, even if they are part of the world set.
*** 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 --newuse --deep world` prior to depclean.

Calculating dependencies... done!

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

>=virtual/perl-Compress-Zlib-1.14 required by dev-perl/Archive-Zip-1.23
virtual/perl-ExtUtils-CBuilder required by perl-core/File-Spec-3.27.01

Have you forgotten to run `emerge --update --newuse --deep world` prior to
depclean?  It may be necessary to manually uninstall packages that no longer
exist in the portage tree since it may not be possible to satisfy their
dependencies.  Also, be aware of the --with-bdeps option that is documented
in `man emerge`.

In running emerge --update --newuse --deep world, it yields nothing.

msoulier@anton:~$ sudo emerge --update --newuse --deep world
Calculating world dependencies... done!
>>> Auto-cleaning packages...

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


What would you recommend I do here?

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] confusing depclean output
  2008-12-03 23:32 [gentoo-user] confusing depclean output Michael P. Soulier
@ 2008-12-04  0:30 ` Allan Gottlieb
  2008-12-04  7:55   ` Dale
  0 siblings, 1 reply; 6+ messages in thread
From: Allan Gottlieb @ 2008-12-04  0:30 UTC (permalink / raw
  To: gentoo-user

At Wed, 03 Dec 2008 18:32:24 -0500 "Michael P. Soulier" <msoulier@digitaltorque.ca> wrote:

> msoulier@anton:~$ emerge --pretend --depclean
>
> *** 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>`.  Packages that are listed in
> *** WARNING ***  package.provided (see portage(5)) will be removed by
> *** WARNING ***  depclean, even if they are part of the world set.
> *** 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 --newuse --deep world` prior to depclean.
>
> Calculating dependencies... done!
>
> Dependencies could not be completely resolved due to
> the following required packages not being installed:
>
>>=virtual/perl-Compress-Zlib-1.14 required by dev-perl/Archive-Zip-1.23
> virtual/perl-ExtUtils-CBuilder required by perl-core/File-Spec-3.27.01
>
> Have you forgotten to run `emerge --update --newuse --deep world` prior to
> depclean?  It may be necessary to manually uninstall packages that no longer
> exist in the portage tree since it may not be possible to satisfy their
> dependencies.  Also, be aware of the --with-bdeps option that is documented
> in `man emerge`.
>
> In running emerge --update --newuse --deep world, it yields nothing.

Did you try emerge --update --newuse --deep --with-bdeps=y world
as hinted at by the above msg?

allan



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] confusing depclean output
  2008-12-04  0:30 ` Allan Gottlieb
@ 2008-12-04  7:55   ` Dale
  2008-12-04 22:40     ` Michael P. Soulier
  0 siblings, 1 reply; 6+ messages in thread
From: Dale @ 2008-12-04  7:55 UTC (permalink / raw
  To: gentoo-user

Allan Gottlieb wrote:
>
>
> Did you try emerge --update --newuse --deep --with-bdeps=y world
> as hinted at by the above msg?
>
> allan
>
>
>   

Yep, I had to add that option to mine a while back for --depclean to
work. Add that and it should run cleanly afterwards. You could also
--oneshot those in the list and it should work. I haven't tried that yet
but read it works.

Dale

:-) :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] confusing depclean output
  2008-12-04  7:55   ` Dale
@ 2008-12-04 22:40     ` Michael P. Soulier
  2008-12-04 22:45       ` Michael P. Soulier
  2008-12-05 11:37       ` Dale
  0 siblings, 2 replies; 6+ messages in thread
From: Michael P. Soulier @ 2008-12-04 22:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

On 04/12/08 Dale said:

> Yep, I had to add that option to mine a while back for --depclean to
> work. Add that and it should run cleanly afterwards. You could also
> --oneshot those in the list and it should work. I haven't tried that yet
> but read it works.

The docs on this seem wrong. 

       --with-bdeps < y | n >
              In dependency calculations, pull in build time dependencies that
              are  not strictly required.   This defaults to 'n' for installa-
              tion actions and 'y' for the --depclean  action.   This  setting
              can be added to EMERGE_DEFAULT_OPTS (see make.conf(5)) and later
              overridden via the command line.

But it doesn't seem to default to y for --depclean. I get completely different
results when I set --with-bdeps=y on --depclean. 

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] confusing depclean output
  2008-12-04 22:40     ` Michael P. Soulier
@ 2008-12-04 22:45       ` Michael P. Soulier
  2008-12-05 11:37       ` Dale
  1 sibling, 0 replies; 6+ messages in thread
From: Michael P. Soulier @ 2008-12-04 22:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

On 04/12/08 Michael P. Soulier said:

> The docs on this seem wrong. 

And yet they're not, since this is an update and not a depclean. I'll be quiet
now. 

Mike

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] confusing depclean output
  2008-12-04 22:40     ` Michael P. Soulier
  2008-12-04 22:45       ` Michael P. Soulier
@ 2008-12-05 11:37       ` Dale
  1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2008-12-05 11:37 UTC (permalink / raw
  To: gentoo-user

Michael P. Soulier wrote:
> On 04/12/08 Dale said:
>
>   
>> Yep, I had to add that option to mine a while back for --depclean to
>> work. Add that and it should run cleanly afterwards. You could also
>> --oneshot those in the list and it should work. I haven't tried that yet
>> but read it works.
>>     
>
> The docs on this seem wrong. 
>
>        --with-bdeps < y | n >
>               In dependency calculations, pull in build time dependencies that
>               are  not strictly required.   This defaults to 'n' for installa-
>               tion actions and 'y' for the --depclean  action.   This  setting
>               can be added to EMERGE_DEFAULT_OPTS (see make.conf(5)) and later
>               overridden via the command line.
>
> But it doesn't seem to default to y for --depclean. I get completely different
> results when I set --with-bdeps=y on --depclean. 
>
> Mike
>   

Try this command:

emerge --update --newuse --deep --with-bdeps y world

When that is done, then try the --depclean, with a -p first.  ;-)

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-05 11:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 23:32 [gentoo-user] confusing depclean output Michael P. Soulier
2008-12-04  0:30 ` Allan Gottlieb
2008-12-04  7:55   ` Dale
2008-12-04 22:40     ` Michael P. Soulier
2008-12-04 22:45       ` Michael P. Soulier
2008-12-05 11:37       ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox