Date: Fri, 4 Jan 2002 13:01:40 -0500 (EST) From: Vivek Khera <khera@kciLink.com> To: FreeBSD-gnats-submit@freebsd.org Cc: knu@freebsd.org Subject: ports/33543: Message-ID: <200201041801.g04I1eq83330@onceler.kciLink.com>
next in thread | raw e-mail | index | archive | help
>Number: 33543 >Category: ports >Synopsis: >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 04 10:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD onceler.kciLink.com 4.4-STABLE FreeBSD 4.4-STABLE #4: Tue Dec 11 10:12:07 EST 2001 khera@onceler.kciLink.com:/amd/yertle/u/yertle2/usr.obj/amd/onceler/u/onceler1/usr/src/sys/ONCELER i386 portupgrade upgrade from 20011231 to 20010103 >Description: built portupgrade package on one machine, went to install via package on another from that package (ports tree mounted via NFS) portupgrade on the second machine failed thusly: [root@yertle]# portupgrade -Pv portupgrade ---> Checking the availability of the latest package of sysutils/portupgrade ---> Found a package for sysutils/portupgrade: /usr/ports/packages/All/portupgrade-20020103.tgz ---> Upgrading 'portupgrade-20011231' to 'portupgrade-20020103' (sysutils/portupgrade) using a package ---> Updating dependency info ---> Modifying /var/db/pkg/pkg_tarup-1.2_3/+REQUIRED_BY ---> Modifying /var/db/pkg/ruby-1.6.6/+REQUIRED_BY ---> Modifying /var/db/pkg/ruby-fnmatch-1.1b_1/+REQUIRED_BY ---> Modifying /var/db/pkg/ruby-optparse-0.8.6/+REQUIRED_BY ---> Modifying /var/db/pkg/ruby-uri-0.9,1/+REQUIRED_BY ---> Backing up the old version 71.3% ---> Uninstalling the old version ---> Deinstalling 'portupgrade-20011231' [Updating the pkgdb in /var/db/pkg ... - 63 packages found (-1 +0) (...) done] ---> Installing the new version via the package pkg_add: command '[ ! -f /usr/local/etc/pkgtools.conf ] && cp /usr/local/etc/pkgtools.conf.sample /usr/local/etc/pkgtools.conf' failed ---> Removing the temporary backup files /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 [root@yertle]# It seems to have installed portupgrade 20020103 successfully. >How-To-Repeat: as above. >Fix: unknown. >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?200201041801.g04I1eq83330>