Struggling to remove package.

2009-04-17 Thread Brent Clark

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.

Kind Regards
Brent Clark

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Struggling to remove package.

2009-04-17 Thread Michael Powell
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



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Struggling to remove package.

2009-04-17 Thread Kent Stewart
On Friday 17 April 2009 04:50:22 am 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.

If you used the port, it is p5-IO-stringy-2.110. However, if you added it 
outside of the port system, I think you are own your own.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Struggling to remove package.

2009-04-17 Thread Mel Flynn
On Friday 17 April 2009 20:34:14 Kent Stewart wrote:
 On Friday 17 April 2009 04:50:22 am 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

No @cwd in +CONTENTS. You may be able fix this by simply adding the correct 
installation prefix to the +CONTENTS file. But there may be other problems.

Please post the /var/db/pkg/bsdpan-IO-stringy-2.110/+CONTENTS file, so we can 
inspect it and possibly fix your issues.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org