* [gentoo-user] Exercising a bit of caution with prune
@ 2006-07-17 6:11 Dale
2006-07-17 7:50 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Dale @ 2006-07-17 6:11 UTC (permalink / raw
To: gentoo-user
Hi,
On occasion I get a bit of cruft on my system. So I do the emerge -Pp
world to see what can be removed. I wanted some opinions on this list:
> root@smoker / # emerge -Pp world
>
> >>> These are the packages that would be unmerged:
>
> app-text/docbook-sgml-dtd
> selected: 4.4 4.1-r3 4.0-r3 3.0-r3 3.1-r3
> protected: 4.2-r2
> omitted: none
>
> gnome-base/gconf
> selected: 1.0.9
> protected: 2.14.0
> omitted: none
>
> dev-libs/lzo
> selected: 2.02-r1
> protected: 1.08-r1
> omitted: none
>
> app-text/docbook-xml-dtd
> selected: 4.4-r1 4.2-r1 4.1.2-r6
> protected: 4.3
> omitted: none
>
> sys-devel/automake
> selected: 1.5 1.6.3 1.7.9-r1 1.4_p6 1.8.5-r3
> protected: 1.9.6-r2
> omitted: none
>
> app-text/docbook-xml-simple-dtd
> selected: 4.1.2.4-r2
> protected: 1.0-r1
> omitted: none
>
> gnome-base/gnome-vfs
> selected: 1.0.5-r4
> protected: 2.14.2
> omitted: none
>
> dev-lang/python
> selected: 2.3.4-r1
> protected: 2.4.3-r1
> omitted: none
>
> sys-devel/gcc
> selected: 3.3.5.20050130-r1
> protected: 3.4.6-r1
> omitted: none
>
> media-libs/freetype
> selected: 1.3.1-r4
> protected: 2.1.10-r2
> omitted: none
>
> app-crypt/gnupg
> selected: 1.4.4
> protected: 1.9.21
> omitted: none
>
> gnome-extra/gtkhtml
> selected: 2.6.3
> protected: 1.1.10-r1
> omitted: none
>
> sys-kernel/gentoo-sources
> selected: 2.6.14-r5 2.6.16-r7 2.6.16-r9 2.6.16-r12
> protected: 2.6.16-r13
> omitted: none
>
> x11-libs/qt
> selected: 3.3.6-r1
> protected: 4.1.4
> omitted: none
>
> gnome-base/libglade
> selected: 0.17-r6
> protected: 2.5.1
> omitted: none
>
> x11-libs/gtk+
> selected: 1.2.10-r11
> protected: 2.8.19
> omitted: none
>
> sys-libs/db
> selected: 4.1.25_p1-r4 4.2.52_p2-r1
> protected: 1.85-r2
> omitted: none
>
> dev-libs/glib
> selected: 1.2.10-r5
> protected: 2.10.3
> omitted: none
>
> gnome-base/orbit
> selected: 0.5.17-r1
> protected: 2.14.0
> omitted: none
>
> sys-devel/autoconf
> selected: 2.13
> protected: 2.59-r7
> omitted: none
>
> >>> 'Selected' packages are slated for removal.
> >>> 'Protected' and 'omitted' packages will not be removed.
>
> root@smoker / #
I know to be careful with some things, gcc, autoconf and such but what
in this list can NOT be removed? Some of them I'm not sure about but I
don't want to break things either. Explain your thinking/reasons if you
can. May help me later on.
Thanks
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Exercising a bit of caution with prune
2006-07-17 6:11 [gentoo-user] Exercising a bit of caution with prune Dale
@ 2006-07-17 7:50 ` Neil Bothwick
2006-07-17 8:26 ` Dale
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2006-07-17 7:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
On Mon, 17 Jul 2006 01:11:29 -0500, Dale wrote:
> I know to be careful with some things, gcc, autoconf and such but what
> in this list can NOT be removed? Some of them I'm not sure about but I
> don't want to break things either. Explain your thinking/reasons if you
> can.
--prune removed slotted packages, which are usually slotted for a reason.
This not only applies to autocont, db etc. but also to things like the
GNOME/GTK library packages in your list.
If you want to find packages that are no longer needed, you should be
using "emerge --depclean -p".
--
Neil Bothwick
0x2B | ~0x2B - Hamlet
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Exercising a bit of caution with prune
2006-07-17 7:50 ` Neil Bothwick
@ 2006-07-17 8:26 ` Dale
2006-07-17 8:54 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Dale @ 2006-07-17 8:26 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
>
> --prune removed slotted packages, which are usually slotted for a reason.
> This not only applies to autocont, db etc. but also to things like the
> GNOME/GTK library packages in your list.
>
> If you want to find packages that are no longer needed, you should be
> using "emerge --depclean -p".
>
>
>
OK, I got this:
> root@smoker / # emerge --depclean -p
>
> *** WARNING *** --depclean is known to be broken. It is highly
> recommended
> *** WARNING *** that `emerge --update --newuse --deep world` be ran
> before
> *** WARNING *** commencing. However, using --depclean may still break
> link
> *** WARNING *** level consistency within your system. `revdep-rebuild`
> *** WARNING *** from app-portage/gentoolkit can help to detect breakage.
> *** WARNING ***
> *** WARNING *** Also study the list of packages to be cleaned for any
> *** WARNING *** obvious mistakes. Packages can be manually added to the
> *** WARNING *** world list by running `emerge --noreplace <atom>`.
> *** WARNING ***
> *** WARNING *** It is normal for packages that are masked or listed in
> *** WARNING *** package.provided to be removed by depclean. These
> are the most
> *** WARNING *** likely reasons that depclean will remove a package
> even though
> *** WARNING *** it is in the world or system package set. In order to
> *** WARNING *** troubleshoot these types of problems, it is often
> helpful to
> *** WARNING *** look at the output of `grep -r <atom> /etc/portage`.
> *** WARNING ***
> *** WARNING *** Make sure you have a backup.
>
> Calculating dependencies... done!
>
> >>> These are the packages that would be unmerged:
>
> media-libs/netpbm
> selected: 10.30-r1
> protected: none
> omitted: none
>
> dev-libs/libcdio
> selected: 0.73
> protected: none
> omitted: none
>
> dev-cpp/libgnomemm
> selected: 2.6.0
> protected: none
> omitted: none
>
> media-video/avifile
> selected: 0.7.41.20041001-r1
> protected: none
> omitted: none
>
> gnome-base/libgnomeprintui
> selected: 2.12.1
> protected: none
> omitted: none
>
> media-video/vcdimager
> selected: 0.7.21
> protected: none
> omitted: none
>
> app-shells/sash
> selected: 3.7
> protected: none
> omitted: none
>
> media-libs/urt
> selected: 3.1b-r1
> protected: none
> omitted: none
>
> app-arch/ncompress
> selected: 4.2.4-r1
> protected: none
> omitted: none
>
> sys-devel/bc
> selected: 1.06-r6
> protected: none
> omitted: none
>
> app-text/jadetex
> selected: 3.13-r1
> protected: none
> omitted: none
>
> dev-cpp/libglademm
> selected: 2.6.1
> protected: none
> omitted: none
>
> net-nds/openldap
> selected: 2.3.24-r1
> protected: none
> omitted: none
>
> dev-perl/TermReadKey
> selected: 2.30
> protected: none
> omitted: none
>
> net-print/libgnomecups
> selected: 0.2.0
> protected: none
> omitted: none
>
> net-analyzer/iftop
> selected: 0.16
> protected: none
> omitted: none
>
> sys-libs/lib-compat
> selected: 1.4.1
> protected: none
> omitted: none
>
> dev-cpp/gnome-vfsmm
> selected: 2.6.1
> protected: none
> omitted: none
>
> virtual/perl-digest-base
> selected: 1.13
> protected: none
> omitted: none
>
> dev-tex/latex2html
> selected: 2002.2.1_pre20041025
> protected: none
> omitted: none
>
> app-crypt/dirmngr
> selected: 0.9.4
> protected: none
> omitted: none
>
> gnome-base/libgnomeprint
> selected: 2.12.1
> protected: none
> omitted: none
>
> dev-cpp/libgnomeuimm
> selected: 2.6.0
> protected: none
> omitted: none
>
> dev-cpp/libgnomecanvasmm
> selected: 2.6.1
> protected: none
> omitted: none
>
> media-libs/xvid
> selected: 1.0.3
> protected: none
> omitted: none
>
> perl-core/digest-base
> selected: 1.13
> protected: none
> omitted: none
>
> media-libs/libsndfile
> selected: 1.0.11
> protected: none
> omitted: none
>
> kde-base/kdat
> selected: 3.5.1
> protected: none
> omitted: none
>
> x11-base/opengl-update
> selected: 3.0.0
> protected: none
> omitted: none
>
> dev-java/blackdown-jre
> selected: 1.4.2.03
> protected: none
> omitted: none
>
> >>> 'Selected' packages are slated for removal.
> >>> 'Protected' and 'omitted' packages will not be removed.
>
>
> Packages installed: 885
> Packages in world: 163
> Packages in system: 59
> Unique package names: 854
> Required packages: 877
> Number to remove: 30
> root@smoker / #
I don't have gnome installed on here but I think something else uses
it. Maybe it doesn't need it anymore. I also use java but I think I
use the one from Sun that has the fetch restriction thing on it. Just
to see if my thinking is right, should I do a equery depends <name of
each thing in the list> to make sure nothing needs it before I remove
it? This doesn't pick up all the different versions of kernels. I
still need to check the prune one I guess. For that at least.
Gosh, 885 installed. Holy molly. That's a lot.
Thanks
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Exercising a bit of caution with prune
2006-07-17 8:26 ` Dale
@ 2006-07-17 8:54 ` Neil Bothwick
[not found] ` <20060717100306.0d4fb582@hactar.digimed.co.uk>
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2006-07-17 8:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]
On Mon, 17 Jul 2006 03:26:41 -0500, Dale wrote:
> > Packages installed: 885
> > Packages in world: 163
> > Packages in system: 59
> > Unique package names: 854
> > Required packages: 877
> > Number to remove: 30
> > root@smoker / #
>
> I don't have gnome installed on here but I think something else uses
> it. Maybe it doesn't need it anymore.
It is possible you installed something with a lot of gnome dependencies,
then removed it.
> I also use java but I think I
> use the one from Sun that has the fetch restriction thing on it. Just
> to see if my thinking is right, should I do a equery depends <name of
> each thing in the list> to make sure nothing needs it before I remove
> it?
That would take a while for 30 packages. I'd remove a few at a time, the
least harmful looking first, and unmerge them. Then run "emerge -utvDN
world" to see if something wants to bring them back in. If not, remove
some more. Or you could quickpkg them all and unmerge the lot in one go
> This doesn't pick up all the different versions of
kernels. I still need to check the prune one I guess. For that at
> least.
kernels are slotted, so you'd need prune to remove the older ones. If
you prefer to keep more than one installed, use "equery list -d
sources" to see which you have.
> Gosh, 885 installed. Holy molly. That's a lot.
That depends on what you use your system for. I have 930 on my laptop but
only 246 on my server.
--
Neil Bothwick
DOS Tip #17: Add DEVICE=FNGRCROS.SYS to CONFIG.SYS
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Exercising a bit of caution with prune
[not found] ` <20060717100306.0d4fb582@hactar.digimed.co.uk>
@ 2006-07-17 20:34 ` Dale
2006-07-17 21:00 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Dale @ 2006-07-17 20:34 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Mon, 17 Jul 2006 09:54:43 +0100, Neil Bothwick wrote:
>
>
>> Or you could quickpkg them all and unmerge the lot in one go
>>
>
> The easy way to do this is
>
> emerge -C -p --depclean | grep '^ .*/' 1 | xargs quickpkg
> emerge --depclean
>
>
>
I have buildpkg in make.conf. Isn't that the same thing?
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Exercising a bit of caution with prune
2006-07-17 20:34 ` Dale
@ 2006-07-17 21:00 ` Neil Bothwick
2006-07-18 11:01 ` Dale
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2006-07-17 21:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
On Mon, 17 Jul 2006 15:34:59 -0500, Dale wrote:
> > emerge -C -p --depclean | grep '^ .*/' 1 | xargs quickpkg
> > emerge --depclean
> I have buildpkg in make.conf. Isn't that the same thing?
Not exactly, but more than close enough for this. I use buildpkg too, it
can save a lot of time and some heartache if a dodgy glibc is released.
--
Neil Bothwick
I don't know what your problem is, but I'll bet it's hard to pronounce.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Exercising a bit of caution with prune
2006-07-17 21:00 ` Neil Bothwick
@ 2006-07-18 11:01 ` Dale
0 siblings, 0 replies; 7+ messages in thread
From: Dale @ 2006-07-18 11:01 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Mon, 17 Jul 2006 15:34:59 -0500, Dale wrote:
>
>
>>> emerge -C -p --depclean | grep '^ .*/' 1 | xargs quickpkg
>>> emerge --depclean
>>>
>
>
>> I have buildpkg in make.conf. Isn't that the same thing?
>>
>
> Not exactly, but more than close enough for this. I use buildpkg too, it
> can save a lot of time and some heartache if a dodgy glibc is released.
>
>
>
I usually get a screwed up portage or mess up python. It helps to have
them laying around even though it fills up my portage partition.
Thanks
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-07-18 11:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 6:11 [gentoo-user] Exercising a bit of caution with prune Dale
2006-07-17 7:50 ` Neil Bothwick
2006-07-17 8:26 ` Dale
2006-07-17 8:54 ` Neil Bothwick
[not found] ` <20060717100306.0d4fb582@hactar.digimed.co.uk>
2006-07-17 20:34 ` Dale
2006-07-17 21:00 ` Neil Bothwick
2006-07-18 11:01 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox