[Bug 816807] [NEW] Upgrade of packages with conflicts results in removal instead of upgrade

tserries 816807 at bugs.launchpad.net
Wed Jul 27 06:33:36 UTC 2011


Public bug reported:

Affected version: 0.7.94.2ubuntu6.2 (Lucid Lynx)

Upgrading a package may lead to partial removal of other upgradeable
packages.

Situation before upgrade:

Installed packages:
* A (version 1)
* B (version 1)

Available packages:
* A (version2, Conflicts: B (<< 2)
* B (version 2)

If you run pkg.mark_upgrade() on pkg A (Version 1) package B will be
marked for removal instead of marked for upgrade.

Real life example: 
Installed packages:
* libpcsc-lite1 (Version 1.5.3-1ubuntu4.1)
* pcscd (Version 1.5.3-1ubuntu4.1)

Available packages:
* libpcsc-lite1 (Version 1.5.3-1ubuntu4.2)
* pcscd (Version 1.5.3-1ubuntu4.2)

** Affects: python-apt (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Upgrade of packages with conflicts results in removal instead of
  upgrade

Status in “python-apt” package in Ubuntu:
  New

Bug description:
  Affected version: 0.7.94.2ubuntu6.2 (Lucid Lynx)

  Upgrading a package may lead to partial removal of other upgradeable
  packages.

  Situation before upgrade:

  Installed packages:
  * A (version 1)
  * B (version 1)

  Available packages:
  * A (version2, Conflicts: B (<< 2)
  * B (version 2)

  If you run pkg.mark_upgrade() on pkg A (Version 1) package B will be
  marked for removal instead of marked for upgrade.

  Real life example: 
  Installed packages:
  * libpcsc-lite1 (Version 1.5.3-1ubuntu4.1)
  * pcscd (Version 1.5.3-1ubuntu4.1)

  Available packages:
  * libpcsc-lite1 (Version 1.5.3-1ubuntu4.2)
  * pcscd (Version 1.5.3-1ubuntu4.2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/816807/+subscriptions




More information about the foundations-bugs mailing list