[Bug 1747191] Re: after selecting "Actions -> Cancel pending actions" aptitude cancels package holding which set by `apt-mark hold`

Axel Beckert abe at debian.org
Sat Feb 3 23:35:01 UTC 2018


Yes, this has been fixed in aptitude 0.7.6 about 1.5 years ago. See
https://bugs.debian.org/576319 for details.

** Bug watch added: Debian Bug tracker #576319
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576319

** Changed in: aptitude (Ubuntu)
       Status: New => Fix Released

** Also affects: aptitude (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576319
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1747191

Title:
  after selecting "Actions -> Cancel pending actions" aptitude cancels
  package holding which set by `apt-mark hold`

Status in aptitude package in Ubuntu:
  Fix Released
Status in aptitude package in Debian:
  Unknown

Bug description:
  Steps to reproduce:
  1. Install some older version of package (for example meld 1.5.3-1ubuntu1).
  $ wget http://mirrors.kernel.org/ubuntu/pool/universe/m/meld/meld_1.5.3-1ubuntu1_all.deb
  $ sudo gdebi meld_1.5.3-1ubuntu1_all.deb

  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/remove/upgrade then cancel your
  decision with  "Actions -> Cancel pending actions"

  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
  ProcVersionSignature: Ubuntu 4.4.0-109.132-generic 4.4.98
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1747191/+subscriptions



More information about the foundations-bugs mailing list