Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 20:19:56 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, Henry Hu <henry.hu.sh@gmail.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: pkg 1.5.1 wants to remove locked packages
Message-ID:  <555387BC.4050402@FreeBSD.org>
In-Reply-To: <20150513155421.GB90457@ivaldir.etoilebsd.net>
References:  <2e3c80180e1fc608b29883e613b9bf49@mail.mikej.com> <20150427135919.GI13141@ivaldir.etoilebsd.net> <db2913eb5c4b4b1ce1cd2ea49d8f7f35@mail.mikej.com> <5552EC55.9050604@FreeBSD.org> <CAEJt7hab5YxqH-i5VAgTY3B0CAMVD05Qw%2BWP=yC3WkW0hhMrdw@mail.gmail.com> <20150513155421.GB90457@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/05/2015 18:54, Baptiste Daroussin wrote:
> On Wed, May 13, 2015 at 03:45:58PM +0000, Henry Hu wrote:
>> On Wed, May 13, 2015 at 2:18 PM Andriy Gapon <avg@freebsd.org> wrote:
>> 
>>> 
>>> I can also confirm this problem. Although in my case the packages are
>>> not locked still it's not nice for pkg to remove them:
>>> 
>>> $ pkg upgrade ... All repositories are up-to-date. Checking for
>>> upgrades (946 candidates): 100% Processing candidates (946 candidates):
>>> 100% The following 705 package(s) will be affected (of 0 checked): <<<<
>>> [*]
>>> 
>>> Installed packages to be REMOVED: libreoffice-4.3.5_2 
>>> digikam-3.5.0_6,2 kipi-plugin-calendar-3.5.0_3 kipi-plugins-3.5.0_3,1
>>> 
>> 
>> Using "pkg search", you can see that these packages are not present in
>> the repo currently. Maybe pkg finds that it can't find updated version so
>> it can only remove them?
> 
> yes but only because one of their dependencies is being updated as well
> and might break those ports after the upgrade
> 
> Once the package building is done again those packages will appear again in
> the repo and the problem will be gone.

Thank you for the information.  pkg's behavior makes much more sense now.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?555387BC.4050402>