[Bug 1258958] Re: apt-mark segfaults when holding an already held package
Brian Murray
brian at ubuntu.com
Fri Mar 7 00:14:11 UTC 2014
It looks to me like the fix for this may be contained in this diff:
https://bazaar.launchpad.net/~ubuntu-core-
dev/apt/ubuntu/revision/1984#cmdline/apt-mark.cc
Particularly the changes around lines 222 to 235 e.g.
for (APT::PackageList::iterator Pkg = pkgset.begin(); Pkg != pkgset.end();)
...
The change may be more obvious in the git branch for apt.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1258958
Title:
apt-mark segfaults when holding an already held package
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” source package in Precise:
Triaged
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[400000+a000]
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~exp12ubuntu10.16
ProcVersionSignature: Ubuntu 3.8.0-33.48~precise1-generic 3.8.13.11
Uname: Linux 3.8.0-33-generic x86_64
NonfreeKernelModules: wl
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1258958/+subscriptions
More information about the foundations-bugs
mailing list