public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How do you remove packages made with --buildpkg?
@ 2005-08-08 17:59 Matt Randolph
  2005-08-08 19:18 ` Neil Bothwick
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Randolph @ 2005-08-08 17:59 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-08 23:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 17:59 [gentoo-user] How do you remove packages made with --buildpkg? Matt Randolph
2005-08-08 19:18 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox