2009/4/28 Klaus Friis Østergaard <farremo...@gmail.com>:
> Hi,
>
> While upgrade gnome I have run into to this error, is it related to
> portupgrade or Ruby18 or something different.
>
> k...@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
> k...@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

-- 
--
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to