From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E2DJ1-00068r-J4 for garchives@archives.gentoo.org; Mon, 08 Aug 2005 19:29:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78JR0Yi006199; Mon, 8 Aug 2005 19:27:00 GMT Received: from pythagoras.zen.co.uk (pythagoras.zen.co.uk [212.23.3.140]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j78JIL8E001190 for ; Mon, 8 Aug 2005 19:18:22 GMT Received: from [82.69.83.178] (helo=desiato.digimed.co.uk) by pythagoras.zen.co.uk with esmtp (Exim 4.30) id 1E2D91-0003bg-LO for gentoo-user@lists.gentoo.org; Mon, 08 Aug 2005 19:18:43 +0000 Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.2]) by desiato.digimed.co.uk (Postfix) with ESMTP id EA08D1405F4E for ; Mon, 8 Aug 2005 20:18:40 +0100 (BST) Date: Mon, 8 Aug 2005 20:18:40 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How do you remove packages made with --buildpkg? Message-ID: <20050808201840.51722f63@hactar.digimed.co.uk> In-Reply-To: <42F79D7E.3000100@erols.com> References: <42F79D7E.3000100@erols.com> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.8; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Signature_Mon__8_Aug_2005_20_18_40_+0100_7aTDsRkM//F54DWC"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Originating-Pythagoras-IP: [82.69.83.178] X-Archives-Salt: 75b18e5d-9838-4c67-aeac-3455d14075e5 X-Archives-Hash: 2473ed313f8e32f7555be88a95d36945 --Signature_Mon__8_Aug_2005_20_18_40_+0100_7aTDsRkM//F54DWC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 08 Aug 2005 13:59:26 -0400, Matt Randolph wrote: > How the heck do you remove the old built binaries? They aren't simply=20 > put in '${PKGDIR}/All' like the manual says. There are a bunch of=20 > places that the different pieces go. A bunch of symlinks and new=20 > directories are created too, IIRC.=20 The packages go in ${PKGDIR}/All, the rest are just symlinks. Remove the packages from All then delete the dangling symlinks with=20 symlinks -dr ${PKGDIR} emerge symlinks if you don't already have it. Or you can do it automatically with=20 qpkg -I -nc -v | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done find $PKGDIR ! -mtime +1 -exec rm "{}" \; =20 --=20 Neil Bothwick Why do Kennedy's cry after sex? ..... Mace! --Signature_Mon__8_Aug_2005_20_18_40_+0100_7aTDsRkM//F54DWC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFC97AQum4al0N1GQMRAhHZAJ4pJhzsgtn1Ikk8pYjjw/FznkejOgCgsyeH KApfg3tXGsAHg5CI5/W91l8= =6jo5 -----END PGP SIGNATURE----- --Signature_Mon__8_Aug_2005_20_18_40_+0100_7aTDsRkM//F54DWC-- -- gentoo-user@gentoo.org mailing list