portupgrade fails on every port, undefined method 'each' for
nil:NilClass
Bruce Hunter
freebsd at solisix.com
Thu Jul 1 13:27:52 PDT 2004
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) [root at spock:/root] uname -a
> > FreeBSD spock.dilkie.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 19
> > 15:16:03 EDT 2004 root at spock.dilkie.com:/usr/obj/usr/src/sys/SPOCK
> > i386
> >
> > Any ideas??? Does anyone need more info?
> >
> > -lee
> >
> >
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (FreeBSD)
>
> iD8DBQFA5HKe0NQPEWppBZsRAqkTAKCVOvSu5XRmiWzq43XJqno8WA74WQCgya0v
> z2tAApWFeRHlS7u2ebSWJAQ=
> =PPox
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list