Bug 305785

Summary: YaST not providing proper error message when media check fails
Product: [openSUSE] openSUSE 10.3 Reporter: Michal Zugec <mzugec>
Component: libzyppAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Normal    
Priority: P5 - None CC: kkaempf, ma
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 305833    
Attachments: y2log

Description Michal Zugec 2007-08-29 07:56:17 UTC
libzypp-3.18.4-3
I select several packages in yast2-packagemanages then it shows progress-bar with description that first package will be downloaded and then it finished.

In log file (I will attach it) I can see:
2007-08-29 08:58:37 <3> rock(14130) [zypp] PackageProvider.cc(providePackage):110 Failed to provide Package [
     S2:1]
[
     package
]
xorg-x11-driver-input-7.2-94.i586
Comment 1 Michal Zugec 2007-08-29 08:02:06 UTC
Created attachment 160574 [details]
y2log

attached y2log file (compressed)
Comment 2 Klaus Kämpf 2007-08-29 08:18:51 UTC
y2log shows
"Media source http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ does not contain the desired media"

IIRC, this is known and fixed. Duncan ?

Michal, did YaST provide a understandable error message ?
Comment 3 Michal Zugec 2007-08-29 08:21:52 UTC
No, without any message (no error, no warning, no inform)
Comment 4 Stanislav Visnovsky 2007-08-29 08:24:45 UTC
Seems to be triggered by the recent redirector change for Factory.
Comment 5 Michal Zugec 2007-08-29 09:00:48 UTC
After I removed Factory source and add it again it works as expected.
But YaST (from libzypp) definitely should provide some warning to user that there is something wrong with inst_source
Comment 6 Stanislav Visnovsky 2007-08-29 09:42:24 UTC
This case is really very special - repo changing the type.
Comment 7 Michal Zugec 2007-08-29 10:36:18 UTC
Lado, this is probably YaST problem, that doesn't handle error from libzypp?
Comment 8 Klaus Kämpf 2007-08-29 15:08:26 UTC
Look at bug #304200 for detecting repo change.

Keeping this bug open to improve YaSTs error reporting, adapting summary.
Comment 9 Jan Kupec 2007-09-03 08:25:39 UTC
Closing this bug, see https://bugzilla.novell.com/show_bug.cgi?id=305833#c6