Bug 156031

Summary: YAST 2 Package Manager doesn't Skip package, but aborts
Product: [openSUSE] SUSE Linux 10.1 Reporter: David Wright <david.wright>
Component: libzyppAssignee: Stanislav Visnovsky <visnov>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Major    
Priority: P5 - None CC: ms
Version: Beta 6   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log per request
y2logRPM per request

Description David Wright 2006-03-08 10:22:45 UTC
When a package is unreadable on a repository (due to refresh or network errors), clicking Skip doesn't move on to the next package as it did in 10.0, but has the same affect as Abort, it stops downloading all packages and exits the download process and runs the config scripts before asking if you want to add or remove more packages or exit.
Comment 1 Michael Gross 2006-03-08 12:11:56 UTC
Please notice bug #154090
Does the abort-button work in the intended way?

Please attach the yast logfiles in /var/log/YaST2
Comment 2 David Wright 2006-03-08 12:35:26 UTC
Abort works correctly. Not at beta machine currently, will post logs shortly.
Comment 3 Michael Gross 2006-03-08 15:43:11 UTC
Reassigning to Klaus, not sure if this is backend-related.
Comment 4 David Wright 2006-03-08 16:54:50 UTC
Created attachment 71808 [details]
y2log per request
Comment 5 David Wright 2006-03-08 16:59:55 UTC
Created attachment 71812 [details]
y2logRPM per request

Do you need any of the other log files in addition to these two?
Comment 6 Stanislav Visnovsky 2006-03-13 15:13:11 UTC
If the media change callback returns SKIP, there is no way how SourceImpl::provideFile() can inform the caller about the user's choice.
Comment 7 Marcus Schaefer 2006-03-14 10:46:25 UTC
*** Bug 157549 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Jaeger 2006-04-05 20:26:38 UTC
Stano, what should be done here?
Comment 9 Stanislav Visnovsky 2006-04-06 11:40:20 UTC
We need to introduce a new kind of exception for Source providing a file, 
so the user selected to skip this package.

TargetImpl::commit() then needs to catch the exception and behave accordingly.

Klaus, any idea who could fix this?
Comment 10 Stanislav Visnovsky 2006-04-07 06:19:19 UTC
Working on it
Comment 11 Stanislav Visnovsky 2006-04-07 06:34:26 UTC
Fix in libzypp rev. 2987
Comment 12 Stanislav Visnovsky 2006-04-07 12:41:00 UTC
Works in build 906.
Comment 13 Marcus Schaefer 2006-04-07 12:42:53 UTC
great, thanks a lot
you guys rock :-)