Gentoo Archives: gentoo-user

From: Matt Randolph <mattr@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do you remove packages made with --buildpkg?
Date: Mon, 08 Aug 2005 21:46:01
Message-Id: 42F7D082.6020408@erols.com
In Reply to: Re: [gentoo-user] How do you remove packages made with --buildpkg? by Neil Bothwick
1 Neil Bothwick wrote:
2
3 >Or you can do it automatically with
4 >
5 >qpkg -I -nc -v | while read p; do
6 > touch --no-create $PKGDIR/$p.tbz2
7 > touch --no-create $PKGDIR/All/$(basename $p).tbz2
8 > done
9 >find $PKGDIR ! -mtime +1 -exec rm "{}" \;
10 >
11 >
12
13 Since qpkg is being phased out, I guess the equery way to do this is:
14
15 equery -C l 2> /dev/null | grep / | while read p; do
16 touch --no-create $PKGDIR/$p.tbz2
17 touch --no-create $PKGDIR/All/$(basename $p).tbz2
18 done
19 find $PKGDIR ! -mtime +1 -exec rm "{}" \;
20
21 Right? qpkg is a lot faster, though.
22
23 --
24 "Pluralitas non est ponenda sine necessitate" - W. of O.
25
26 --
27 gentoo-user@g.o mailing list

Replies

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