Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
On Thursday 01 July 2004 09:44 pm, Akinori MUSHA wrote: Hi, I have just committed a fix against the undefined method `each' for nil:NilClass error that occurs typically when BEFORE_DEINSTALL is not defined in pkgtools.conf. Add BEFORE_DEINSTALL = {} to your pkgtools.conf and pkg_deinstall will start working again. For the undefined method `' for #Array:0x8907500 error, I still have no idea. Could you try again with a vanilla pkgtools.conf? It didn't change the package upgrade [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 326 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! devel/automake14 (automake-1.4.6_1) (undefined method `' for #Array:0x88d1f44) --- Packages processed: 2 done, 0 ignored, 0 skipped and 1 failed or ruby# portupgrade -Puf portupgrade --- Checking for the latest package of 'sysutils/portupgrade' ** Listing the failed packages (*:skipped / !:failed) ! sysutils/portupgrade (portupgrade-20040701_1) (undefined method `' for #Array:0x8987678) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade fails on every port, undefined method 'each' for nil:NilClass
Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
Did you both upgrade 'portupgrade' and then the problem started? I'm running portupgrade rev.1.225 with no problems. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. Joey I'm running portupgrade rev.1.225 with no problems. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HVp0NQPEWppBZsRAueQAJwPhx0kz9mrZiqYRzW4PQEILf03WACfXPAd HEMHU09aUEtd4JzSrzCH4oQ= =SrVj -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
On Thursday 01 July 2004 01:34 pm, Joey Mingrone wrote: On July 1, 2004 17:26, Bruce Hunter wrote: Did you both upgrade 'portupgrade' and then the problem started? Yeah, problems stared after upgrading to portupgrade-20040701. I'm guessing there will be another update shortly. I haven't seen any comments to knu@ about the problem. I can repeat portupgrading portupgrade from the source and create a package. When I try to portupgrade using the package, I get # portupgrade -Puf portupgrade --- Checking for the latest package of 'sysutils/portupgrade' ** Listing the failed packages (*:skipped / !:failed) ! sysutils/portupgrade (portupgrade-20040701) (undefined method `' for #Array:0x8907500) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed It also failed to delete devel/libtool-1.4.3_3, which was just moved into the Attic. Kent Joey I'm running portupgrade rev.1.225 with no problems. On Thu, 2004-07-01 at 16:22, Joey Mingrone wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're not alone. I'm seeing the same problem on my FreeBSD systems. Joey On July 1, 2004 17:11, Lee Dilkie wrote: Well, I'm at a bit of a loss here. running 4.10, did a cvsup this morning, then portsdb -uU to get an up to date index. Bunch of ports needed updating, including portupgrade so I upgraded portupgrade first. That seemed to work fine (it reports version 1.8.1). Now, every port I try to upgrade fails when uninstalling the old version. I've tried to upgrade clamav, isc-dhcp3-server and a couple of others. All report undefined method 'each' for nil:NilClass. [snip preamble] sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.conf.5 dhcpd.conf.man5 nroff -man dhcpd.conf.man5 dhcpd.conf.cat5 sed -e s#ETCDIR#/usr/local/etc#g -e s#DBDIR#/var/db#g -e s#RUNDIR#/var/run#g dhcpd.leases.5 dhcpd.leases.man5 nroff -man dhcpd.leases.man5 dhcpd.leases.cat5 --- Build of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:15 -0400 (consumed 00:04:10) --- Updating dependency info --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 started at: Thu, 01 Jul 2004 15:51:30 -0400 --- Fixing up dependencies before creating a package --- Backing up the old version --- Uninstalling the old version --- Deinstalling 'isc-dhcp3-server-3.0.1.r12_3' ** Listing the failed packages (*:skipped / !:failed) ! isc-dhcp3-server-3.0.1.r12_3 (undefined method `each' for nil:NilClass) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Uninstallation of isc-dhcp3-server-3.0.1.r12_3 ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:00:14) --- Upgrade of net/isc-dhcp3-server ended at: Thu, 01 Jul 2004 15:51:45 -0400 (consumed 00:04:40) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! net/isc-dhcp3-server (isc-dhcp3-server-3.0.1.r12_3) (uninstall error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Thu, 01 Jul 2004 15:51:49 -0400 (consumed 00:05:02) [EMAIL PROTECTED]:/root] uname -a FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19 15:16:03 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPOCK i386 Any ideas??? Does anyone need more info? -lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v z2tAApWFeRHlS7u2ebSWJAQ= =PPox -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
Hi, I have just committed a fix against the undefined method `each' for nil:NilClass error that occurs typically when BEFORE_DEINSTALL is not defined in pkgtools.conf. Add BEFORE_DEINSTALL = {} to your pkgtools.conf and pkg_deinstall will start working again. For the undefined method `' for #Array:0x8907500 error, I still have no idea. Could you try again with a vanilla pkgtools.conf? -- / /__ __Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp It seems to me as we make our own few circles 'round the sun We get it backwards and our seven years go by like one ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]