Bug 283531 - KPackageKit is unable to remove conflicting packages
Summary: KPackageKit is unable to remove conflicting packages
Status: RESOLVED NOT A BUG
Alias: None
Product: apper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 11:43 UTC by Thomas Goettlicher
Modified: 2011-10-07 14:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Goettlicher 2011-10-07 11:43:03 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

KPackageKit just fails when it sees a conflict in a package to be installed. 
It does not offer to uninstall the offending package.

Reproducible: Always

Steps to Reproduce:
  0. 
Make sure gcc 4.5 is installed.

  1. 
Tell Dolphin to open libgcc46-4.6.0_20110505-14.1.x86_64.rpm 
(built for openSUSE 11.4).

  2. 
Tell KPackageKit to install the package.

Actual Results:  
  1. 
KPackageKit asks whether to install the package.

  2. 
KPackageKit cannot install the package because of a conflict: libgcc1 is
provided by both libgcc45 and libgcc46.

Expected Results:  
  2. 
Let KPackageKit offer to uninstall gcc 4.5 (and cascade).

Workaround:
{ zypper in libgcc46-4.6.0_20110505-14.1.x86_64.rpm; }

This bug was: https://bugzilla.novell.com/show_bug.cgi?id=718928

Reproducible: Didn't try


Actual Results:  
 

Expected Results:
Comment 1 Daniel Nicoletti 2011-10-07 14:24:07 UTC
Sorry but this is invalid,
Apper/KPackageKit both can offer you to uninstall a conflicting package (which is what happens with aptcc backend).
The problem is that your backend simply don't handle that correctly, please fill a bug report agains the zypper packagekit backend.