From: Matt Randolph <mattr@erols.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] How do you remove packages made with --buildpkg?
Date: Mon, 08 Aug 2005 13:59:26 -0400 [thread overview]
Message-ID: <42F79D7E.3000100@erols.com> (raw)
First off, let me say that I know perfectly well that you can `emerge -C
package_name` at any time. That's not what I'm talking about. What I
want to do is to remove the built binary too.
Let me explain what I do and what I'm trying to do in more detail...
Sometimes, I like to be able to test several different ~arch versions of
a package to see which one works best for me. I may try switching back
and forth between several different versions, possibly deciding
ultimately that none of the ~arch versions are any improvement over the
previously installed arch version, and so I re-emerge the old one.
If the program in question is rather large, I won't want to build it any
more times than I have to. Consequently, I use quickpkg on the
original, and then --buildpkg on all of the testing versions. This way,
I only have to compile each package once, yet I can switch back and
forth between them in mere seconds.
The problem with this scheme is that the built binaries aren't removed
when you unmerge the corresponding package. Actually, if they were,
then this technique wouldn't work at all. I have a very small hard
drive so I can't afford to have these unneeded binaries cluttering up
the disk. I have to get rid of them somehow.
How the heck do you remove the old built binaries? They aren't simply
put in '${PKGDIR}/All' like the manual says. There are a bunch of
places that the different pieces go. A bunch of symlinks and new
directories are created too, IIRC. It is a nuisance to remove
everything by hand. I wrote a script to do some of the legwork for me,
but it's time consuming and requires a lot of user intervention.
Isn't there a tool to remove these old binaries? Is there a command you
pass to emerge? I assume there's something really trivial and obvious
that I've simply missed, but I'm getting tired of searching for it.
Thanks!
--
"Pluralitas non est ponenda sine necessitate" - W. of O.
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2005-08-08 18:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-08 17:59 Matt Randolph [this message]
2005-08-08 19:18 ` [gentoo-user] How do you remove packages made with --buildpkg? Neil Bothwick
2005-08-08 21:37 ` Matt Randolph
2005-08-08 22:24 ` Neil Bothwick
2005-08-08 23:51 ` Matt Randolph
2005-08-08 22:24 ` Matt Randolph
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=42F79D7E.3000100@erols.com \
--to=mattr@erols.com \
--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