1 |
"Mark Knecht" <markknecht@×××××.com> writes: |
2 |
|
3 |
> On Tue, May 13, 2008 at 10:00 AM, Neil Bothwick <neil@××××××××××.uk> wrote: |
4 |
>> On Tue, 13 May 2008 11:46:26 -0500, reader@×××××××.com wrote: |
5 |
>> |
6 |
>> > > Another possibility is that ypou merged them with the --oneshot |
7 |
>> > > option, or that they were pulled in as a dependency of a package you |
8 |
>> > > no longer have (or has been updated to a version that is no longer |
9 |
>> > > dependent on them). What does "emerge --depclean -p" show? |
10 |
>> > |
11 |
>> > Along with dire warnings about ruining your system it lists 80 pkgs to |
12 |
>> > be removed. Some are also on the eix-test-obsolete list of 14. |
13 |
>> > |
14 |
>> > I suspect I had better not allow it to actually remove these pkgs. |
15 |
>> |
16 |
>> I think you should, as long as nothing system-critical is listed, and |
17 |
>> emerge shouts loudly about removing those. |
18 |
>> |
19 |
> |
20 |
> On a long list of packages to be cleaned I find it comforting to use |
21 |
> emerge -C package1 package2 package3 |
22 |
> and watch closely so that nothing system oriented gets taken out. |
23 |
> |
24 |
> I've made the mistake of doing |
25 |
> emerge --depclean on a long list of |
26 |
> files and then having a system that was hard to fix. |
27 |
|
28 |
> Just my take on being careful. |
29 |
> |
30 |
|
31 |
Sound advice... I too have got in trouble doing that... hence my |
32 |
chicken pucky approach this time. |
33 |
|
34 |
A step up from your advice (on a really long list) is to do it with a |
35 |
list in a file. Then `for jj in `cat list`' loop down the list with |
36 |
`if [[ $jj =~ regex ]]' using the -a flag to emerge. At least getting |
37 |
a group of several at a time. |
38 |
|
39 |
I once had to clean up a borrowed gentoo vmappliance and rebuild it to |
40 |
my liking... There were very long lists during that process. |
41 |
|
42 |
-- |
43 |
gentoo-user@l.g.o mailing list |