Ruby18 or Portupgrade error?

illoai at gmail.com illoai at gmail.com
Tue Apr 28 16:17:25 UTC 2009


2009/4/28 Klaus Friis Østergaard <farremosen at gmail.com>:
> Hi,
>
> While upgrade gnome I have run into to this error, is it related to
> portupgrade or Ruby18 or something different.
>
> kfo at prod01% sudo portupgrade -aOW -x x11/gdm                          /home/kfo
> mktemp: mkdtemp failed on /var/tmp/portupgradedtlzuto6: Too many links
> /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:140:in `init_tmpdir':
> Could not create temporary directory in /var/tmp (RuntimeError)
>        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:260:in
> `init_pkgtools_global'
>        from /usr/local/sbin/portupgrade:529:in `main'
>        from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initialize'
>        from /usr/local/sbin/portupgrade:229:in `new'
>        from /usr/local/sbin/portupgrade:229:in `main'
>        from /usr/local/sbin/portupgrade:2208
> kfo at prod01%
>                                                    /home/kfo
>
> I am not experience any other problems on the system.
>
> I have tried to csup and manually done make deisntall and make install
> of both portupgrade and ruby18.
>
> It seems that I something are able to run portupgrade right after
> Reboot, but second time or is not run right after reboot this failure
> occure.

Try running pkgdb -fFu

If that doesn't help, after making sure you've upgraded
ruby, try rebuilding databases/db41 and databases/ruby-bdb
(in that order)
and then running pkgdb -fFu

-- 
--


More information about the freebsd-questions mailing list