From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 16:28:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80DD81065673 for ; Fri, 17 Apr 2009 16:28:37 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E2E908FC15 for ; Fri, 17 Apr 2009 16:28:36 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Luqvb-0005wF-Ql for freebsd-questions@freebsd.org; Fri, 17 Apr 2009 16:28:35 +0000 Received: from pool-70-21-17-13.res.east.verizon.net ([70.21.17.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Apr 2009 16:28:35 +0000 Received: from nightrecon by pool-70-21-17-13.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Apr 2009 16:28:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 17 Apr 2009 12:29:20 -0400 Lines: 61 Message-ID: References: <49E86CFE.6060408@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-17-13.res.east.verizon.net User-Agent: KNode/0.99.01 Sender: news Subject: Re: Struggling to remove package. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 16:28:37 -0000 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