libapt-pkg regression: infinite loop on processing certain Pre-Depends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Summary: a typo in apt-pkg/
Details: I have a custom package whose control file contains
Pre-Depends: grub-pc | grub
When I attempt to install this on a system which has grub installed already but not grub-pc, apt-get hangs indefinitely, in an infinite loop inside pkgPackageManag
This situation, in which one of the pre-depends is already installed, should be handled in the block starting at apt-pkg/
The error has been replicated a few lines further down, which means the subsequent code also fails to resolve the situation (e.g. in the case that the second pre-depend is simultaneously being installed explicitly).
I attach a debdiff.
Changed in apt (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in apt (Ubuntu): | |
milestone: | none → precise-updates |
I should have said: this bug is in apt 0.8.16~exp12ubuntu9 in precise. This behaviour did not occur in oneiric or any other previous version I have used.