Error in a package?

Kevin Oberman rkoberman at gmail.com
Mon Sep 12 16:33:46 UTC 2016


On Mon, Sep 12, 2016 at 5:38 AM, Grzegorz Junka <list1 at gjunka.com> wrote:

>
> On 11/09/2016 20:55, Grzegorz Junka wrote:
>
>> Why I can not upgrade this package, even forcefully?
>>
>> root at ultrabook:~ # pkg upgrade -f javavmwrapper
>> Updating ultrabook repository catalogue...
>> ultrabook repository is up-to-date.
>> All repositories are up-to-date.
>> The following 1 package(s) will be affected (of 0 checked):
>>
>> Installed packages to be UPGRADED:
>>         javavmwrapper: 2.5_1 -> 2.5_2
>>
>> Number of packages to be upgraded: 1
>>
>> 16 KiB to be downloaded.
>>
>> Proceed with this action? [y/N]: y
>> Fetching javavmwrapper-2.5_2.txz: 100%   16 KiB  16.4kB/s 00:01
>> Checking integrity... done (0 conflicting)
>> [1/1] Upgrading javavmwrapper from 2.5_1 to 2.5_2...
>> [1/1] Extracting javavmwrapper-2.5_2: 100%
>> You may need to manually remove /usr/local/etc/javavm_opts.conf if it is
>> no longer needed.
>> pkg: Fail to rename /usr/local/bin/.checkvms.cSKXJhAdFAsw ->
>> /usr/local/bin/checkvms: No such file or directory
>>
>> _
>>
>
> There is lots of packages that depend on it, I don't want to uninstall of
> them and then reinstall them. I will try to delete the config file as
> suggested in the other post.
> Grzegorz


You need only delete javavmwrapper, not packages that depend on it.  That
is clearly stated in the bug. You just use the -f option to delete
javavmwrapper but not it's dependencies.
pkg delete -f javavmwrapper

Should take seconds to complete.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list