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

Michael Vogt michael.vogt at ubuntu.com
Wed Sep 28 10:02:40 UTC 2011


This is a interessting one, on oneiric I get:

# apt-get remove monodevelop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  monodoc-base monodoc-manual monodoc-browser libwebkit1.1-cil
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libwebkit1.1-cil monodoc-browser
Suggested packages:
  monodoc-webkit-manual
The following packages will be REMOVED:
  monodevelop
The following NEW packages will be installed:
  libwebkit1.1-cil monodoc-browser
0 upgraded, 2 newly installed, 1 to remove and 117 not upgraded.

Note that it wants to install two packages. The problem resolver shows:
# apt-get remove monodevelop -o Debug::pkgProblemResolver=true
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting
Starting 2
Investigating (0) monodoc-manual [ amd64 ] < 2.10.5-1 > ( devel )
Broken monodoc-manual:amd64 Depends on monodoc-browser [ amd64 ] < none -> 2.10-1 > ( devel )
  Considering monodoc-browser:amd64 1 as a solution to monodoc-manual:amd64 0
  Try Installing monodoc-browser [ amd64 ] < none -> 2.10-1 > ( devel ) before changing monodoc-manual:amd64

So apt does not want to keep monodoc-manual in a broken state and instead installed the browser to fix that. It
should probably only do that if the package in question is not auto-installed.


But:
# apt-get autoremove monodevelopReading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  monodevelop monodoc-base monodoc-manual
0 upgraded, 0 newly installed, 3 to remove and 117 not upgraded.

Behaves correctly.


This happens in aptdaemon as well. First aptdaemon marks the package monodevelop for removal
with auto_fix=True. The resolver installs monodoc-manual now (see above why). Then the autoremove 
of obsoletes is run by aptdaemon. The autoremover looks at monodoc-browser but at this point of the
loop the monodoc-base is still installed.

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to monodevelop 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 Ubuntu-mono mailing list