Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do you remove packages made with --buildpkg?
Date: Mon, 08 Aug 2005 19:29:03
Message-Id: 20050808201840.51722f63@hactar.digimed.co.uk
In Reply to: [gentoo-user] How do you remove packages made with --buildpkg? by Matt Randolph
1 On Mon, 08 Aug 2005 13:59:26 -0400, Matt Randolph wrote:
2
3 > How the heck do you remove the old built binaries? They aren't simply
4 > put in '${PKGDIR}/All' like the manual says. There are a bunch of
5 > places that the different pieces go. A bunch of symlinks and new
6 > directories are created too, IIRC.
7
8 The packages go in ${PKGDIR}/All, the rest are just symlinks. Remove the
9 packages from All then delete the dangling symlinks with
10
11 symlinks -dr ${PKGDIR}
12
13 emerge symlinks if you don't already have it.
14
15 Or you can do it automatically with
16
17 qpkg -I -nc -v | while read p; do
18 touch --no-create $PKGDIR/$p.tbz2
19 touch --no-create $PKGDIR/All/$(basename $p).tbz2
20 done
21 find $PKGDIR ! -mtime +1 -exec rm "{}" \;
22
23
24 --
25 Neil Bothwick
26
27 Why do Kennedy's cry after sex? ..... Mace!

Replies

Subject Author
Re: [gentoo-user] How do you remove packages made with --buildpkg? Matt Randolph <mattr@×××××.com>