From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 16:17:24 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 576D3106566C for ; Tue, 28 Apr 2009 16:17:24 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 106A18FC17 for ; Tue, 28 Apr 2009 16:17:23 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by qyk3 with SMTP id 3so1334817qyk.3 for ; Tue, 28 Apr 2009 09:17:23 -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=2sUNUVbltdLzeQmaz0Arm6j55d3RdMQzWtO+HHz2tJU=; b=blhR+3uMYTgwzJGXJ/PosVJYGbTcDu3qrpL3TfCA9Utls+UAzxbgURi6yo8NosJSL0 wACTTFxXwv4Vbe/+jbSj8Bfr79GGQ4oTlEetnI1G9CvDz0+EXgholMk0uzqi68XrptmC Ng0SGYZd+uTCD7wgJ3dAxJH1oY94QZugX9a2c= 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=Tbipk5uDMmv8wYBw1PNdlp7gjaHn5cKo8S9VHB8rp53ou6It3uAq+sh1C75Eo3jXZ9 DZS8PPXJXC6nUSMHLLctjMKKUzYEjtM56ur3SM1pHoxwz7Lm+SJGxB32sr6FXtV7+RWu rwiXEhJ733fqiUREJETUvV9aJPOb07Zq0dCOM= MIME-Version: 1.0 Received: by 10.229.96.1 with SMTP id f1mr3854761qcn.103.1240935442933; Tue, 28 Apr 2009 09:17:22 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Apr 2009 12:17:22 -0400 Message-ID: From: "illoai@gmail.com" To: =?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?= 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: Tue, 28 Apr 2009 16:17:25 -0000 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 `initializ= e' > =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 --=20 --