From owner-freebsd-questions@FreeBSD.ORG Tue May 6 13:17:32 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 6448E37B401 for ; Tue, 6 May 2003 13:17:32 -0700 (PDT) Received: from fep2.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD81543FA3 for ; Tue, 6 May 2003 13:17:30 -0700 (PDT) (envelope-from tom@dwyers.ca) Received: from tom (d235-131-219.home1.cgocable.net [24.235.131.219]) by fep2.cogeco.net (Postfix) with SMTP id 8CCCB9C6 for ; Tue, 6 May 2003 16:17:29 -0400 (EDT) Message-ID: <000801c3140d$6c968500$020010ac@protechnologies> From: "Thomas Dwyer" To: Date: Tue, 6 May 2003 16:23:57 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 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 20:17:32 -0000 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 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=3D Authen-PAM PORTVERSION=3D 0.14 CATEGORIES=3D security perl5 MASTER_SITES=3D ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR=3D Authen PKGNAMEPREFIX=3D p5- MAINTAINER=3D des@FreeBSD.org COMMENT=3D A Perl interface to the PAM library PERL_CONFIGURE=3D yes CONFIGURE_ARGS=3D -DPAM_STRERROR_NEEDS_PAMH MAN3PREFIX=3D ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3=3D Authen::FAQ.3 \ Authen::PAM.3 .include The "interface" comes from the COMMENT=3D line. Note that this error = happens no matter what port I try to install. When I try to: make deinstall I get this error: =3D=3D=3D> 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