From owner-freebsd-questions Mon Jan 20 6:35:32 2003 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 7C27137B401 for ; Mon, 20 Jan 2003 06:35:30 -0800 (PST) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D611A43E4A for ; Mon, 20 Jan 2003 06:35:29 -0800 (PST) (envelope-from jeff@jrpenn.demon.co.uk) Received: from jrpenn.demon.co.uk ([194.222.241.254]) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 18ad1L-00006x-0Z for freebsd-questions@freebsd.org; Mon, 20 Jan 2003 14:35:27 +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 h0KEa9Sx065890 for ; Mon, 20 Jan 2003 14:36:10 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 h0KEa1Q4065884 for freebsd-questions@freebsd.org; Mon, 20 Jan 2003 14:36:01 GMT Date: Mon, 20 Jan 2003 14:36:01 +0000 From: Jeff Penn To: freebsd-questions@freebsd.org Subject: linux_base upgrade problem Message-ID: <20030120143601.GB65773@jrpenn.demon.co.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having problems upgrading to linux_base-7.1_2 using portupgrade -rRa with the package (pkgtools.conf USE_PKG_ONLY[]). 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-questions" in the body of the message