after selecting "Actions -> Cancel pending actions" aptitude cancels package holding which set by `apt-mark hold`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Debian) |
Fix Released
|
Unknown
|
|||
aptitude (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Install some older version of package (for example meld 1.5.3-1ubuntu1).
$ wget http://
$ sudo gdebi meld_1.
2. Hold this package version with
$ sudo apt-mark hold meld
$ apt-mark showhold
meld
$ dpkg -l | grep meld
hi meld 1.5.3-1ubuntu1 all graphical tool to diff and merge files
3. Launch aptitude interactively with `sudo aptitude`, start performing actions such install/
Expected results:
* aptitude respects user decision to cancel current actions, but did not touch `apt-mark` states
Actual results:
* aptitude does not respect `apt-mark` states, so held package is upgraded
$ dpkg -l | grep meld
ii meld 3.14.2-1 all graphical tool to diff and merge files
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: aptitude 0.7.4-2ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-109-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Feb 3 23:37:38 2018
InstallationDate: Installed on 2018-01-04 (30 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in aptitude (Debian): | |
status: | Unknown → Fix Released |
What is great - Bionic Beaver (18.04 LTS) is not affected by this bug.