Bug 459254

Summary: yast uninstalls unrelated packages
Product: [openSUSE] openSUSE 11.1 Reporter: Dean Hilkewich <deanjo>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: lslezak
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs
Requested zypper logs

Description Dean Hilkewich 2008-12-15 22:33:01 UTC
Created attachment 260193 [details]
yast logs

I noticed this when starting up the Product creator module.

 I install product creator in 11.1, it asks if it can install the additional packages needed for it when first started then removes the nero rpm and then installs the needed packages.
Comment 1 Alexander Orlovskyy 2009-01-05 14:02:06 UTC
Please, attach following info:
/var/log/zypper.log

More info on http://en.opensuse.org/Zypper/Troubleshooting
Comment 2 Dean Hilkewich 2009-01-05 18:01:43 UTC
Created attachment 263252 [details]
Requested zypper logs
Comment 3 Jan Kupec 2009-01-15 15:49:51 UTC
Alexander: this bug is about YaST installing/removing incorrect packages, it has nothing to do with zypper.

To the bug: it seems there was a solver problem (nero considered obsolete), wich yast ignored and continued to commit:

2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(problems):1052 Problem 1:
2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(problems):1053 ====================================
2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(problems):1057 nerolinux-3.5.1.0-1.amd64 is not installable
2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(problems):1058 ------------------------------------
2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(problems):1273 deinstallation of nerolinux-3.5.1.0-1.amd64
2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(problems):1282 ------------------------------------
2008-12-15 16:16:09 <3> purgatory(22478) [Pkg] Package.cc(PkgSolve):1918 PkgSolve: 1 packages failed (see /var/log/YaST2/badlist)

I guess Jirka and Lada will want to look at that (we even encountered this problem before IIRC).
Comment 4 Jan Kupec 2009-01-15 15:54:53 UTC
But apart from that, i don't understand why the solver even bothered with obsolete packages - yast should only request installation of needed packages (and it does) and that's it, but it seems it is in verifysystem mode:

2008-12-15 16:16:09 <1> purgatory(22478) [zypp] SATResolver.cc(solving):455   fixsystem = 1

But i've seen this before, too, so maybe it is already reported or fixed.
Comment 5 Ladislav Slezák 2009-01-15 16:04:21 UTC
It has been already fixed.

*** This bug has been marked as a duplicate of bug 439373 ***