Date: Wed, 29 Apr 2009 17:37:47 +0200 From: =?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?= <farremosen@gmail.com> To: "illoai@gmail.com" <illoai@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Ruby18 or Portupgrade error? Message-ID: <be36dc210904290837j28a2f490uf6e5e7db43c664f6@mail.gmail.com> In-Reply-To: <be36dc210904290023n661edd35ifd3e9d603f15a688@mail.gmail.com> References: <be36dc210904280012w492b8fefh659961ae9cb1974c@mail.gmail.com> <d7195cff0904280917s3ac8392aj808872d692bb9876@mail.gmail.com> <be36dc210904290023n661edd35ifd3e9d603f15a688@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
29. apr. 2009 09.23 skrev Klaus Friis =D8stergaard <farremosen@gmail.com>: > 28. apr. 2009 18.17 skrev illoai@gmail.com <illoai@gmail.com>: >> 2009/4/28 Klaus Friis =D8stergaard <farremosen@gmail.com>: >>> Hi, >>> >>> While upgrade gnome I have run into to this error, is it related to >>> portupgrade or Ruby18 or something different. >>> >>> kfo@prod01% sudo portupgrade -aOW -x x11/gdm =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0/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) >>> =A0 =A0 =A0 =A0from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:260:i= n >>> `init_pkgtools_global' >>> =A0 =A0 =A0 =A0from /usr/local/sbin/portupgrade:529:in `main' >>> =A0 =A0 =A0 =A0from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initial= ize' >>> =A0 =A0 =A0 =A0from /usr/local/sbin/portupgrade:229:in `new' >>> =A0 =A0 =A0 =A0from /usr/local/sbin/portupgrade:229:in `main' >>> =A0 =A0 =A0 =A0from /usr/local/sbin/portupgrade:2208 >>> kfo@prod01% >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/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 =A0get this > > kfo@prod01% sudo pkgdb -fFu > mktemp: mkdtemp failed on /var/tmp/portupgradeA4dPHC7m: Too many links > Could not create temporary directory in /var/tmp > kfo@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 =A0distclean 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be36dc210904290837j28a2f490uf6e5e7db43c664f6>