Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 09:33:44 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Grzegorz Junka <list1@gjunka.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Error in a package?
Message-ID:  <CAN6yY1tntHNjy9hP5zx5R12A-=neht0XnFW3ohRJkCX3UFK1%2Bw@mail.gmail.com>
In-Reply-To: <304ce1cf-78f1-887e-3194-4d4fdf42f7c9@gjunka.com>
References:  <81ca3d22-cc22-2400-16c0-ee69de331006@gjunka.com> <304ce1cf-78f1-887e-3194-4d4fdf42f7c9@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 12, 2016 at 5:38 AM, Grzegorz Junka <list1@gjunka.com> wrote:

>
> On 11/09/2016 20:55, Grzegorz Junka wrote:
>
>> Why I can not upgrade this package, even forcefully?
>>
>> root@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@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tntHNjy9hP5zx5R12A-=neht0XnFW3ohRJkCX3UFK1%2Bw>