[Bug 200393] Performing pkg upgrade results in segfault when a package is locked
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 22 16:15:09 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200393
Bug ID: 200393
Summary: Performing pkg upgrade results in segfault when a
package is locked
Product: Base System
Version: 10.1-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: jsmith at resonatingmedia.com
FreeBSD version: 10.1 (amd64)
pkg version: 1.5.2
Problem: When performing a "pkg upgrade" command, the pkg utility crashes with
a segfault if a package on the system is locked. the following is an example of
pkg attempting to perform an upgrade, running into the locked package and
crashing:
pkg upgrade
Checking for upgrades (134 candidates): 100%
Processing candidates (134 candidates): 100%
dovecot2-2.2.15_1 is locked and may not be modified
Child process pid=44106 terminated abnormally: Segmentation fault
Work around: When all packages have been unlocked, pkg no longer crashes when
attempting to upgrade all packages on the system. However, this means the
previously locked version of the package gets replaced by the newer version.
Expected behaviour: pkg should upgrade all packages, except those which are
locked.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list