Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 17:15:30 +0200
From:      Mathieu Arnold <mat@mat.cc>
To:        Eric van Gyzen <vangyzen@FreeBSD.org>, pkg@FreeBSD.org
Subject:   Re: pkg: Fail to rename ... No such file or directory
Message-ID:  <1373cee8-27fc-e0e6-ed6d-7b7195a044c6@mat.cc>
In-Reply-To: <657787aa-d354-0940-0253-fb74f59f62ad@FreeBSD.org>
References:  <657787aa-d354-0940-0253-fb74f59f62ad@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 15/09/2016 =C3=A0 14:59, Eric van Gyzen a =C3=A9crit :
> pkg folks,
>
> I just did a "pkg upgrade" and got the following error:
>
> [32/64] Upgrading javavmwrapper from 2.5_1 to 2.5_2...
> [32/64] Extracting javavmwrapper-2.5_2: 100%
> pkg: Fail to rename /usr/local/bin/.checkvms.GdLZnmHbYGAd ->
> /usr/local/bin/checkvms: No such file or directory
>
> I'm running pkg version 1.8.7_1 on stable/11 r305779.  The full transcr=
ipt is
> attached.
>
> Now, simply trying "pkg install javavmwrapper" always fails with the sa=
me error,
> and /usr/local/bin/checkvms is missing (of course).  Even if I create
> /usr/local/bin/checkvms, pkg still fails with the same error.  (Note th=
at
> checkvms is a symlink.)
>
> Removing and reinstalling the package worked.

The problem was the package itself, pkg version 1.8.7_2 includes a fix
for this exact problem.

--=20
Mathieu Arnold




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1373cee8-27fc-e0e6-ed6d-7b7195a044c6>