From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] Re: Following the kde4.1 upgrade guide
Date: Tue, 28 Oct 2008 05:42:11 +0000 (UTC) [thread overview]
Message-ID: <pan.2008.10.28.05.42.11@cox.net> (raw)
In-Reply-To: 4906004B.4030707@ercbroadband.org
"Mark Haney" <mhaney@ercbroadband.org> posted
4906004B.4030707@ercbroadband.org, excerpted below, on Mon, 27 Oct 2008
13:54:19 -0400:
> I'm finally to the point that I'm read yo move to KDE4.1.2 now, but I'm
> missing something I think.
>
> Using the KDE4.1 guide, I try to unmerge the KDE4.1.1 packages using
> sets (as the guide states to do if you're using the kdesvn-portage
> overlay), but it doesn't work. I apparently don't have any sets when I
> setup the overlay?
>
> I've upgraded portage so I know it's a version that supports sets, but
> for some reason it's not working.
>
> Ideas?
Well, first off as all the kdesvn and earlier kde-4 packages were masked
and you had to unmask them for installation, it should be a simple matter
of deleting all those package.unmask entries you added to unmask them,
running emerge --update, and portage should take care of the details on
its own. Of course, don't forget the --depclean and revdep-rebuild steps
afterward, cleaning up the loose ends. Given the flexibility of portage,
there are several other ways to do it, some of which are listed below,
but this might be the simplest, particularly since you should really do
it anyway, thus cleaning up your portage config after your testing.
As for the other ways...
Note that the upgrade guide mentions sets (under installation in the
guide) , providing a link to the overlay versions, since the sets
themselves aren't in the tree yet. There's a kde-4 set, listing all
kde-4 packages complete with :kde-4 slot specifiers.
If you were using the kde-4 slot, removal should be a simple as pointing
emerge --unmerge at that set.
It's the "raw" link if you're downloading from the git tree, or unpack
the tarball somewhere, browse it if desired, and point portage at it.
Note that the default sets directory is /etc/portage/sets. You can
unpack the tarball there if desired (I did), but you may also find that
too cluttered, and unpack it elsewhere and either point portage at your
chosen location specifically or copy/move specific sets as needed to the
default location, thus avoiding the clutter and confusion of all those
extra sets you may not use.
If you were using the kdesvn slot or something else, you should be able
to do the same, only use your favorite text editor to search-and-replace
all the ":kde-4" slot specifiers with the appropriate slot as necessary.
As the upgrade guide mentions, don't forget --depclean. Of course,
that'll be much simpler and less prone to error if you've maintained a
clean install all along. (Of course, don't forget --ask or --pretend
before actually doing it, either, but that should be habit, by now, and
should go without saying.)
If you used kde-prefix or packages from before that USE flag was
introduced, you can also try the unmerge example using qfile.
Alternatively you can use equery belongs /usr/kde/%PREFIX%
(replace %PREFIX% as necessary) to get a list of packages using that
directory, and unmerge all of them.
If you don't have kde-3 merged, or do but don't care if it gets unmerged,
you can also use the generic kde sets from the location above, and/or use
emerge --pretend --emptytree | grep kde > kdepkg.lst to get a list, edit
that file to format it correctly for feeding back to emerge, then use
that as an unmerge list. I've done the emptytree grep thing (using cut
and etc to trim it down further as well) myself a few times on various
things. When the packages weren't masked and before sets, it was at
times necessary to do something like that, particularly with slotted
split package projects like kde-3. The proper use of sets should
dramatically ease the problem in the future. =:^)
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2008-10-28 5:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 17:54 [gentoo-amd64] Following the kde4.1 upgrade guide Mark Haney
2008-10-28 5:42 ` Duncan [this message]
2008-10-28 14:20 ` [gentoo-amd64] " Mark Haney
2008-10-28 23:15 ` Duncan
2008-10-29 12:18 ` Mark Haney
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=pan.2008.10.28.05.42.11@cox.net \
--to=1i5t5.duncan@cox.net \
--cc=gentoo-amd64@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