portupgrade problem

Hi All,

Anybody ever come across this error?
Code:
freebsddr# portupgrade -Rr libxml2
[Gathering depends for textproc/libxml2 ........ done]
[Gathering depends for lang/php5 ................. done]
[Gathering depends for www/phpSysInfo ..../usr/local/lib/ruby/1.8/set.rb:257:in 
`merge': value must be enumerable (ArgumentError)
        from /usr/local/sbin/portupgrade:874:in `get_all_depends'
        from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
        from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key'
        from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
        from /usr/local/sbin/portupgrade:873:in `get_all_depends'
        from /usr/local/sbin/portupgrade:639:in `main'
        from /usr/local/sbin/portupgrade:613:in `each'
        from /usr/local/sbin/portupgrade:613:in `main'
         ... 11 levels...
        from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
        from /usr/local/sbin/portupgrade:229:in `new'
        from /usr/local/sbin/portupgrade:229:in `main'
        from /usr/local/sbin/portupgrade:2208
freebsddr#

I've run cvsup and update INDEX as well. When I tried to upgrade port using portupgrade, I got above error. Any ideas?

Thanks.
 
Hi,

Code:
freebsddr# ls /var/db/pkg |egrep "^perl|^ruby|^portupgrade"
perl-5.8.8_1
portupgrade-2.4.6,2
ruby-1.8.6.287,1
ruby18-bdb-0.6.4
freebsddr#

freebsddr# uname -a
FreeBSD freebsddr.dom 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Thu Jun 19 10:1
3:54 IST 2008     root@freebsddr.dom:/usr/obj/usr/src/sys/FREEBSDDR  i386
freebsddr#
 
feroz said:
Hi,

I still got the same error as before.

and pkgdb -F complete without warnings?

Try please increment debug verbosity and make full rebuilding pkgdb:

Code:
rm -f /var/db/pkg/pkgdb.db
scripts
pkgdb --verbose -F

after complete execute
Code:
portupgrade --verbose -b libxml2

hit Ctrl+D on the finish. If rebuild job if fails again - public here content of typescript file.
 
Hi,

Strange. If I just use "portupgrade --verbose -b libxml2", it worked. But if I use portupgrade -rR package_name, it failed. Any ideas?

It is best to use -rR option on portupgrade for dependency reason.

Thanks.
 
Hi,

Your dependency in error seems to be www/phpSysInfo.

Try to uninstall and reinstall it.

Is the port really useful for you ?
 
I've got the same error with squirrelmail. I've tried to deinstall and reinstall but nothing... It's not the first time I have this. Someone have an idea to resolve it ?
 
Okey, I've done a new portsnap fetch update today and the portupgrade works ... Strange because I've done an tree update juste before the last portupgrade.
 
same probelm with portupgrade

I have two servers both of them are FreeBSD 7.0 and since october I have the same problem with portupgrade .



even if I uninstall vtiger , I will have a problem with squirel , if I remove squirell I will have a problem with cacti !

any clues ?
 
Back
Top