Struggling to remove package.
Michael Powell
nightrecon at verizon.net
Fri Apr 17 16:28:37 UTC 2009
Brent Clark wrote:
> Hiya
>
> I seem to be struggling with removing a perl bsdpan package.
>
> I tried:
>
> # pkg_delete bsdpan-IO-stringy-2.110
>
> But I get
>
> pkg_delete: package 'bsdpan-IO-stringy-2.110' doesn't have a prefix
>
> I even went to ~/.cpan/build/IO-stringy-2.110-SFns8F/ and ran
> # make uninstall
>
> and this is that I got.
>
> Uninstall is unsafe and deprecated, the uninstallation was not performed.
> We will show what would have been done.
>
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::AtomicFile.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::InnerFile.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Lines.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Scalar.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::ScalarArray.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Stringy.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Wrap.3
> unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::WrapTie.3
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/AtomicFile.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/InnerFile.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Lines.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Scalar.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/ScalarArray.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Stringy.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Wrap.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/WrapTie.pm
> unlink /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/IO/Stringy/.packlist
>
> Uninstall is unsafe and deprecated, the uninstallation was not performed.
> Please check the list above carefully, there may be errors.
> Remove the appropriate files manually.
> Sorry for the inconvenience.
>
> ------------------------------
>
> If anyone can assist, I would be most grateful.
>
In theory the ports system should allow you to delete it if it was installed
and registered properly. Maybe a shortcoming of this particular port.
This may be of interest:
http://opensourceexperiments.wordpress.com/2009/03/28/how-to-uninstall-a-
cpan-module/
-Mike
More information about the freebsd-questions
mailing list