Ruby18 or Portupgrade error?

Klaus Friis Østergaard farremosen at gmail.com
Wed Apr 29 15:37:49 UTC 2009


29. apr. 2009 09.23 skrev Klaus Friis Østergaard <farremosen at gmail.com>:
> 28. apr. 2009 18.17 skrev illoai at gmail.com <illoai at gmail.com>:
>> 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
>
> If I try to run pkgdb -fFu  get this
>
> kfo at prod01% sudo pkgdb -fFu
> mktemp: mkdtemp failed on /var/tmp/portupgradeA4dPHC7m: Too many links
> Could not create temporary directory in /var/tmp
> kfo at prod01%
>
> I get the same result after I did rebuild ruby, db41 and ruby-bdb in that order.
>
> I did make install, then make deinstall, then make reinstall, I did
> not make any  distclean before compiling.
>
> /klaus
>
I found the failure, in my /var/tmp there where many files mainly
gvfs-{user}-* which I removed then no problem with too many links.

Does any body know why gnome does not seem to clean up the gvfs files after use?

/Klaus


More information about the freebsd-questions mailing list