Bug 283531

Summary: KPackageKit is unable to remove conflicting packages
Product: [Applications] apper Reporter: Thomas Goettlicher <tgoettlicher>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.