** Changed in: software-center (Ubuntu)
   Importance: Undecided => High

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

-- 
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/1171931

Title:
  Installing multiarch debs can uninstall native arch packages

Status in “software-center” package in Ubuntu:
  Confirmed

Bug description:
  1. Download the .deb which I've attached (it was built from equivs and is 
harmless but I'll also attach the equivs script if you want to reproduce it) on 
an amd64 system with i386 multiarch enabled. It's an i386 deb which depends on 
unity. Importantly Unity is uninstallable with multiarch.
  2. Open it in software-center by software-center fakepkg_1.0_i386.deb
  3. Click "Install".
  4. Observe that s-c tries to install the .deb and removes a load of packages 
in the process, e.g. by comparing ubuntu-desktop versions before and after.

  It is possible to know that this package isn't installable; apt-get
  --dry run can do this, for example:

  laney@raring-vm:~/temp$ apt-get --dry-run install fakepkg
  NOTE: This is only a simulation!
        apt-get needs root privileges for real execution.
        Keep also in mind that locking is deactivated,
        so don't depend on the relevance to the real current situation!
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies.
   fakepkg:i386 : Depends: unity:i386 but it is not going to be installed
   libgudev-1.0-0:i386 : Depends: libudev1:i386 (>= 183) but it is not going to 
be installed
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify 
a solution).

  I don't think it's enough just to know if it can be installed, though
  - you have to make sure that no native arch packages are removed too,
  I think.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to