pkg 1.5.1 wants to remove locked packages

Andriy Gapon avg at FreeBSD.org
Wed May 13 17:20:42 UTC 2015


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 at 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


More information about the freebsd-ports mailing list