Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 21:39:19 +0000
From:      Jeff Penn <jeff@jrpenn.demon.co.uk>
To:        ports@freebsd.org
Subject:   Re: linux_base-7.2_1.tgz upgrade problem
Message-ID:  <20030120213919.GA68703@jrpenn.demon.co.uk>
In-Reply-To: <20030120143601.GB65773@jrpenn.demon.co.uk>
References:  <20030120143601.GB65773@jrpenn.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030120213919.GA68703>