Date: Fri, 22 May 2015 16:15:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200393] Performing pkg upgrade results in segfault when a package is locked Message-ID: <bug-200393-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: jsmith@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200393-8>