Bug 210157 - ports-mgmt/pkg: The "${PKG} is locked and may not be modified" is repeated too many times.
Summary: ports-mgmt/pkg: The "${PKG} is locked and may not be modified" is repeated to...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 06:07 UTC by Slawomir Wojciech Wojtczak
Modified: 2017-05-11 00:08 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2016-06-09 06:07:18 UTC
# pkg -v      
1.8.4



Message "${PKG} is locked and may not be modified" is repeated too many times.



# pkg upgrade                                  
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Updating database digests format: 100%
Checking for upgrades (108 candidates):  88%

firefox-47.0_1,1 is locked and may not be modified
Checking for upgrades (108 candidates): 100%
Processing candidates (108 candidates):   0%

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

ffmpeg-2.8.6_2,1 is locked and may not be modified

firefox-47.0_1,1 is locked and may not be modified
Processing candidates (108 candidates): 100%
The following 18 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        webcamd: 4.2.0.9

Installed packages to be REINSTALLED:
        yasm-1.2.0 (options changed)
        pulseaudio-8.0 (needed shared library changed)
        gettext-runtime-0.19.7
        fftw3-3.3.3_2
        avahi-app-0.6.31_5
        libSM-1.2.2_3,1
        libX11-1.6.3,1
        glib-2.46.2
        libXtst-1.2.2_3
        orc-0.4.25
        dbus-1.8.20
        libsndfile-1.0.26
        fftw3-float-3.3.3_2
        consolekit-0.4.5_4
        libltdl-2.4.6
        json-c-0.12_2
        speexdsp-1.2.r3_1

The process will require 3 MiB more space.
4 MiB to be downloaded.

Proceed with this action? [y/N]: 













===========================================================

Should be like that:

===========================================================




# pkg upgrade                                  
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Updating database digests format: 100%
Checking for upgrades (108 candidates): 100%
Processing candidates (108 candidates): 100%
The following 18 package(s) will be affected (of 0 checked):

Installed packages that are LOCKED:
        ffmpeg-2.8.6_2,1
        firefox-47.0_1,1

Installed packages to be REINSTALLED:
        gettext-runtime-0.19.7
        fftw3-3.3.3_2
        avahi-app-0.6.31_5
        libSM-1.2.2_3,1
        libX11-1.6.3,1
        glib-2.46.2
        libXtst-1.2.2_3
        orc-0.4.25
        dbus-1.8.20
        libsndfile-1.0.26
        fftw3-float-3.3.3_2
        consolekit-0.4.5_4
        libltdl-2.4.6
        json-c-0.12_2
        speexdsp-1.2.r3_1

The process will require 3 MiB more space.
4 MiB to be downloaded.

Proceed with this action? [y/N]:
Comment 1 Shirkdog 2017-05-10 00:45:32 UTC
Looks like this is still an issue with the current version:

# pkg -v
1.10.1

Because Chromium has been a pain in the butt, I tried to lock the package, but it appears that with upgrades waiting to be applied, it repeats the chromium lock message:


chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified

chromium-57.0.2987.133_1 is locked and may not be modified