Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 13:58:33 +0100 (CET)
From:      Michael Hohmuth <hohmuth@olymp.sax.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34114: portupgrade crashes
Message-ID:  <200201211258.g0LCwXb72607@olymp.sax.de>

next in thread | raw e-mail | index | archive | help

>Number:         34114
>Category:       ports
>Synopsis:       portupgrade crashes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 21 05:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael Hohmuth
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
private site
>Environment:
System: FreeBSD olymp.sax.de 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Mon Aug 13 17:18:37 CEST 2001 root@olymp.sax.de:/usr/src/sys/compile/OLYMP i386

FreeBSD-stable installation as of Aug 7, 2001.

portupgrade rev.1.160

>Description:
When upgrading a package using `portupgrade', the `portupgrade' tool
crashed.  See session script below.

root(hohmuth)@olymp:~# portupgrade -P xemacs-packages
--->  Checking the availability of the latest package of editors/xemacs-packages
--->  Fetching the package(s) for 'xemacs-packages-2.1' (editors/xemacs-packages)
--->  Fetching xemacs-packages-2.1.tgz
Receiving /var/tmp/xemacs-packages-2.1.tgz (20830735 bytes): 100%
20830735 bytes transferred in 246.8 seconds (82.42 kBps)
--->  Downloaded as xemacs-packages-2.1.tgz
--->  Identifying the package /usr/ports/packages/All/xemacs-packages-2.1.tgz
--->  Saved as /usr/ports/packages/All/xemacs-packages-2.1.tgz
--->  Upgrading 'xemacs-packages-1.10' to 'xemacs-packages-2.1' (editors/xemacs-packages) using a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'xemacs-packages-1.10'
pkg_delete: package `xemacs-packages-1.10' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
xemacs-21.1.14
pkg_delete: unable to completely remove directory '/usr/local/lib/xemacs/xemacs-packages/lisp/w3'
pkg_delete: unable to completely remove directory '/usr/local/lib/xemacs/xemacs-packages/lisp/net-utils'
pkg_delete: unable to completely remove directory '/usr/local/lib/xemacs/xemacs-packages/lisp/dired'
pkg_delete: unable to completely remove directory '/usr/local/lib/xemacs/xemacs-packages/lisp/apel'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[Updating the pkgdb in /var/db/pkg ... - 338 packages found (-1 +0) (...) done]
--->  Installing the new version via the package
/usr/local/sbin/portupgrade:1382:in `install_pkg': undefined local variable or method `origin' for #<Object:0x807bcd8> (NameError)
        from /usr/local/sbin/portupgrade:953:in `upgrade_pkg'
        from /usr/local/sbin/portupgrade:661:in `main'
        from /usr/local/sbin/portupgrade:609:in `each'
        from /usr/local/sbin/portupgrade:609:in `main'
        from /usr/local/sbin/portupgrade:186:in `initialize'
        from /usr/local/sbin/portupgrade:186:in `new'
        from /usr/local/sbin/portupgrade:186:in `main'
        from /usr/local/sbin/portupgrade:1620
	
>How-To-Repeat:
Upgrade an installed package using "portupgrade -P".
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

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?200201211258.g0LCwXb72607>