apt-mark segfaults when holding an already held package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I'm trying to hold back a package but apt-mark keeps segfaulting.
# apt-mark hold wine1.7 wine1.7-dbg wine1.7-amd64
wine1.7 was already set on hold.
Segmentation fault (core dumped)
dmesg:
traps: apt-mark[505732] general protection ip:404d5f sp:7fff0f4a3330 error:0 in apt-mark[
The hold does seem to be put in place for the first package, but any additional packages have to be held one-by-one due to the fault.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~
ProcVersionSign
Uname: Linux 3.8.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Sun Dec 8 19:11:03 2013
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
This is trivially reproducable by installing wine and then using the following:
(precise- amd64)root@ impulse: /home/bdmurray# apt-mark hold wine1.4 amd64)root@ impulse: /home/bdmurray# apt-mark hold wine1.4
wine1.4 set on hold.
(precise-
wine1.4 was already set on hold.
Segmentation fault (core dumped)