← Back to team overview

desktop-packages team mailing list archive

[Bug 1110188] Re: USC allows a package installation to uninstall vital packages

 

Specification updated.
<https://wiki.ubuntu.com/SoftwareCenter?action=diff&rev2=688&rev1=687>

** Changed in: software-center (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: software-center (Ubuntu)
     Assignee: Matthew Paul Thomas (mpt) => (unassigned)

** Description changed:

+ software-center 5.4.1.3, Ubuntu 12.10
+ 
  I downloaded steam_latest.deb from steampowered.com, saved it, double
  clicked on it, and Software Center launched.  It brought up the deb
  information page, I clicked Install, and Software Center proceeded to
  remove literally about half of the installed pacakges on my system
  (about 400), including things like unity, ubuntu-desktop, and,
  ironically, software-center itself.  It eventually errored out (see
  attached log).
  
  Using /var/log/apt/history.log, I was able to restore the system's
  packages to their previous state, but Software Center shouldn't have
  allowed this to happen (whether or not the third-party .deb was actually
  at fault).
  
  NB: To correct the apt error, I did "apt-get -f install".  Then, after I
  apt-get installed the packages which were removed, steam was still
  installed, so it wasn't a dependency error which caused the packages to
  be removed.  I have no idea why it actually happened.
  
- ProblemType: Bug
- DistroRelease: Ubuntu 12.10
- Package: software-center 5.4.1.3
- ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
- Uname: Linux 3.5.0-21-generic x86_64
- ApportVersion: 2.6.1-0ubuntu10
- Architecture: amd64
- Date: Wed Jan 30 00:53:19 2013
- InstallationDate: Installed on 2012-06-14 (230 days ago)
- InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
- MarkForUpload: True
- PackageArchitecture: all
- ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- SourcePackage: software-center
- UpgradeStatus: Upgraded to quantal on 2012-09-16 (136 days ago)
+ <https://wiki.ubuntu.com/SoftwareCenter#installing>: "4. If installing
+ the software would involve removing ubuntu-desktop, the package should
+ be treated as uninstallable (just as it is with software updates). 5. If
+ the relevant package cannot be installed, for that reason or any other,
+ an error alert should appear..."

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

Title:
  USC allows a package installation to uninstall vital packages

Status in software-center package in Ubuntu:
  Triaged

Bug description:
  software-center 5.4.1.3, Ubuntu 12.10

  I downloaded steam_latest.deb from steampowered.com, saved it, double
  clicked on it, and Software Center launched.  It brought up the deb
  information page, I clicked Install, and Software Center proceeded to
  remove literally about half of the installed pacakges on my system
  (about 400), including things like unity, ubuntu-desktop, and,
  ironically, software-center itself.  It eventually errored out (see
  attached log).

  Using /var/log/apt/history.log, I was able to restore the system's
  packages to their previous state, but Software Center shouldn't have
  allowed this to happen (whether or not the third-party .deb was
  actually at fault).

  NB: To correct the apt error, I did "apt-get -f install".  Then, after
  I apt-get installed the packages which were removed, steam was still
  installed, so it wasn't a dependency error which caused the packages
  to be removed.  I have no idea why it actually happened.

  <https://wiki.ubuntu.com/SoftwareCenter#installing>: "4. If installing
  the software would involve removing ubuntu-desktop, the package should
  be treated as uninstallable (just as it is with software updates). 5.
  If the relevant package cannot be installed, for that reason or any
  other, an error alert should appear..."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1110188/+subscriptions