pkg: Fail to rename ... No such file or directory

Mathieu Arnold mat at mat.cc
Thu Sep 15 15:15:34 UTC 2016


Le 15/09/2016 à 14:59, Eric van Gyzen a écrit :
> 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 transcript is
> attached.
>
> Now, simply trying "pkg install javavmwrapper" always fails with the same 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 that
> 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.

-- 
Mathieu Arnold



More information about the freebsd-pkg mailing list