public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mariusz Pękala" <skoot@qi.pl>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] system update
Date: Fri, 15 Jul 2005 10:08:49 +0200	[thread overview]
Message-ID: <20050715080849.GB9849@lisa.tutaj> (raw)
In-Reply-To: <1121384805.14354.12.camel@capella.catmur.co.uk>

[-- 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 --]

  reply	other threads:[~2005-07-15  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-07-15 12:52     ` Qv6
2005-07-15 15:18     ` Antonino Sabetta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050715080849.GB9849@lisa.tutaj \
    --to=skoot@qi.pl \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox