Bug 400840

Summary: multiple problems with locks
Product: [openSUSE] openSUSE 11.0 Reporter: Michael Schröder <mls>
Component: libzyppAssignee: Stefan Schubert <schubi>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: dmacvicar
Version: RC 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot
testcase

Description Michael Schröder 2008-06-17 12:06:59 UTC
If a package cannot be installed because some other package is locked, the generated conflicts list doesn't contain one "remove lock" entry, but a "remove lock" entry for every package version.

Example:
kdebase4-nsplugin-4.0.4-18.1.i586 requires kdebase4 = 4.0.4, but this requirement cannot be provided
uninstallable providers: kdebase4-4.0.4-18.1.i586[repo-oss]
                   kdebase4-4.0.4-18.1.i586[openSUSE-DVD 11.0]
    [ ] do not forbid installation of kdebase4-4.0.4-18.1.i586
    [ ] do not forbid installation of kdebase4-4.0.4-18.1.i586
    [ ] do not install kdebase4-nsplugin-4.0.4-18.1.i586
    [ ] Ignore some dependencies of kdebase4-nsplugin

Also, if chose "do not install kdebase4-nsplugin" in the dialog and then exit the UI, "kdebase4-nsplugin" will also be in locked in /etc/zypp/locks!
Comment 2 Stefan Schubert 2008-10-01 06:41:33 UTC
Do you have a testcase ?
Comment 3 Michael Schröder 2008-10-01 08:52:06 UTC
No, sorry, but you should be able to reproduce this issue easily.
Comment 4 Stefan Schubert 2008-10-06 08:27:54 UTC
Hm, I cannot reproduce that error. Have a look to the screen shot. "boo" is available in 3 repos. Could you please generate a testcase ?
Comment 5 Stefan Schubert 2008-10-06 08:29:01 UTC
Created attachment 243579 [details]
screenshot
Comment 6 Stefan Schubert 2008-10-06 08:29:40 UTC
The second "kdebase4-nsplugin" I also cannot reproduce :-(
Comment 7 Michael Schröder 2008-10-06 08:35:59 UTC
How should a testcase help you? It doesn't test the UI.
Comment 8 Stefan Schubert 2008-10-06 09:31:20 UTC
The bug has nothing to do with the UI. Error messages are generated by libzypp.
I cannot reproduce this error. So please show me, or send me a testcase.
Comment 9 Stefan Schubert 2008-10-09 08:34:40 UTC
Created attachment 244527 [details]
testcase
Comment 10 Stefan Schubert 2008-10-09 08:36:04 UTC
I have tried again and have found one case which with this error happens.
Comment 11 Stefan Schubert 2008-10-09 15:20:25 UTC
The first bug will be solved with the job queue in the future. Meanwhile
I have put more information to the solution:

>!> uninstallable providers: cscope-15.6-93.1.i586[openSUSE-retail 11.0]
>!>    Solution:
>!>       do not forbid installation of cscope-15.6-93.1.i586[repo-oss]
>!>       
>!>    Solution:
>!>       do not forbid installation of cscope-15.6-93.1.i586[stable]
>!>       
>!>    Solution:
>!>       do not forbid installation of cscope-15.6-93.1.i586[openSUSE-retail 11.0]
>!>       
>!>    Solution:
>!>       do not install cscope-debugsource-15.6-93.1.i586
>!>       
>!>    Solution:
>!>       Ignore some dependencies of cscope-debuginfo
>!>       

The second bug is fixed too.