Upgrading perl modules

Jez Hancock jez.hancock at munk.nu
Mon Dec 22 19:45:23 PST 2003


On Tue, Dec 23, 2003 at 07:42:53AM +0700, Roger Merritt wrote:
> At 08:48 PM 12/22/03, you wrote:
> 
> >> $ portupgrade p5-\*
> >>
> >> However, when I try the command now I just get an error message. Can 
> >anyone
> >> tell me the proper command?
> >>
> >
> >#portupgrade p5-* (as root)
> 
> That gives me:
> 
> [root at poppy:~]# portupgrade p5-*
> portupgrade: No match.
You need to execute the command in the package db directory,
/var/db/pkg.

[3:42:50] root at users /var/db/pkg# portupgrade p5-*

If you still get the errors you list below perhaps try reinstalling
portupgrade.

> [root at poppy:~]# portupgrade 'p5-*'
> /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to 
> convert nil into String (PkgDB::DBError)
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in `tsort_build'
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each'
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `tsort_build'
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each'
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `tsort_build'
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in `sort_build'
>         from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920:in `sort_build!'
>         from /usr/local/sbin/portupgrade:674:in `main'
>         from /usr/local/sbin/portupgrade:207:in `initialize'
>         from /usr/local/sbin/portupgrade:207:in `new'
>         from /usr/local/sbin/portupgrade:207:in `main'
>         from /usr/local/sbin/portupgrade:1846

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/        - ipfw peruser traffic logging


More information about the freebsd-questions mailing list