Gentoo Archives: gentoo-dev

From: Geert Bevin <gbevin@×××××××.be>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] little function to delete packages ...
Date: Tue, 05 Feb 2002 08:19:17
Message-Id: 1012919042.1241.2.camel@willow.theleaf.office
In Reply to: [gentoo-dev] little function to delete packages ... by Juergen Ilse
1 Hi,
2
3 you could also have used 'emerge --unmerge' which support dependency
4 matching allowing you to for example unmerge every application lower
5 than a certain version. It also defaults to not erase the latest version
6 of an application, but letting you have a working version on your system
7 at all times. Read 'emerge --help' for exact details.
8
9 Best regards,
10
11 Geert Bevin
12
13 On Tue, 2002-02-05 at 15:09, Juergen Ilse wrote:
14 > Hello,
15 >
16 > After "rsyncing" und "updating" my system, i wanted to delete old and
17 > unnecessary packages. "ebuild" needs the complete filename of the file
18 > in /var/db/pkg/*/*/*.ebuild to delete the package. I had to type the
19 > full path every time, i wanted to delete an old version of a package ...
20 > So i made a little shell-function (and placed it in roots .bashrc):
21 --
22 Geert Bevin
23 the Leaf sprl/bvba
24 "Use what you need" Pierre Theunisstraat 1/47
25 http://www.theleaf.be 1030 Brussels
26 gbevin@×××××××.be Tel & Fax +32 2 241 19 98