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

Eric van Gyzen vangyzen at FreeBSD.org
Thu Sep 15 12:59:05 UTC 2016


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.

Let me know if you need anything else.

Cheers,

Eric



More information about the freebsd-pkg mailing list