From owner-freebsd-questions@FreeBSD.ORG Wed Apr 29 15:37:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E0E21065672 for ; Wed, 29 Apr 2009 15:37:49 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 798F18FC13 for ; Wed, 29 Apr 2009 15:37:48 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: by ewy19 with SMTP id 19so1268652ewy.43 for ; Wed, 29 Apr 2009 08:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MBtE/o2EmcrlB4puYCZUL57l/7UA2NiIOhzY5BFTsCA=; b=fOcnJHDN7yscrXDnewjrnxVp98HI11+aB4GjpuUkJjfstVPeMJYVlEsrQmH67ugc1I 5+sI6cz56LJaNtw+nMVUUVd1fyAkLzTfHU+zY6LV/cMrD8FwbdyBXSgDIdUq9pKnXcLc sNtnAJrd/+1phoDbDe4RSeN+pt1ZEuF20w2Eo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=t30fUFell9U+BRymiBCe2FWM0WaoHQ/n/laQTm6fvG4tOGDadFlpNggnuUa4MFsexz QZC8ZwBIX5X+WkR2VXwnm8TTBSK3Dqf9WUTPT9Yk2rFr9EvaIEx6mEQ6QT+vEi3qijlR amJPQMmxLftWKmyNQotAZ4zQuUvnhlfu0PTM4= MIME-Version: 1.0 Received: by 10.216.26.82 with SMTP id b60mr127665wea.177.1241019467404; Wed, 29 Apr 2009 08:37:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 Apr 2009 17:37:47 +0200 Message-ID: From: =?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?= To: "illoai@gmail.com" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Ruby18 or Portupgrade error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2009 15:37:49 -0000 29. apr. 2009 09.23 skrev Klaus Friis =D8stergaard : > 28. apr. 2009 18.17 skrev illoai@gmail.com : >> 2009/4/28 Klaus Friis =D8stergaard : >>> 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