From owner-freebsd-ports Mon Jan 20 13:38:45 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98D1D37B401 for ; Mon, 20 Jan 2003 13:38:43 -0800 (PST) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC85843E4A for ; Mon, 20 Jan 2003 13:38:42 -0800 (PST) (envelope-from jeff@jrpenn.demon.co.uk) Received: from jrpenn.demon.co.uk ([194.222.241.254]) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 18ajcu-0007Mi-0U for ports@freebsd.org; Mon, 20 Jan 2003 21:38:41 +0000 Received: from jrpenn.demon.co.uk (localhost [127.0.0.1]) by jrpenn.demon.co.uk (8.12.6/8.12.6) with ESMTP id h0KLdPSx068728 for ; Mon, 20 Jan 2003 21:39:26 GMT (envelope-from jeff@jrpenn.demon.co.uk) Received: (from jeff@localhost) by jrpenn.demon.co.uk (8.12.6/8.12.6/Submit) id h0KLdJS5068727 for ports@freebsd.org; Mon, 20 Jan 2003 21:39:19 GMT Date: Mon, 20 Jan 2003 21:39:19 +0000 From: Jeff Penn To: ports@freebsd.org Subject: Re: linux_base-7.2_1.tgz upgrade problem Message-ID: <20030120213919.GA68703@jrpenn.demon.co.uk> References: <20030120143601.GB65773@jrpenn.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120143601.GB65773@jrpenn.demon.co.uk> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jan 20, 2003 at 02:36:01PM +0000, Jeff Penn wrote: # $FreeBSD: ports/emulators/linux_base/Makefile,v 1.70 2002/12/03 06:45:56 marcel Exp $ I'm having problems upgrading to linux_base-7.1_2 using portupgrade -rRa with the package. I had similar problems with the last upgrade, which I solved by removing all the ports with a dependency on linux_base before upgrading. This time when the upgrade failed I ran pkgdb -F, removing dependencies for linux_base without understanding too much of what was going wrong. pkg_info shows that linux_base is no longer installed. In a attempt at fixing the problem I deinstalled 3 ports that I believe depend on linux_base (since 'pkg_info -R linux_base\*' no longer shows any dependencies): acroread4, linux-openmotif But I still have 3 files hanging around: /compat/linux/usr/X11R6/lib: libMrm.so.2 libUil.so.2 libXm.so.2 Moving these files out the way had no effect. I noticed that the packages +INSTALL script did not have execute permissions. I re-packaged the tarball with the correct permissions, but still no joy. # portinstall -vf linux_base ---> Session started at: Mon, 20 Jan 2003 13:59:56 +0000 ---> 2 ports match the given pattern 'linux_base': emulators/linux_base emulators/linux_base-6 Install 'emulators/linux_base'? [yes] Install 'emulators/linux_base-6'? [yes] no ---> Fresh installation of emulators/linux_base started at: Mon, 20 Jan 2003 14:00:11 +0000 ** The port 'emulators/linux_base' is held by user. ---> Forced by user ---> Checking the availability of the latest package of 'emulators/linux_base' ---> Found a package of 'emulators/linux_base': /usr/ports/packages/All/linux_base-7.1_2.tgz ---> Installing 'linux_base-7.1_2' from a package ---> Installation of linux_base-7.1_2 started at: Mon, 20 Jan 2003 14:00:16 +0000 ---> Installing the new version via the package ./+INSTALL: permission denied pkg_add: install script returned error status ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall64871.0 /usr/sbin/pkg_add -f linux_base-7.1_2 ** Fix the package's problem and try again. ---> Installation of linux_base-7.1_2 ended at: Mon, 20 Jan 2003 14:00:41 +0000 (consumed 00:00:25) ---> Fresh installation of emulators/linux_base ended at: Mon, 20 Jan 2003 14:00:41 +0000 (consumed 00:00:30) ---> Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed) ! emulators/linux_base (pkg_add failed) ---> Session ended at: Mon, 20 Jan 2003 14:00:41 +0000 (consumed 00:00:44) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message