From owner-freebsd-questions@FreeBSD.ORG Wed Apr 29 07:23:47 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 93128106564A for ; Wed, 29 Apr 2009 07:23:47 +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 00B388FC16 for ; Wed, 29 Apr 2009 07:23:46 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: by ewy19 with SMTP id 19so1008873ewy.43 for ; Wed, 29 Apr 2009 00:23:46 -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=ob6rG4cmcK0/cM9VpHYPg1jVH6CjC42u0Kpw7bfNfqs=; b=P1NkcnIaCRyW5oRiWrlkp+/uNrXJvcqYh5plIb+Vb6wksdbftJSCr4E5AsNgisM93U tWsmT90Hs02siByUzw1PqogVS53VF/PNmDpVBwKrBbsLXEmIgNdxSW8UJOUSHh/ONm7l dYZt093y8fgOezIQ8SvnJhwICmBifOXJzmAfQ= 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=VVLWc/1SuVOClooDbk/eX1hKf8tLFwk/GRwiEJxyWo63w1qfA8pOT0VLx2YpHXhB4z 1Emp84k06lQalKK1B53MCuUTdQPDHupDGPLNtFD9Mshk6MZlIGnGiwhf6TU/rj8m1MoQ vE6cdg15/THq9WBz8f7eJqtb9CDKsLKpcxuIE= MIME-Version: 1.0 Received: by 10.216.53.139 with SMTP id g11mr5401wec.25.1240989826042; Wed, 29 Apr 2009 00:23:46 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 Apr 2009 09:23:46 +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 07:23:47 -0000 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:in >> `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 `initiali= ze' >> =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 get 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 o= rder. I did make install, then make deinstall, then make reinstall, I did not make any distclean before compiling. /klaus