Software center silently removes installed packages if there are package conflicts

Bug #554319 reported by Matt Perry on 2010-04-02
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
High
Mohamed Amine Ilidrissi

Bug Description

Binary package hint: software-center

When installing a new package that conflicts with another already installed package, Software Center will silently uninstall any conflicting packages from the computer.

Steps to reproduce:
1. Start the Software Center
2. Install Miro
3. Exit the Software Center
4. Start the Software Center
5. Install Gourmet Recipe Manager

Results:
Miro is removed without any notification or prompt.

Expected results:
Software Center should inform the user that a conflict has been detected and ask if they would like to continue with the installation or cancel.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: software-center 1.1.23
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Fri Apr 2 16:52:07 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: software-center

Related branches

Matt Perry (mp) wrote :
jtrottier (trottier-james) wrote :

LoL, I was watching the ubunter vids and installed Gourmet and then Miro was gone. Probably, much the same for Matt

malev (marcosvanetta) wrote :

Hey it happened to me too!
I'm confirming this bug.

Changed in software-center (Ubuntu):
status: New → Confirmed
Jean-Baptiste Lallement (jibel) wrote :

This is still an issue with s-c 2.0

Changed in software-center (Ubuntu):
importance: Undecided → High
K. Deniz Ogut (kdenizogut) wrote :

Ubuntu 9.0 Karmic Koala

I'm affected as well.

Miro was a victim of Software Center and the Ubunter video viewed via itself. :-)

PS: For the bug related with the actual conflict see Bug #355866 and for my workaround comment #9

jarondl (jarondl) wrote :

Happened to me the other way round, installing miro removed gourmet.
Back to apt-get for now

Sebastian Heinlein (glatzor) wrote :

Aptdaemon provides a Simulate method which allows to calculate the dependencies of a transaction. This one should be used. See the gtk-demo or aptdcon for a code example.

Changed in software-center (Ubuntu):
assignee: nobody → Mohamed Amine IL Idrissi (ilidrissi.amine)
status: Confirmed → In Progress
Kiwinote (kiwinote) wrote :

software-center (2.1.17) maverick; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/purchasedialog.py:
    - make popup window a modal dialog so it works with
      metacity too (LP: #625398)
  * softwarecenter/view/softwarepane.py,
    softwarecenter/view/availablepane.py,
    softwarecenter/view/channelpane.py
    softwarecenter/view/installedpane.py,
    test/test_appview.py:
    - factor show/hide nonapps functionality up to the
      SoftwarePane base class, cleanup redundant code
    - enable show/hide nonapps in the "Provided by Ubuntu"
      subitem of "Installed Software" per updated spec
      (LP: #556375)
    - add test for show/hide nonapps
  * softwarecenter/backend/channel.py:
    - small fix in debug code

  [ Michael Vogt ]
  * merged lp:~mpt/software-center/basic-css, improves the
    style of the purchase dialog (thanks!)
  * merged lp:~mmcg069/software-center/small-fixes that fixes
    minor drawing error with the paging dot drawing outside its
    allocated area (thanks!)
  * merged lp:~mpt/software-center/help-3.0 (thanks!)
  * softwarecenter/gwibber_helper.py:
    - to find out if gwibber has accounts setup, poke around in
      gconf instead of doing a dbus call. The dbus call will trigger
      a gwibber start on each s-c start

  [ Kiwinote ]
  * softwarecenter/view/appdetailsview_gtk.py:
    - set action_bar.pkg_state as well as local state
      (LP: #629230, LP: #632889)
      this means that the button will always take the right action
      (testcase: click 'install', cancel auth, click 'install', auth)
    - don't show warning in pkgstatusbar while transaction is in progress,
      instead show 'installing..', 'updating..', etc
      (test case: install any deb file and watch the pkgstatusbar)
  * softwarecenter/view/catview.py:
    - sort categories alphabetically (LP: #633238)
  * softwarecenter/view/catview_gtk.py:
    - skip the carousel transition if we are hovering above a poster, or if
      the poster is selected (ie hold down mouse, but don't release)

  [ Mohamed Amine IL Idrissi ]
  * Fix bug that allowed silent removal of conflicting packages
    (LP: #554319)
  * Fix missing icons in the remove alerts

Date: Thu, 09 Sep 2010 09:11:23 +0200
Changed-By: Michael Vogt <michael.vogt at ubuntu.com>
Maintainer: Michael Vogt <mvo at ubuntu.com>
https://launchpad.net/ubuntu/maverick/+source/software-center/2.1.17

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

Other bug subscribers