Package conflict check does not take Replaces field into account
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
software-center 5.2.3 on Ubuntu 12.04 LTS
Description:
An attempt to install a new package that replaces an existing one will fail if the existing package has the new package listed as a conflict, even if the new packages has a proper Replaces field in the control file.
To reproduce:
Download the "sudo-ldap" package (e.g. apt-get download sudo-ldap) and attempt to install it when the stock "sudo" package is installed. Software center will refuse to install with the following error message:
Breaks existing package "sudo" conflict: sudo-ldap ()
Works fine when installed via apt-get.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2.3
ProcVersionSign
Uname: Linux 3.2.0-26-
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Thu Jul 5 10:07:53 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
Hi Todd, and thank you for your report. Unfortunately, I cannot reproduce the issue that you describe. When I try to install sudo-ldap, I get the proper package installation warning dialog as shown in the attached screenshot.
Is your system fully up-to-date? Could you please retry and let us know if you continue to see the error dialog and not the info dialog as per my screenshot.
Many thanks for your help!
Gary