Bugzilla – Bug 298506
zypper refresh: Cache exception - insuficient error reporting
Last modified: 2007-08-12 20:19:15 UTC
weierstrass:~ # zypper ref Refreshing stable-x86 * Cleaning repository 'stable-x86' cache * Building repository 'stable-x86' cache Error reading repository 'stable-x86': Cache exception Skipping repository 'stable-x86' because of the above error. Could not refresh the repositories because of errors. weierstrass:~ # Removing the cache doesn't help either.
Created attachment 156280 [details] zypper.log
*** This bug has been marked as a duplicate of bug 297627 ***
Raising to Blocker because of usability concerns.
Reopening. zypper must report proper error messages containing information about - what failed - why it failed - how to correct it
This bug is virtually identical to https://bugzilla.novell.com/show_bug.cgi?id=297647#c12 Everything works with the factory repositories but not with external 3rd party repos like Packman or Guru. The error started between Alpha 5 and 6.
Sorry I've marked it as duplicate because it was later than bug 297627
(In reply to comment #6 from Nikolay Derkach) > Sorry I've marked it as duplicate because it was later than bug 297627 > I note that bug is marked resolved, however it should NOT be. It works for FACTORY repos but NOT for any 3rd party repos that I've tested including ones pointed to by the opensuse.org website as additional yast repositories. These pointes worked until A5 and failed during the A6/7 changes. Using the latest version of zypper available on FACTORY: asus:/usr/src/linux-2.6.22.1-14/drivers/md # zypper ref Refreshing FACTORY Non OSS * Building repository 'FACTORY Non OSS' cache Refreshing openSUSE-10.3-Updates * Building repository 'openSUSE-10.3-Updates' cache Refreshing 20070807-100738 * Building repository '20070807-100738' cache All repositories have been refreshed. asus:/usr/src/linux-2.6.22.1-14/drivers/md # zypper -V zypper 0.8.7 asus:/usr/src/linux-2.6.22.1-14/drivers/md # rpm -q zypper zypper-0.8.7-2 asus:/usr/src/linux-2.6.22.1-14/drivers/md # zypper ref Refreshing FACTORY Non OSS * Building repository 'FACTORY Non OSS' cache Refreshing Guru-RPMs Not found: Media Exception Error reading repository 'Guru-RPMs': Valid metadata not found at specified URL(s) Skipping repository 'Guru-RPMs' because of the above error. Refreshing openSUSE-10.3-Updates * Building repository 'openSUSE-10.3-Updates' cache Refreshing 20070807-100738 * Building repository '20070807-100738' cache Refreshing Packman_10.2_1 Not found: Media Exception Error reading repository 'Packman_10.2_1': Valid metadata not found at specified URL(s) Skipping repository 'Packman_10.2_1' because of the above error. Some of the repositories have not been refreshed because of error.
Jan, can you please retest with the latest zypper 0.8.9 from stable? It seems to work. In the meantime i will have a look at the problem with packman and guru.
(In reply to comment #4 from Klaus Kaempf) > zypper must report proper error messages containing information about > - what failed > - why it failed > - how to correct it Klaus, about the error reporting, please see https://bugzilla.novell.com/show_bug.cgi?id=294483#c5 (note that it is 0.8.6, the fix did not hit Alpha7), but i will try to improve it like you suggest.
*** Bug 299136 has been marked as a duplicate of this bug. ***
The insufficient error reporting in repository operations should now be fixed. Will be submitted in zypper 0.8.10. The other errors are covered in another bugs (bug 297627, bug 298350, etc...), please continue there.
submitted in zypper 0.8.10, more output improvements to come with 0.8.11.