[Bug 1747189] [NEW] aptitude does not respect package holding which set by `apt-mark hold`

Norbert 1747189 at bugs.launchpad.net
Sat Feb 3 20:36:41 UTC 2018


Public bug reported:

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

3a. Launch aptitude interactively with `sudo aptitude`, perform Update and Upgrade
3b. Launch aptitude interactively or non-interactively to perform Update and Upgrade
$ sudo aptitude update
$ sudo aptitude upgrade

Expected results:
* aptitude respects user choice and 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                                      1.8.4-1                                    all          graphical tool to diff and merge files

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: aptitude 0.6.8.2-1ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-139.188-generic 3.13.11-ckt39
Uname: Linux 3.13.0-139-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.27
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Feb  3 23:09:36 2018
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: aptitude (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug trusty

-- 
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/1747189

Title:
  aptitude does not respect package holding which set by `apt-mark hold`

Status in aptitude package in Ubuntu:
  New

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

  3a. Launch aptitude interactively with `sudo aptitude`, perform Update and Upgrade
  3b. Launch aptitude interactively or non-interactively to perform Update and Upgrade
  $ sudo aptitude update
  $ sudo aptitude upgrade

  Expected results:
  * aptitude respects user choice and 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                                      1.8.4-1                                    all          graphical tool to diff and merge files

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: aptitude 0.6.8.2-1ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-139.188-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-139-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.27
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Feb  3 23:09:36 2018
  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/1747189/+subscriptions



More information about the foundations-bugs mailing list