* [gentoo-user] system update
@ 2005-07-14 22:58 Qv6
2005-07-14 23:46 ` Edward Catmur
0 siblings, 1 reply; 5+ messages in thread
From: Qv6 @ 2005-07-14 22:58 UTC (permalink / raw
To: gentoo-user
Folks,
I'm trying to update my system with this command:
emerge world -Dup
and got this type of output:
<snip>
...
[ebuild NS ] kde-base/kdebase-3.4.0
[ebuild NS ] kde-base/kdeartwork-3.4.0
[ebuild NS ] kde-base/kdegames-3.4.0
...
<snip>
I am currently running kde-3.3, and do not want to have both 3.3 and 3.4
on the box. How can I update kde or any other app and not have the old
version still installed.
TIA,
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system update
2005-07-14 22:58 [gentoo-user] system update Qv6
@ 2005-07-14 23:46 ` Edward Catmur
2005-07-15 8:08 ` Mariusz Pękala
0 siblings, 1 reply; 5+ messages in thread
From: Edward Catmur @ 2005-07-14 23:46 UTC (permalink / raw
To: gentoo-user
On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote:
> I am currently running kde-3.3, and do not want to have both 3.3 and 3.4
> on the box. How can I update kde or any other app and not have the old
> version still installed.
Update kde as usual, then
# emerge -av --depclean
Make sure that portage doesn't offer to remove packages you want to keep
installed! Also a good idea to run revdep-rebuild afterwards.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system update
2005-07-14 23:46 ` Edward Catmur
@ 2005-07-15 8:08 ` Mariusz Pękala
2005-07-15 12:52 ` Qv6
2005-07-15 15:18 ` Antonino Sabetta
0 siblings, 2 replies; 5+ messages in thread
From: Mariusz Pękala @ 2005-07-15 8:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1651 bytes --]
On 2005-07-15 00:46:45 +0100 (Fri, Jul), Edward Catmur wrote:
> On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote:
> > I am currently running kde-3.3, and do not want to have both 3.3 and 3.4
> > on the box. How can I update kde or any other app and not have the old
> > version still installed.
>
> Update kde as usual, then
>
> # emerge -av --depclean
>
> Make sure that portage doesn't offer to remove packages you want to keep
> installed! Also a good idea to run revdep-rebuild afterwards.
As this version of kde is slotted I believe that after your compilation
finishes, and you find the new KDE in working state, you should:
emerge prune kde
emerge -va prune arts
and then run emerge -av --depclean
After depclean there will be a few leftovers from kde if I recall well.
You may find them looking at /usr/kde/3.3/ and finding packages that own
files left there.
qpkg -f /usr/kde/3.3/some-file
emerge -va prune the-package-found-if-it-is-part-of-kde
Some files will not belong to any package, you may delete them, some
packages will have to be rebuild to use the new KDE version and leave
the old - dev-db/knoda in my case...
Surely you may cook a nice script that will find and clear the KDE
leftovers in more hackish way, but it was very hot the day I was doing
this and my brain cooling system was not working properly... :-)
Remember to run revdep-rebuild -p after you remove some packages. It may
help you to find ones that need to be unmerged, and it is anyway a good
habit to run it.
HTH.
--
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system update
2005-07-15 8:08 ` Mariusz Pękala
@ 2005-07-15 12:52 ` Qv6
2005-07-15 15:18 ` Antonino Sabetta
1 sibling, 0 replies; 5+ messages in thread
From: Qv6 @ 2005-07-15 12:52 UTC (permalink / raw
To: gentoo-user
Thanks
On Friday 15 July 2005 03:08 am, Mariusz Pękala wrote:
> On 2005-07-15 00:46:45 +0100 (Fri, Jul), Edward Catmur wrote:
> > On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote:
> > > I am currently running kde-3.3, and do not want to have both 3.3
> > > and 3.4 on the box. How can I update kde or any other app and not
> > > have the old version still installed.
> >
> > Update kde as usual, then
> >
> > # emerge -av --depclean
> >
> > Make sure that portage doesn't offer to remove packages you want to
> > keep installed! Also a good idea to run revdep-rebuild afterwards.
>
> As this version of kde is slotted I believe that after your
> compilation finishes, and you find the new KDE in working state, you
> should:
>
> emerge prune kde
> emerge -va prune arts
>
> and then run emerge -av --depclean
>
> After depclean there will be a few leftovers from kde if I recall
> well. You may find them looking at /usr/kde/3.3/ and finding packages
> that own files left there.
>
> qpkg -f /usr/kde/3.3/some-file
> emerge -va prune the-package-found-if-it-is-part-of-kde
>
> Some files will not belong to any package, you may delete them, some
> packages will have to be rebuild to use the new KDE version and leave
> the old - dev-db/knoda in my case...
>
> Surely you may cook a nice script that will find and clear the KDE
> leftovers in more hackish way, but it was very hot the day I was
> doing this and my brain cooling system was not working properly...
> :-)
>
> Remember to run revdep-rebuild -p after you remove some packages. It
> may help you to find ones that need to be unmerged, and it is anyway
> a good habit to run it.
>
> HTH.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] system update
2005-07-15 8:08 ` Mariusz Pękala
2005-07-15 12:52 ` Qv6
@ 2005-07-15 15:18 ` Antonino Sabetta
1 sibling, 0 replies; 5+ messages in thread
From: Antonino Sabetta @ 2005-07-15 15:18 UTC (permalink / raw
To: gentoo-user
> qpkg -f /usr/kde/3.3/some-file
> emerge -va prune the-package-found-if-it-is-part-of-kde
Thanks for this very useful hint! I have managed to free a lot
of precious disk space!!
I did it in a semi-automated way:
# emerge -p prune > prune-list.txt
then I edited the file, leaving only the rows with packages
I really wanted to prune (for instance I wouldn't prune old
kernels)
# vi prune-list.txt
and then:
for i in `cat prune-list.txt`; do emerge -v prune $i ; done
Cheers,
AS
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-15 15:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 22:58 [gentoo-user] system update Qv6
2005-07-14 23:46 ` Edward Catmur
2005-07-15 8:08 ` Mariusz Pękala
2005-07-15 12:52 ` Qv6
2005-07-15 15:18 ` Antonino Sabetta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox