Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 03:45:16 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        Roger Merritt <mcrogerm@stjohn.ac.th>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Upgrading perl modules
Message-ID:  <20031223034516.GA58973@users.munk.nu>
In-Reply-To: <5.2.0.9.0.20031223074205.00a155c0@127.0.0.1>
References:  <5.2.0.9.0.20031222175228.00a3b250@127.0.0.1> <5.2.0.9.0.20031222175228.00a3b250@127.0.0.1> <5.2.0.9.0.20031223074205.00a155c0@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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@poppy:~]# portupgrade p5-*
> portupgrade: No match.
You need to execute the command in the package db directory,
/var/db/pkg.

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

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

> [root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031223034516.GA58973>