[Bug 829138] Re: passing already installed package to software-center causes conflict message

Alexey Feldgendler alexey at feldgendler.ru
Wed Dec 7 16:33:06 UTC 2011


Internally, python-apt uses libapt-pkg, which for each package that has
neither "Architecture: all" nor "MultiArch: same" properties generates a
synthetic confclit with its own versions for other architectures. I.e.
gnome-shell for amd64 conflicts with gnome-shell for i386, and vice
versa, which makes sense.

However, python-apt fails to take architecture-specific conflicts (such
as gnome-shell for amd64 conflicting with gnome-shell for i386) into
account, and instead interprets them as plain conflicts of a package
with itself.

I believe the attached python-apt.fix2.patch is a superficial fix that
doesn't fix the real problem but happens to fix its symptom. I'll make
another fix.

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

Title:
  passing already installed package to software-center causes conflict
  message

Status in “python-apt” package in Ubuntu:
  Confirmed

Bug description:
  in testing the fix to Bug #824692, I noticed that software-center does
  not appear to handle the situation where you pass it .deb file that is
  already installed correctly.

  say you have package-vX.deb which has already been installed on the
  system.

  and you now run 'software-center package-vX.deb' and when it loads up
  you get this message

  "Breaks existing package 'package-vX' conflict: package-vX ( )"

  Now I would expect that running the above command in this case should
  land you on the same page that you get if you navigate through the
  'installed software' pages to that package.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: software-center 4.1.14 [modified: usr/share/software-center/softwarecenter/db/__init__.py usr/share/software-center/softwarecenter/db/application.py]
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Aug 19 11:56:06 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-center
  UpgradeStatus: Upgraded to oneiric on 2011-08-13 (6 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/829138/+subscriptions




More information about the foundations-bugs mailing list