Bug 156031 - YAST 2 Package Manager doesn't Skip package, but aborts
Summary: YAST 2 Package Manager doesn't Skip package, but aborts
Status: RESOLVED FIXED
: 157549 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 6
Hardware: i686 SuSE Linux 10.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Stanislav Visnovsky
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 10:22 UTC by David Wright
Modified: 2006-04-07 12:42 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2log per request (2.65 MB, application/octet-stream)
2006-03-08 16:54 UTC, David Wright
Details
y2logRPM per request (509.46 KB, application/octet-stream)
2006-03-08 16:59 UTC, David Wright
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :-)