support conflicts/provides/replaces and allow removal in this case

Bug #1038113 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Colin Watson
Raring
Fix Released
High
Colin Watson

Bug Description

If there is a package that needs removal, update-manager usually goes into partial upgrade mode.

This should not be done if the package has a C/P/R line for the package in removal state as this indiciates
this is a expected thing to happen. This is useful in some security update, e.g.:
http://launchpadlibrarian.net/36531850/bind9_1%3A9.4.2.dfsg.P2-2ubuntu0.3_1%3A9.4.2.dfsg.P2-2ubuntu0.4.diff.gz

Unattended-upgrades should honor that as well.

Changed in update-manager (Ubuntu):
status: New → Triaged
importance: Undecided → High
Colin Watson (cjwatson)
Changed in update-manager (Ubuntu Raring):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.183

---------------
update-manager (1:0.183) raring; urgency=low

  [ Mike Terry ]
  * Fix toggling items after doing a deselect-all. (LP: #1129191)

  [ Colin Watson ]
  * Fix PEP-8 failures.
  * Fix pyflakes failures.
  * Depend on pep8 and pyflakes for the autopkgtest suite.
  * Use logging.warning rather than deprecated logging.warn.
  * Fix test_meta_release_core.SillyProxyRequestHandler to write bytes
    rather than text to its output file object.
  * Make test_meta_release_core pick a new proxy port for each test.
  * Use EnvironmentVarGuard in test_meta_release_core to reduce the risk of
    test isolation bugs.
  * MetaReleaseCore: Plug some open file object leaks.
  * Make test_meta_release_core call install_opener(None) every time it
    changes proxy settings, to avoid stale ones being left around from
    previous tests.
  * Reopen cache in GroupingTestCase.setUp, TestCache.setUp, and
    TestChangelogs.setUp to avoid test isolation bugs.
  * Remove unnecessary cache update in PhasedTestCase.setUp; reopening the
    cache is sufficient.
  * Allow saveDistUpgrade to remove packages provided that upgrade
    candidates declare Conflicts+Replaces+Provides on them (LP: #1038113).

  [ Steve Langasek ]
  * Build-depend on python3-all (>= 3.3.0-2) for pybuild support and drop
    the now-extraneous overrides from debian/rules; this incidentally works
    around an issue I don't understand where the package was now failing to
    build locally from trying to invoke python setup.py instead of python3.
 -- Colin Watson <email address hidden> Mon, 25 Feb 2013 17:31:29 +0000

Changed in update-manager (Ubuntu Raring):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.