Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] cruft after perl-cleaner --all

26 views
Skip to first unread message

Allan Gottlieb

unread,
Oct 23, 2010, 12:20:02 PM10/23/10
to
perl-cleaner could not deal with

/usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
/usr/lib/perl5/5.8.8/i686-linux/Encode/ConfigLocal.pm

I ran
equery belongs
and neither turned up.

Should I just copy them away and remove them in a week if nothing turns
up or are they known to be "needed cruft".

thanks,
allan

Daniel Pielmeier

unread,
Oct 23, 2010, 1:30:02 PM10/23/10
to
Allan Gottlieb schrieb am 23.10.2010 18:13:
> perl-cleaner could not deal with
>
> /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
> /usr/lib/perl5/5.8.8/i686-linux/Encode/ConfigLocal.pm
>
> I ran
> equery belongs
> and neither turned up.
>

It is cruft! Some leftovers from perl-5.8.8. There should be new ones in
the corresponding locations for perl-5.12.2 after upgrading and running
perl-cleaner.

/usr/lib/perl5/vendor_perl/5.12.2/XML/SAX/ParserDetails.ini
/usr/lib/perl5/5.12.2/i686-linux/Encode/ConfigLocal.pm

After the switch to a new perl version and successful run of
perl-cleaner it should be safe to remove everything below /usr/lib/perl5
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl for older perl
installations, except stuff belonging to packages which were not
installed by the package manager or have been altered manually.

--
Daniel Pielmeier

signature.asc

Allan Gottlieb

unread,
Oct 23, 2010, 3:30:01 PM10/23/10
to
Daniel Pielmeier <bil...@gentoo.org> writes:

> Allan Gottlieb schrieb am 23.10.2010 18:13:
>> perl-cleaner could not deal with
>>
>> /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
>> /usr/lib/perl5/5.8.8/i686-linux/Encode/ConfigLocal.pm
>>
>> I ran
>> equery belongs
>> and neither turned up.
>>
>
> It is cruft! Some leftovers from perl-5.8.8. There should be new ones in
> the corresponding locations for perl-5.12.2 after upgrading and running
> perl-cleaner.

Indeed there were.

> /usr/lib/perl5/vendor_perl/5.12.2/XML/SAX/ParserDetails.ini
> /usr/lib/perl5/5.12.2/i686-linux/Encode/ConfigLocal.pm
>
> After the switch to a new perl version and successful run of
> perl-cleaner it should be safe to remove everything below /usr/lib/perl5
> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl for older perl
> installations, except stuff belonging to packages which were not
> installed by the package manager or have been altered manually.

Thank you
allan

Dale

unread,
Oct 23, 2010, 7:40:01 PM10/23/10
to

Yep. I had one file left over that it printed out to. I ran equery b
file/name to see if it belonged to anything and it didn't. A little rm
did the trick.

Is there a way to find "cruft"? Some script or something? My install
is pretty old and I would guess there are a few left over files here and
there.

Dale

:-) :-)

Neil Bothwick

unread,
Oct 24, 2010, 11:50:02 AM10/24/10
to
On Sat, 23 Oct 2010 18:30:38 -0500, Dale wrote:

> Is there a way to find "cruft"? Some script or something? My install
> is pretty old and I would guess there are a few left over files here
> and there.

Emerge portage-utils and run qfile with the --orphans option. The man
page gives examples of how to use it.


--
Neil Bothwick

Bus: (n.) a connector you plug money into, something like a slot machine.

signature.asc

Dale

unread,
Oct 24, 2010, 2:10:03 PM10/24/10
to
Neil Bothwick wrote:
> On Sat, 23 Oct 2010 18:30:38 -0500, Dale wrote:
>
>
>> Is there a way to find "cruft"? Some script or something? My install
>> is pretty old and I would guess there are a few left over files here
>> and there.
>>
> Emerge portage-utils and run qfile with the --orphans option. The man
> page gives examples of how to use it.
>
>
>

I tried like the man page says but it only found one file that was
orphaned. Either portage does a exceptional job or I'm not doing
something right. lol

Dale

:-) :-)

0 new messages