* [gentoo-user] Before doing something wrong
@ 2006-07-13 2:30 Meino Christian Cramer
2006-07-13 4:18 ` Dale
2006-07-13 20:48 ` Benno Schulenberg
0 siblings, 2 replies; 6+ messages in thread
From: Meino Christian Cramer @ 2006-07-13 2:30 UTC (permalink / raw
To: gentoo-user
Hi,
short question: Is
emerge --clean
the right way to remove unused stuff from my system /without/
removing files from /usr/portage/ and below ?
Keep hacking!
mcc
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Before doing something wrong
2006-07-13 2:30 [gentoo-user] Before doing something wrong Meino Christian Cramer
@ 2006-07-13 4:18 ` Dale
2006-07-14 18:01 ` Sascha Hlusiak
2006-07-13 20:48 ` Benno Schulenberg
1 sibling, 1 reply; 6+ messages in thread
From: Dale @ 2006-07-13 4:18 UTC (permalink / raw
To: gentoo-user
Meino Christian Cramer wrote:
> Hi,
>
> short question: Is
>
> emerge --clean
>
> the right way to remove unused stuff from my system /without/
> removing files from /usr/portage/ and below ?
>
> Keep hacking!
> mcc
>
If you installed a program that you no longer need, you can do a emerge
-C <package name> and it will remove it for you. The -C is the same as
--clean by the way.
That said, be very careful with that. If you remove some things it can
break portage, gcc or some other program that the system uses. I would
strongly recommend you do a equery depends <package name> to make sure
you do not remove something that will break things.
Hope that helps and keeps you from hurting at the same time. It's easy
done.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Before doing something wrong
2006-07-13 2:30 [gentoo-user] Before doing something wrong Meino Christian Cramer
2006-07-13 4:18 ` Dale
@ 2006-07-13 20:48 ` Benno Schulenberg
1 sibling, 0 replies; 6+ messages in thread
From: Benno Schulenberg @ 2006-07-13 20:48 UTC (permalink / raw
To: gentoo-user
Meino Christian Cramer wrote:
> short question: Is
>
> emerge --clean
>
> the right way to remove unused stuff from my system
You mean 'emerge --depclean --pretend'? Heed the warning and do
an 'emerge -uND world' first. And if you're not feeling brave,
quickpkg the stuff that's going to be removed.
Benno
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Before doing something wrong
2006-07-13 4:18 ` Dale
@ 2006-07-14 18:01 ` Sascha Hlusiak
2006-07-14 18:12 ` Dale
2006-07-21 15:28 ` Bo Ørsted Andresen
0 siblings, 2 replies; 6+ messages in thread
From: Sascha Hlusiak @ 2006-07-14 18:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 622 bytes --]
> If you installed a program that you no longer need, you can do a emerge
> -C <package name> and it will remove it for you. The -C is the same as
> --clean by the way.
Nope, -C is the short for --unmerge. -c would be --clean.
And --clean cleans a package, that means when you have two versions of a
non slotted ebuild installed. It automatically happens after you upgrade
a package, first the new version is installed parallel to the existing
one, then the old one is "cleaned out".
You should never need a manual --clean :) But it should never break
anything, which --unmerge can.
Regards,
Sascha
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Before doing something wrong
2006-07-14 18:01 ` Sascha Hlusiak
@ 2006-07-14 18:12 ` Dale
2006-07-21 15:28 ` Bo Ørsted Andresen
1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2006-07-14 18:12 UTC (permalink / raw
To: gentoo-user
Sascha Hlusiak wrote:
>> If you installed a program that you no longer need, you can do a emerge
>> -C <package name> and it will remove it for you. The -C is the same as
>> --clean by the way.
>>
> Nope, -C is the short for --unmerge. -c would be --clean.
>
> And --clean cleans a package, that means when you have two versions of a
> non slotted ebuild installed. It automatically happens after you upgrade
> a package, first the new version is installed parallel to the existing
> one, then the old one is "cleaned out".
>
> You should never need a manual --clean :) But it should never break
> anything, which --unmerge can.
>
>
> Regards,
> Sascha
>
>
That's correct. That shift key sure does make a difference don't it?
Still, be careful with what you remove.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Before doing something wrong
2006-07-14 18:01 ` Sascha Hlusiak
2006-07-14 18:12 ` Dale
@ 2006-07-21 15:28 ` Bo Ørsted Andresen
1 sibling, 0 replies; 6+ messages in thread
From: Bo Ørsted Andresen @ 2006-07-21 15:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
On Friday 14 July 2006 20:01, Sascha Hlusiak wrote:
> Nope, -C is the short for --unmerge. -c would be --clean.
Correct.
> And --clean cleans a package, that means when you have two versions of a
> non slotted ebuild installed. It automatically happens after you upgrade
> a package, first the new version is installed parallel to the existing
> one, then the old one is "cleaned out".
>
> You should never need a manual --clean :) But it should never break
> anything, which --unmerge can.
This is absolutely false. --clean has no effect on unslotted packages. It is
equivalent to --prune except that it only removes old slots if nothing
depends on them. Read `man emerge`.
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-21 15:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 2:30 [gentoo-user] Before doing something wrong Meino Christian Cramer
2006-07-13 4:18 ` Dale
2006-07-14 18:01 ` Sascha Hlusiak
2006-07-14 18:12 ` Dale
2006-07-21 15:28 ` Bo Ørsted Andresen
2006-07-13 20:48 ` Benno Schulenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox