Bug 629142

Summary: Yast Online Update doesn't fallback to full RPMs
Product: [openSUSE] openSUSE 11.3 Reporter: Jan Kardell <jan>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: jsuchome, ma, tgoettlicher
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.3   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: No
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs
log excerpt showing ghostscript-fonts-other

Description Jan Kardell 2010-08-06 14:53:49 UTC
Created attachment 381296 [details]
y2logs

YOU used to automatically try the full RPM:n when the delta RPM wasn't available. Now I have to press "Skip file" to use the full RPM. This looks very much like the old bug https://bugzilla.novell.com/show_bug.cgi?id=308603.
Comment 2 Jiří Suchomel 2010-08-18 13:56:57 UTC
I assume this is low level
Comment 3 Michael Andres 2010-09-02 10:49:41 UTC
YaST isn't lowlevel, is it? ;)

If you check the log for e.g. ghostscript-fonts-other, you'll find that providing the 
  ghostscript-fonts-other-8.70-14.1_15.1.1.i586.delta.rpm 
from 
  nfs://skura.kvasta/pub/suse/opensuse/update/11.3/
fails.


YaST PackageCallbacks.ycp receives the error (file not found) and requests a (auto-)retry:
 [YCP] PackageCallbacks.ycp:740 MediaChange error: err'NOT_FOUND:File ...
 [YCP] PackageCallbacks.ycp:922 Autoretry: true
 [YCP] PackageCallbacks.ycp:926 Autoretry attempt: 0
After 5 attempts it gives up and returns
 [YCP] PackageCallbacks.ycp:922 Autoretry: true
 [YCP] PackageCallbacks.ycp:926 Autoretry attempt: 5
 [YCP] PackageCallbacks.ycp:1023 User input: `skip, resetting autoretry url
 [YCP] PackageCallbacks.ycp:1069 MediaChange `skip


Back in libzypp the error is ignored and the full rpm is downloaded.


IMO the same as in bug #308603 (check comments 4 and 6). While in delta download YaST should not request user interaction if the file was not found.
Comment 4 Michael Andres 2010-09-02 10:52:31 UTC
Created attachment 387121 [details]
log excerpt showing ghostscript-fonts-other
Comment 5 Stephan Kulow 2010-10-13 07:55:34 UTC
Michael, please do not assign to screening team in such cases, but to the right yast module. I expect you know.
Comment 6 Ladislav Slezák 2010-10-18 15:50:58 UTC
This has been fixed recently in yast2-2.20.0 (see bnc#377569).

You can try installing the package from http://download.opensuse.org/repositories/YaST:/Head/openSUSE_11.3

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