Perl upgrade question
Robert Huff
roberthuff at rcn.com
Thu Jan 15 13:34:09 PST 2009
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
What's a .pod?
Robert Huff
More information about the freebsd-ports
mailing list