[Bug 659111] Re: Installing then removing Monodevelop reports "the package system is broken"

Michael Vogt michael.vogt at ubuntu.com
Wed Sep 28 10:12:44 UTC 2011


I wrote a tiny python test case for this (it requires a installed
monodevelop and a otherwise clean autoremove info):

    def test_remove_bug659111(self):
       cache = apt.Cache()
        cache["monodevelop"].mark_delete()
        for pkg in cache:
            if pkg.marked_install:
                print "inst: ", pkg.name
            if pkg.marked_delete:
                print "rm: ", pkg.name
            if pkg.is_auto_removable:
                print "auto-removable: ", pkg.name

This prints for me:
inst:  libwebkit1.1-cil
inst:  monodoc-browser
rm:  monodevelop
auto-removable:  monodevelop
auto-removable:  monodoc-base
auto-removable:  monodoc-manual

But at the point that monodoc-browser is marked for install monodoc-base
is no longer autoremovable.

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

Title:
  Installing then removing Monodevelop reports "the package system is
  broken"

Status in “monodevelop” package in Ubuntu:
  Invalid
Status in “software-center” package in Ubuntu:
  In Progress

Bug description:
  Ubuntu 10.10
  Ubuntu Software Center 4.1.22, monodevelop 2.5.92+dfsg-2ubuntu1, Ubuntu 11.10 beta 1

  1. Install Monodevelop.
  2. Remove Monodevelop.

  What happens: Partway through the removal, a dialog appears, "The
  package system is broken".

  Previously the details mentioned "monodoc-browser". I purged it and
  ran sudo apt-get install -f. Everything seems fine but software-center
  insists that the package system is broken.

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




More information about the foundations-bugs mailing list