pkg 1.5.1 wants to remove locked packages
mikej at mikej.com
Mon Apr 27 14:16:12 UTC 2015
On 2015-04-27 09:59, Baptiste Daroussin wrote:
> On Mon, Apr 27, 2015 at 09:21:40AM -0400, Michael Jung wrote:
>> Maybe I'm missing something obvious, but pkg 1.5.1 wants to remove
>> packages. The packages are indeed really removed.
>> "pkg lock is used to lock packages against reinstallation,
>> FreeBSD charon.corp.pai.local 10.1-RC1-p2 FreeBSD
>> I do not have /usr/local/etc/pkg.conf file
>> root at charon /var/log]# pkg lock -l
>> Currently locked packages:
>> chromium-40.0.2214.115 <---------
>> libreoffice-4.3.6 <---------
>> [root at charon /var/log]# pkg upgrade
>> Updating 0local repository catalogue...
>> 0local repository is up-to-date.
>> All repositories are up-to-date.
>> Checking for upgrades (634 candidates): 100%
>> Processing candidates (634 candidates): 0%
>> chromium-40.0.2214.115 is locked and may not be modified
>> Processing candidates (634 candidates): 100%
>> The following 75 package(s) will be affected (of 0 checked):
>> Installed packages to be REMOVED:
>> libreoffice-4.3.6 <----------
>> chromium-40.0.2214.115 <--------
> Can you run pkg -o DEBUG_LEVEL=4 upgrade
> and send me the output (be careful this will be verbose)
> This is probably due to icu update somehow, as libreoffice and chrome
> will not
> work without being themselves upgraded but you locked them.
> Probably the answer of removing them is bad and we should just stop the
> processing saying we cannot go further without you unlocking the said
> Best regards,
Unfortunately we went ahead with the upgrade. I will send the output if
reproduce it on another machine.
More information about the freebsd-ports