Perl upgrade question
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Jan 15 14:33:48 PST 2009
Dominic Fandrey wrote:
> Robert Huff wrote:
>> Dominic Fandrey writes:
>>
>>> >> For portupgrade:
>>> >> # find /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8 -type f -exec pkg_info -W \{} \; | grep -Eo '[^ ]+$' | sort -u | xargs -o portupgrade -f
>>> >>
>>> >> Afterwards there shouldn't be anything left belonging to a package.
>>> >
>>> > Once I have done this - and it appears to run successfully - is
>>> > it safe to delete the 5.8.8 directories?
>>>
>>> You should first check what is left there. There might be a
>>> whatis file and a couple of empty directories. In that case it's
>>> safe to delete the stuff. If there's any more there, it depends
>>> on your own judgement, or ask someone about it.
>> huff at jerusalem>> pwd
>> /usr/local/lib/perl5/5.8.8
>> huff at jerusalem>> find . -type f
>> ./perl/man/whatis
>> ./mach/perllocal.pod
>> ./man/whatis
>
> No idea, but it's obviously something left behind by a port with an
> incomplete plist. I think it's safe to delete that.
.pod is 'plain ordinary documentation' or some such. perllocal.pod is
generated when you install ports from CPAN rather than through the ports
system -- it's officially a record of what add-on perl modules you've
installed -- superfluous when you're using the ports as it already has
mechanisms to track that sort of thing. It doesn't belong to any particular
module and it's generally safe to delete.
> Don't forget to check /usr/local/lib/perl5/site_perl/5.8.8 as well.
Heh. site_perl is a more important place to check than anywhere else.
site_perl is where you are going to find any stray files that exist
as that's where all the add-on modules should be installed to.
/usr/local/lib/perl5/5.8.8/ is for the stuff bundled with perl as
the standard modules.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090115/ce56007b/signature.pgp
More information about the freebsd-ports
mailing list