pkg 1.5.1 wants to remove locked packages
Michael Jung
mikej at mikej.com
Mon May 11 13:03:32 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
>> locked
>> packages. The packages are indeed really removed.
>>
>> Thanks.
>>
>> --mikej
>>
>> "pkg lock is used to lock packages against reinstallation,
>> modification
>> or
>> deletion."
>>
>> 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 <---------
>> firefox-esr-31.6.0,1
>> 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:
>> libvisio01-0.1.1
>> libmspub01-0.1.2
>> libe-book-0.1.2
>> libcdr01-0.1.1
>> qt5-webkit-5.3.2_1
>> libreoffice-4.3.6 <----------
>> qt5-declarative-5.3.2
>> stellarium-0.13.1
>> chromium-40.0.2214.115 <--------
>> qt5-designer-5.3.2
>> qt5-assistant-5.3.2
>>
>>
> 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
> packages.
>
> Best regards,
> Bapt
Bapt,
This has happened again and I have the debug output you requested. I
have NOT
proceeded with the updates this time and will await your remarks.
Charon is FreeBSD 10 r277247M
[root at charon /home/mikej/Downloads]# pkg -v
1.5.2
[root at charon /home/mikej/Downloads]# pkg lock -l
Currently locked packages:
libreoffice-4.3.6 <-------
[root at charon /home/mikej/Downloads]# pkg upgrade
Updating 0local repository catalogue...
0local repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (564 candidates): 100%
Processing candidates (564 candidates): 100%
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 10 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
liborcus07-0.7.0
libreoffice-4.3.6 <-------
Installed packages to be UPGRADED:
oss: 4.2.b2009_1 -> 4.2.b2011
npth: 1.1 -> 1.2
liborcus: 0.5.2_1 -> 0.9.0
gpgme: 1.5.3 -> 1.5.4
gawk: 4.1.1_1 -> 4.1.2
erlang: 17.5.2_1,3 -> 17.5.3,3
ccache: 3.2.1_2 -> 3.2.1_3
GeoIP: 1.6.5_1 -> 1.6.5_2
The operation will free 289 MiB.
Proceed with this action? [y/N]: n
[root at charon /home/mikej/Downloads]#
Full debug output https://charon.gopai.com/pkg.out.tgz
My repository is built with:
[root at bsd11 /var/log]# poudriere version
3.1.3
Regards,
--mikej
More information about the freebsd-ports
mailing list