Bug 657608

Summary: yast2 -i always exits on download errors
Product: [openSUSE] openSUSE 11.4 Reporter: Bernhard Wiedemann <bwiedemann>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: mantel
Version: Factory   
Target Milestone: Milestone 6 of 6   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 log

Description Bernhard Wiedemann 2010-12-04 20:26:30 UTC
yast2 -i always exits on download/checksum errors

How To Reproduce:
1. install Factory from KDE-LiveCD-i686-Build0915
2. call yast2 -i
3. select "Accept" and "Continue"
4. have a rpm checksum error (e.g. through bug 657605)

Actual Results:
yast2 pops up a dialog, asking if it should continue in spite of checksum errors. answering either Yes or No immediately exits yast2 with returncode 0 (success)

Expected Results:
yast2 should not just exit - but offer to re-download the rpm as zypper does.
Comment 3 Ladislav Slezák 2010-12-30 13:52:45 UTC
Please, attach YaST logs (see http://en.opensuse.org/openSUSE:Report_a_YaST_bug)
Comment 4 Bernhard Wiedemann 2011-01-03 12:39:15 UTC
Created attachment 406734 [details]
yast2 log

How To Reproduce:
1. # create repo with corrupt files:
 zypper in createrepo
 mkdir /root/testrepo
 cd /root/testrepo
 wget http://download.opensuse.org/factory/repo/oss/suse/x86_64/zsync-0.6.2-8.2.x86_64.rpm
 createrepo .
 dd if=/dev/zero of=zsync-0.6.2-8.2.x86_64.rpm count=1 conv=notrunc

2. zypper ar /root/testrepo testrepo
3. yast2 -i zsync
Comment 5 Ladislav Slezák 2011-01-03 18:37:43 UTC
Thank you very much for the step by step description!

Fixed in yast2-2.20.8 (partially reverted SVN commit 62754).
Comment 6 Bernhard Wiedemann 2011-01-11 10:00:30 UTC
verified working with yast2-2.20.10-2.1 on Factory