Bug 305785 - YaST not providing proper error message when media check fails
Summary: YaST not providing proper error message when media check fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 2
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Duncan Mac-Vicar
QA Contact: Stanislav Visnovsky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 305833
  Show dependency treegraph
 
Reported: 2007-08-29 07:56 UTC by Michal Zugec
Modified: 2007-09-03 08:25 UTC (History)
2 users (show)

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


Attachments
y2log (156.48 KB, application/x-bzip)
2007-08-29 08:02 UTC, Michal Zugec
Details

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