|
Next: [gentoo-dev] tcltk splitting [again]
|
| Author |
Message |
External

Since: Aug 19, 2005 Posts: 2
|
(Msg. 1) Posted: Fri Aug 19, 2005 11:10 am
Post subject: [gentoo-user] Depclean Archived from groups: linux>gentoo>user (more info?)
|
|
|
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.TakeThisOut@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Dec 16, 2005 Posts: 11
|
(Msg. 2) Posted: Fri Aug 19, 2005 12:00 pm
Post subject: Re: [gentoo-user] Depclean [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Aug 19, 2005 Posts: 4
|
(Msg. 3) Posted: Fri Aug 19, 2005 2:30 pm
Post subject: Re: [gentoo-user] Depclean [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> 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.TakeThisOut@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Aug 19, 2005 Posts: 39
|
(Msg. 4) Posted: Fri Aug 19, 2005 4:00 pm
Post subject: Re: [gentoo-user] Depclean [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Aug 19, 2005 Posts: 4
|
(Msg. 5) Posted: Fri Aug 19, 2005 6:20 pm
Post subject: Re: [gentoo-user] Depclean [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> 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.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
| Related Topics: | [gentoo-user] mythfrontend crashes in edit video mode nova.. - While using mythtv frontend when I scrub video in edit mode to set cut points almose any time I go across a change of ratio the frontend secmentation faults. I have tried -v with various options but have not got any usefull debug. I am using mythtv..
[gentoo-user] gentoo 2005.1 and FTDI USB/serial adapter: d.. - Hello, Gentoo 2005.1, kernel 2.6.12 gentoo r10. I have a USB device that uses the FTDI driver (in the kernel) to make the device appear as a serial port. When I plug in the device I get the following in my syslog: Sep 18 03:31:23 (none) usb 2-1: new..
[gentoo-user] nvidia-kernel does not load in 2.6.14-gentoo.. - Hi, nvidia-kernel fails to load in 2.6.14-gentoo-r2. "/var/log/messages" below. Best regards, jules Nov 24 13:29:01 omc-2 [ 112.677286] Adding 1004052k swap on /dev/sda3. Priority:-1 extents:1 across:1004052k Nov 24 13:29:01 omc-2 [ 11...
[gentoo-user] font problems after following instructions i.. - Summary: After following the instructions in the Xorg and fonts wiki the default firefox font is awful (the combination "at" especially). Workaround is simple; should I file a bug or have I erred? Details: I followed basically all the instruc...
[gentoo-user] Gentoo penguins found eating apples. - From: http://www.neoseeker.com/news/story/5381/ Linux Boots on Intel-Based Mac Matt Horne - Thursday, February 16th, 2006 | 2:31PM (PST) Gentoo successfully run on 17" iMac Core Duo With the recent surge to find alternative means of OS software f... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|