Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2009 12:17:22 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        =?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?= <farremosen@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ruby18 or Portupgrade error?
Message-ID:  <d7195cff0904280917s3ac8392aj808872d692bb9876@mail.gmail.com>
In-Reply-To: <be36dc210904280012w492b8fefh659961ae9cb1974c@mail.gmail.com>
References:  <be36dc210904280012w492b8fefh659961ae9cb1974c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: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
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0904280917s3ac8392aj808872d692bb9876>