On Fri, Aug 08, Lorenzo Villani wrote:
Abort, retry, ignore? [A/r/i]: i [...] Removal of (16168)guile-5:1.8.5-1.fc9.i386(@System) failed: Error: Subprocess failed. Error: RPM failed: error: package guile-5:1.8.5-1.fc9.i386 is not installed [...]
Packages with Epoch set are so common in Fedora that it is almost impossible to use zypper to remove such packages. I guess that zypper does not strip the '<Epoch number>:' part prior calling 'rpm -e' (or whatever it calls). I don't know if SuSE has a patched version of rpm or packages are not Epoch-versioned at all. My zypper version is 0.11.10 retrieved from openSuSE 11 branch. I'll see if I can make a patch to fix this.
Got it. This is to be fixed in libzypp. target/rpm/RpmDb.cc void RpmDb::removePackage( Package::constPtr package, unsigned flags ) { return removePackage( package->name() + "-" + package->edition().asString() + "." + package->arch().asString(), flags ); } I suppose rpm dislikes the epoch in edition().asString(): '5:1.8.5-1' BTW: In case 2 versions 4:1.8.5-1 5:1.8.5-1 were installed at the same time, would it be possible ot remove just one of them with rpm? -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org