public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge --depclean -p output looks weird
@ 2008-04-05  6:27 Dale
  2008-04-05  7:28 ` Zac Medico
  0 siblings, 1 reply; 3+ messages in thread
From: Dale @ 2008-04-05  6:27 UTC (permalink / raw
  To: gentoo-user

Hi,

I run --depclean on occasion just to clean out some old cruft.  I got 
this output a bit ago and it is well . . . confusing me.  Here it is:

root@smoker / # emerge -p --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!


 >>> These are the packages that would be unmerged:

 sys-kernel/gentoo-sources
    selected: 2.6.23-r8
   protected: none
     omitted: 2.6.23-r3 2.6.24-r4

 sys-kernel/gentoo-sources
    selected: 2.6.23-r9
   protected: none
     omitted: 2.6.23-r3 2.6.24-r4

 sys-kernel/gentoo-sources
    selected: 2.6.24-r3
   protected: none
     omitted: 2.6.23-r3 2.6.24-r4

 >>> 'Selected' packages are slated for removal.
 >>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   857
Packages in world:    298
Packages in system:   52
Unique package names: 857
Required packages:    854
Number to remove:     3
root@smoker / #                

What looks weird you ask, why is it listing them that way?  They are 
separately listed and I don't recall ever seeing it listed that way 
before.  They are usually in one section.

Another odd thing is this:

root@smoker / # uname -r
2.6.23-gentoo-r8
root@smoker / # ls -al /usr/src/
total 3
drwxr-xr-x  4 root root  176 2008-04-04 16:58 .
drwxr-xr-x 17 root root  496 2008-01-23 09:31 ..
-rw-r--r--  1 root root    0 2006-08-03 09:23 .keep
lrwxrwxrwx  1 root root   32 2008-04-04 16:58 linux -> 
/usr/src/linux-2.6.23-gentoo-r8/
drwxr-xr-x 20 root root 1424 2008-04-04 17:21 linux-2.6.23-gentoo-r8
drwxr-xr-x 21 root root 1472 2008-04-03 22:32 linux-2.6.24-gentoo-r4
root@smoker / #

It wants to remove the currently running kernel as well.  Seems it used 
to leave that one in the past.  I may be wrong tho.

Thoughts?

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



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

end of thread, other threads:[~2008-04-05  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05  6:27 [gentoo-user] emerge --depclean -p output looks weird Dale
2008-04-05  7:28 ` Zac Medico
2008-04-05  8:28   ` Dale

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