From owner-freebsd-questions@FreeBSD.ORG Tue May 6 14:25:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D7E437B404 for ; Tue, 6 May 2003 14:25:23 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9692643F85 for ; Tue, 6 May 2003 14:25:22 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h46LO4NY001358; Tue, 6 May 2003 16:24:04 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h46LO3s7001353; Tue, 6 May 2003 16:24:03 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Tue, 6 May 2003 16:24:03 -0500 (CDT) From: Eduardo Viruena Silva To: Thomas Dwyer In-Reply-To: <000801c3140d$6c968500$020010ac@protechnologies> Message-ID: <20030506162315.A98293@Gina.esfm.ipn.mx> References: <000801c3140d$6c968500$020010ac@protechnologies> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Error with PKG_INSTALL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 21:25:23 -0000 On Tue, 6 May 2003, Thomas Dwyer wrote: > Hello > > I was happily using FreeBSD 4.6 Stable. I had successfully installed several ports and downloaded .tar(s) without any problems. > > I recently ran cvsup with src-all in the supfile and upgraded to FreeBSD 4.8-STABLE. > > I did the proper steps to upgrade .. > make buildworld > make buildkernel ... > make installkernel ... > make installworld mergemaster you did not make mergemaster!! > > I updated my ports to the latest versions as well using cvsup. > > Now whenever I try to install any ports package I get the following error: > > pkg_create: only one package name allowed ('interface' extraneous) > usage: pkg_create [-YNOhvy] [-P pkgs] [-p prefix] [-f contents] [-i iscript] > [-I piscript] [-k dscript] [-K pdscript] [-r rscript] > [-t template] [-X excludefile] [-D displayfile] > [-m mtreefile] [-o origin] -c comment -d description > -f packlist pkg-filename > pkg_create [-YNhvy] -b pkg-name [pkg-filename] > *** Error code 1 > > Stop in /usr/ports/security/p5-Authen-PAM. > > Looking at the Makefile: > PORTNAME= Authen-PAM > PORTVERSION= 0.14 > CATEGORIES= security perl5 > MASTER_SITES= ${MASTER_SITE_PERL_CPAN} > MASTER_SITE_SUBDIR= Authen > PKGNAMEPREFIX= p5- > MAINTAINER= des@FreeBSD.org > COMMENT= A Perl interface to the PAM library > PERL_CONFIGURE= yes > CONFIGURE_ARGS= -DPAM_STRERROR_NEEDS_PAMH > MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} > MAN3= Authen::FAQ.3 \ > Authen::PAM.3 > .include > > The "interface" comes from the COMMENT= line. Note that this error happens no matter what port I try to install. > > When I try to: make deinstall > I get this error: > ===> Deinstalling for p5-Authen-PAM-0.14 > pkg_delete: package 'p5-Authen-PAM-0.14' doesn't have a prefix > *** Error code 1 > > Stop in /usr/ports/security/p5-Authen-PAM. > > Again this error is the same for all ports. > > When I try to do pkg_info: > nexus# pkg_info p5-Authen-PAM-0.14 > Information for p5-Authen-PAM-0.14: > > Comment: > ERROR: show_file: Can't open '+COMMENT' for reading! > > Description: > ERROR: show_file: Can't open '+DESC' for reading! > > I tried to remake and reinstall the pkg_install located in /usr/src/usr.sbin/pkg_install but that had no effect. > > Has something drastic changed in 4.8, or am I missing something major? > > Please help. > Tom > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | |