* [gentoo-user] Depclean
@ 2005-08-19 8:59 Sébastien MORAND
2005-08-19 9:52 ` Zac Medico
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Sébastien MORAND @ 2005-08-19 8:59 UTC (permalink / raw
To: gentoo-user
Hi everybody,
I'm trying to clean my install (one year old, so it's time to do it). I run an
update, and run :
emerge --newuse -Dvu world
It installs a lot of update and so on and do everything ok.
Afterwards, I run :
revdep-rebuild
It makes a lot of rebuild about some broken link, I also uninstall so useless
software and/or lib.
Now, I'm quite sure everything is correctly linked, since runing emerge --newuse
-Dvu world or revdep-rebuild answers : << nothing has to be done >>.
Now I try the dangerous following command as describe in the documentation :
emerge --depclean -p (just to see what should be done)
And then I'm quite surprise, 41 packages should be removed, and among them, a
lot of usefull lib or tool (perl-ldap, xinetd, and so on ...)
Is this result normal ? What did I miss ?
Thank by advance about this your help.
Sébastien
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Depclean
2005-08-19 8:59 [gentoo-user] Depclean Sébastien MORAND
@ 2005-08-19 9:52 ` Zac Medico
2005-08-19 10:08 ` Neil Bothwick
2005-08-19 12:23 ` Marco Matthies
2 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2005-08-19 9:52 UTC (permalink / raw
To: gentoo-user
Sébastien MORAND wrote:
> Hi everybody,
>
> I'm trying to clean my install (one year old, so it's time to do it). I run an
> update, and run :
> emerge --newuse -Dvu world
>
> It installs a lot of update and so on and do everything ok.
>
> Afterwards, I run :
> revdep-rebuild
>
> It makes a lot of rebuild about some broken link, I also uninstall so useless
> software and/or lib.
>
> Now, I'm quite sure everything is correctly linked, since runing emerge --newuse
> -Dvu world or revdep-rebuild answers : << nothing has to be done >>.
>
> Now I try the dangerous following command as describe in the documentation :
> emerge --depclean -p (just to see what should be done)
>
> And then I'm quite surprise, 41 packages should be removed, and among them, a
> lot of usefull lib or tool (perl-ldap, xinetd, and so on ...)
>
> Is this result normal ? What did I miss ?
>
Hi Sébastien,
It's normal for some packages to become unecessary as you update packages, unmerge packages, and change use flags. Generally, it's best to do a depclean *before* packages are built (via direct emerge or revdep-rebuild). Also, do a revdep-rebuild after a depclean.
Zac
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Depclean
2005-08-19 8:59 [gentoo-user] Depclean Sébastien MORAND
2005-08-19 9:52 ` Zac Medico
@ 2005-08-19 10:08 ` Neil Bothwick
2005-08-19 11:03 ` Michael W. Holdeman
2005-08-19 12:23 ` Marco Matthies
2 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2005-08-19 10:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
On Fri, 19 Aug 2005 10:59:24 +0200, Sébastien MORAND wrote:
> Now I try the dangerous following command as describe in the
> documentation : emerge --depclean -p (just to see what should be done)
>
> And then I'm quite surprise, 41 packages should be removed, and among
> them, a lot of usefull lib or tool (perl-ldap, xinetd, and so on ...)
>
> Is this result normal ? What did I miss ?
This looks normal. For example, if you have -ldap in USE, you are
unlikely to need perl-ldap. Packages like these are generally only
installed as dependencies, they are not "end user" software, if nothing
needs them, they may as well be removed.
You can run emerge world -uavDN and revdep-rebuild -p after removing
them, just to be certain your system is consistent.
--
Neil Bothwick
Headline: "Explosion At Sperm Bank, Nurses Overcome"
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Depclean
2005-08-19 10:08 ` Neil Bothwick
@ 2005-08-19 11:03 ` Michael W. Holdeman
2005-08-19 14:30 ` Neil Bothwick
2005-08-19 16:13 ` Marco Matthies
0 siblings, 2 replies; 7+ messages in thread
From: Michael W. Holdeman @ 2005-08-19 11:03 UTC (permalink / raw
To: gentoo-user
On Friday 19 August 2005 06:08 am, Neil Bothwick wrote:
> On Fri, 19 Aug 2005 10:59:24 +0200, Sébastien MORAND wrote:
> > Now I try the dangerous following command as describe in the
> > documentation : emerge --depclean -p (just to see what should be done)
> >
> > And then I'm quite surprise, 41 packages should be removed, and among
> > them, a lot of usefull lib or tool (perl-ldap, xinetd, and so on ...)
> >
> > Is this result normal ? What did I miss ?
>
> This looks normal. For example, if you have -ldap in USE, you are
> unlikely to need perl-ldap. Packages like these are generally only
> installed as dependencies, they are not "end user" software, if nothing
> needs them, they may as well be removed.
>
> You can run emerge world -uavDN and revdep-rebuild -p after removing
> them, just to be certain your system is consistent.
Where do we easily find a list of "necessary" files, system files etc... so we
dont inaverdently remove them? For instance I am using udev for some time
now, can I let depclean remove devfsd?
Mike
--
Michael W. Holdeman
________________________________________
Powered by Gentoo Linux www.gentoo.org |
Kernel 2.6.11-ck8 |
Win4Lin 5-1-20 netraverse.com |
Win4LinPro 6.1.1-03 win4lin.com |
________________________________________|
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Depclean
2005-08-19 8:59 [gentoo-user] Depclean Sébastien MORAND
2005-08-19 9:52 ` Zac Medico
2005-08-19 10:08 ` Neil Bothwick
@ 2005-08-19 12:23 ` Marco Matthies
2 siblings, 0 replies; 7+ messages in thread
From: Marco Matthies @ 2005-08-19 12:23 UTC (permalink / raw
To: gentoo-user
> And then I'm quite surprise, 41 packages should be removed, and among them, a
> lot of usefull lib or tool (perl-ldap, xinetd, and so on ...)
>
> Is this result normal ? What did I miss ?
1. it might be old stuff that really isn't needed anymore, as already
mentioned by others
2. portage up to a short while ago had a bug (or feature?!?) that when
you emerged a package for the first time and used -u to do this, it
would not be added to the world file. Nowadays it does the right thing
and adds it to the world file if you use -u or not. This means that
possibly some packages that you emerged yourself and weren't pulled in
as dependencies by other packages in the world file are now regarded by
--depclean as unnecessary, as they don't appear in the world file
themselves and aren't dependencies of anything in there.
This means that you'll have to go through the list resulting from a
'--depclean -p' and have to see if you truly wanted that package, and if
yes, re-emerge that package or add it to the world file yourself.
Once you're done remerging the stuff you want to keep and have cleaned
out the rest, it would probably be best to check that everything is ok
with a revdep-rebuild
In the future though, everything should work fine just as you were doing it.
Marco
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Depclean
2005-08-19 11:03 ` Michael W. Holdeman
@ 2005-08-19 14:30 ` Neil Bothwick
2005-08-19 16:13 ` Marco Matthies
1 sibling, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2005-08-19 14:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
On Fri, 19 Aug 2005 07:03:52 -0400, Michael W. Holdeman wrote:
> Where do we easily find a list of "necessary" files, system files
> etc... so we dont inaverdently remove them? For instance I am using
> udev for some time now, can I let depclean remove devfsd?
They will be defined in your profile, and therefore be a dependency
of system. Emerge will show you a big, scary warning if you try to remove
one. The reason depclean wants to remove devfsd is that system no longer
requires it, current profiles default to udev.
--
Neil Bothwick
I haven't lost my mind; it's backed up on tape somewhere.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Depclean
2005-08-19 11:03 ` Michael W. Holdeman
2005-08-19 14:30 ` Neil Bothwick
@ 2005-08-19 16:13 ` Marco Matthies
1 sibling, 0 replies; 7+ messages in thread
From: Marco Matthies @ 2005-08-19 16:13 UTC (permalink / raw
To: gentoo-user
> dont inaverdently remove them? For instance I am using udev for some time
> now, can I let depclean remove devfsd?
yes you can, at least i had no problems with that
Marco
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-19 16:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 8:59 [gentoo-user] Depclean Sébastien MORAND
2005-08-19 9:52 ` Zac Medico
2005-08-19 10:08 ` Neil Bothwick
2005-08-19 11:03 ` Michael W. Holdeman
2005-08-19 14:30 ` Neil Bothwick
2005-08-19 16:13 ` Marco Matthies
2005-08-19 12:23 ` Marco Matthies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox