Discussion:
[Bug 214620] ports-mgmt/pkg: The LOCK is not respected
b***@freebsd.org
2016-11-18 07:47:27 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214620

Bug ID: 214620
Summary: ports-mgmt/pkg: The LOCK is not respected
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ***@FreeBSD.org
Reporter: ***@interia.pl
Assignee: ***@FreeBSD.org
Flags: maintainer-feedback?(***@FreeBSD.org)

While I have 'nvidia-driver' locked the PKG INSTALL tries to install other
version of 'nvidia-driver' ...

% pkg lock -l
Currently locked packages:
firefox-50.0_2,1
nvidia-driver-346.96
virtualbox-ose-5.1.8
virtualbox-ose-kmod-5.1.8



% pkg install sqlite3 liblangtag libgpg-error
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.

firefox-50.0_2,1 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
nvidia-driver-340: 340.96_3

Installed packages to be UPGRADED:
sqlite3: 3.14.1_1 -> 3.15.1
liblangtag: 0.5.8 -> 0.6.2
libgpg-error: 1.24 -> 1.25

Number of packages to be installed: 1
Number of packages to be upgraded: 3

The process will require 210 MiB more space.
161 KiB to be downloaded.

Proceed with this action? [y/N]: n

%

Regards,
vermaden
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2016-11-18 07:47:27 UTC
Permalink
***@interia.pl has reassigned Bugzilla Automation <***@FreeBSD.org>'s
request for maintainer-feedback to ***@FreeBSD.org:
Bug 214620: ports-mgmt/pkg: The LOCK is not respected
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214620



--- Description ---
While I have 'nvidia-driver' locked the PKG INSTALL tries to install other
version of 'nvidia-driver' ...

% pkg lock -l
Currently locked packages:
firefox-50.0_2,1
nvidia-driver-346.96
virtualbox-ose-5.1.8
virtualbox-ose-kmod-5.1.8



% pkg install sqlite3 liblangtag libgpg-error
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.

firefox-50.0_2,1 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

nvidia-driver-346.96 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

firefox-50.0_2,1 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified

virtualbox-ose-5.1.8 is locked and may not be modified
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
nvidia-driver-340: 340.96_3

Installed packages to be UPGRADED:
sqlite3: 3.14.1_1 -> 3.15.1
liblangtag: 0.5.8 -> 0.6.2
libgpg-error: 1.24 -> 1.25

Number of packages to be installed: 1
Number of packages to be upgraded: 3

The process will require 210 MiB more space.
161 KiB to be downloaded.

Proceed with this action? [y/N]: n

%

Regards,
vermaden
b***@freebsd.org
2017-01-10 10:46:25 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214620

SolarCatcher <***@gmx.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.de

--- Comment #1 from SolarCatcher <***@gmx.de> ---
Same problem here - also with nvidia-driver.

Funny thing: When I unlock nvidia-driver, pkg does not suggest to update this
package!

With nvidia-driver locked:
# pkg install poudriere
[...]
The following 7 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
poudriere: 3.1.14_2
freebsd-release-manifests: 20161010
nvidia-driver-340: 340.96_4
linux_base-c6: 6.8_6
linux-c6-xorg-libs: 7.4_6
linux-c6-fontconfig: 2.8.0_1
linux-c6-expat: 2.0.1_3

Number of packages to be installed: 7


Then, I unlock nvidia-driver:
# pkg unlock nvidia-driver
nvidia-driver-367.44_3: unlock this package? [y/N]: y
Unlocking nvidia-driver-367.44_3


Then, I try to install poudriere, again:
# pkg install poudriere
[...]
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
poudriere: 3.1.14_2
freebsd-release-manifests: 20161010

Number of packages to be installed: 2
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-05-24 09:03:20 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214620

--- Comment #2 from ***@interia.pl ---
Has it been fixed in the pkg?
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...