Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cleaning up perl
Date: Sun, 09 Sep 2007 07:48:37
Message-Id: 200709090936.00783.dirk.heinrichs@online.de
In Reply to: Re: [gentoo-user] Cleaning up perl by Kevin O'Gorman
1 Am Samstag, 8. September 2007 schrieb Kevin O'Gorman:
2 > On 9/8/07, Dirk Heinrichs <dirk.heinrichs@××××××.de> wrote:
3 > > Am Samstag, 8. September 2007 schrieb Kevin O'Gorman:
4 > > > Unfortunately, while it tries to do a number of things, they all fail
5 > > > in the same way: a problem with Errno.pm.
6 > > > I guess using perl to clean up perl is not all that robust in this
7 > > > case.
8 > >
9 > > I still prefer good old cpan over gentoo' g-cpan to mainatain perl
10 > > modules.
11 > >
12 > > Before upgrading perl, fire up cpan, create a bundle file of all your
13 > > installed modules using the autobundle command and after the upgrade,
14 > > start
15 > > cpan again and run "install Bundle::Snapshot-<date>".
16 > >
17 > > I also use it to keep installed perl modules uptodate. Just use the
18 > > "upgrade"
19 > > command in cpan.
20 > >
21 > > If you did this, you can simply remove the old 5.8.x directories.
22 >
23 > It's too late for me now to do any of that.
24
25 No, not really. You only need perl to run cpan.
26
27 > I can build perl, but I cannot run perl-cleaner.
28
29 You don't need to. Remove the old 5.8.x directories and install the modules
30 you had installed there again (if needed), using cpan this time. You can find
31 out which packages were installed by searching for files named ".packlist".
32 Each directory which contains such a file corresponds to one perl module.
33
34 Eventually re-emerge perl after removal of the old directories. This should
35 clean up your perl installation.
36
37 HTH...
38
39 Dirk

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Cleaning up perl Kevin O'Gorman <kogorman@×××××.com>