Upgrading perl modules

Roger Merritt mcrogerm at stjohn.ac.th
Mon Dec 22 16:39:22 PST 2003


At 01:41 AM 12/23/03, you wrote:
>Roger Merritt <mcrogerm at stjohn.ac.th> writes:
>
> > I once saw, and used, a portupgrade command line to upgrade *all*
> > installed perl modules. It went something like:
> >
> > $ portupgrade p5-\*
> >
> > However, when I try the command now I just get an error message. Can
> > anyone tell me the proper command?
>
>That one should work.  What error message do you get?
>[My suspicion would be a typo...]

[root at poppy:~]# portupgrade p5-\*
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 193 packages 
found (-0 +1) . done]
/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


-- 
Roger



More information about the freebsd-questions mailing list