public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <dalek1967@bellsouth.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: "emerge -DuvatN world" doesn't show all upgradeable packages
Date: Tue, 08 Apr 2008 05:37:42 -0500	[thread overview]
Message-ID: <47FB4AF6.3020300@bellsouth.net> (raw)
In-Reply-To: <4652642.MrjnKLfzT5@schmarck.cn>

Michael Schmarck wrote:
> <<SNIP >>
>
> Connected question: How do I quickly find all the packages that
> got installed as a dependency, but which are no longer needed,
> because the dependent package got removed (as an example, I'd 
> like to find kde-i18n, because that used to be a dependency of
> kde-meta and kde-meta is no longer installed).
>
> Thanks,
>
> Michael
>
>   

First things first.  Use caution with this.  A LOT of caution.  Always 
do a --pretend first, no exception.  I would strongly recommend you to 
never let it just remove packages, always remove them by hand.  That's 
how I do it anyway.

emerge -p --depclean

That will tell you packages that are installed and !may! not be needed 
by other packages.  Note all the warnings here?  I have not had anything 
serious removed by using this in ages but strange things can happen.  
You need to be careful with this.  Remove the wrong thing and it can be 
a uphill battle to get it fixed.

If you have a problem with things being removed from your world file, 
someone may can give you the command to rebuild it.  I'd backup the 
current one first, just in case.  I'm pretty sure there is a way to do 
that but can't recall at the moment.  I have never had to do that before.

Dale

:-)  :-) 


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



  parent reply	other threads:[~2008-04-08 10:38 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08  9:51 [gentoo-user] "emerge -DuvatN world" doesn't show all upgradeable packages Michael Schmarck
2008-04-08  9:57 ` Anthony Metcalf
2008-04-08 10:21   ` [gentoo-user] " Michael Schmarck
2008-04-08 10:05 ` [gentoo-user] " Neil Bothwick
2008-04-08 10:20   ` [gentoo-user] " Michael Schmarck
2008-04-08 10:28     ` Anthony Metcalf
2008-04-08 10:29     ` Alan McKinnon
2008-04-08 10:39       ` [gentoo-user] " Michael Schmarck
2008-04-08 10:42         ` Neil Bothwick
2008-04-08 10:59           ` [gentoo-user] " Michael Schmarck
2008-04-08 11:19             ` Alan McKinnon
2008-04-08 11:44               ` KH
2008-04-08 11:59                 ` [gentoo-user] " Michael Schmarck
2008-04-08 12:05                   ` Alan McKinnon
2008-04-08 12:20                     ` [gentoo-user] " Michael Schmarck
2008-04-08 12:08                   ` [gentoo-user] " Dale
2008-04-08 12:17                     ` Anthony Metcalf
2008-04-08 12:21                       ` Dale
2008-04-08 12:21                     ` Neil Bothwick
2008-04-08 12:42                       ` Alan McKinnon
2008-04-08 13:13                         ` Neil Bothwick
2008-04-08 12:06               ` [gentoo-user] " Michael Schmarck
2008-04-08 12:43                 ` Alan McKinnon
2008-04-08 10:43         ` [gentoo-user] " Anthony Metcalf
2008-04-08 10:49         ` Alan McKinnon
2008-04-08 11:36         ` KH
2008-04-08 10:37     ` Dale [this message]
2008-04-08 10:52       ` [gentoo-user] " Alan McKinnon
2008-04-08 12:11         ` Dale
2008-04-08 12:35           ` Alan McKinnon
2008-04-08 12:56             ` Dale
2008-04-08 10:20 ` [gentoo-user] " Alan McKinnon
2008-04-08 10:30   ` [gentoo-user] " Michael Schmarck
2008-04-08 10:44     ` Alan McKinnon
2008-04-08 10:44     ` Neil Bothwick
2008-04-08 11:01       ` [gentoo-user] " Michael Schmarck
2008-04-08 11:12         ` Alan McKinnon
2008-04-08 11:20           ` [gentoo-user] " Michael Schmarck
2008-04-08 12:29             ` Neil Bothwick
2008-04-08 12:36               ` [gentoo-user] " Michael Schmarck
2008-04-08 12:57                 ` Dale
2008-04-08 13:04                 ` Alan McKinnon
2008-04-08 13:16                 ` Neil Bothwick
2008-04-08 13:27                   ` [gentoo-user] " Michael Schmarck
2008-04-08 13:44                     ` Neil Bothwick
2008-04-08 13:48                       ` [gentoo-user] " Michael Schmarck
2008-04-08 12:27         ` [gentoo-user] " Neil Bothwick
2008-04-08 10:59     ` [gentoo-user] " Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FB4AF6.3020300@bellsouth.net \
    --to=dalek1967@bellsouth.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox