public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cruft after perl-cleaner --all
@ 2010-10-23 16:13 Allan Gottlieb
  2010-10-23 17:25 ` Daniel Pielmeier
  0 siblings, 1 reply; 6+ messages in thread
From: Allan Gottlieb @ 2010-10-23 16:13 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cruft after perl-cleaner --all
  2010-10-23 16:13 [gentoo-user] cruft after perl-cleaner --all Allan Gottlieb
@ 2010-10-23 17:25 ` Daniel Pielmeier
  2010-10-23 19:18   ` Allan Gottlieb
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Pielmeier @ 2010-10-23 17:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cruft after perl-cleaner --all
  2010-10-23 17:25 ` Daniel Pielmeier
@ 2010-10-23 19:18   ` Allan Gottlieb
  2010-10-23 23:30     ` Dale
  0 siblings, 1 reply; 6+ messages in thread
From: Allan Gottlieb @ 2010-10-23 19:18 UTC (permalink / raw
  To: gentoo-user

Daniel Pielmeier <billie@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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cruft after perl-cleaner --all
  2010-10-23 19:18   ` Allan Gottlieb
@ 2010-10-23 23:30     ` Dale
  2010-10-24 15:38       ` Neil Bothwick
  0 siblings, 1 reply; 6+ messages in thread
From: Dale @ 2010-10-23 23:30 UTC (permalink / raw
  To: gentoo-user

Allan Gottlieb wrote:
> Daniel Pielmeier<billie@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
>
>    

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

:-)  :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cruft after perl-cleaner --all
  2010-10-23 23:30     ` Dale
@ 2010-10-24 15:38       ` Neil Bothwick
  2010-10-24 17:41         ` Dale
  0 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2010-10-24 15:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] cruft after perl-cleaner --all
  2010-10-24 15:38       ` Neil Bothwick
@ 2010-10-24 17:41         ` Dale
  0 siblings, 0 replies; 6+ messages in thread
From: Dale @ 2010-10-24 17:41 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-24 17:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-23 16:13 [gentoo-user] cruft after perl-cleaner --all Allan Gottlieb
2010-10-23 17:25 ` Daniel Pielmeier
2010-10-23 19:18   ` Allan Gottlieb
2010-10-23 23:30     ` Dale
2010-10-24 15:38       ` Neil Bothwick
2010-10-24 17:41         ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox