https://bugzilla.novell.com/show_bug.cgi?id=300993 Summary: improper exceptions/error messages when trying to refresh as non-root Product: openSUSE 10.3 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: dmacvicar@novell.com ReportedBy: jkupec@novell.com QAContact: kkaempf@novell.com Found By: --- 1) Proper MediaException must be thrown (or logged) when user has no permission to write to raw cache dir: 2007-08-16 13:50:31 <5> kompost(6912) [zypp] Exception.cc(log):119 RepoManager.cc(refreshMetadata):609 CAUGHT: Fetcher.cc(start):176: Can't provide /repodata/repomd.xml.key : Can't create /repodata 2007-08-16 13:50:31 <3> kompost(6912) [zypp] RepoManager.cc(refreshMetadata):610 Trying another url... 2007-08-16 13:50:31 <3> kompost(6912) [zypp] RepoManager.cc(refreshMetadata):613 No more urls... 2007-08-16 13:50:31 <5> kompost(6912) [zypp] Exception.cc(log):119 RepoManager.cc(refreshMetadata):614 THROW: RepoManager.cc(refreshMetadata):614: Valid metadata not found at specified URL(s) 2007-08-16 13:50:31 <5> kompost(6912) [zypp] Exception.cc(log):119 zypper-sources.cc(refresh_raw_metadata):95 CAUGHT: RepoManager.cc(refreshMetadata):614: Valid metadata not found at specified URL(s) Here zypper does not know what happend. 2) The same goes for unsufficient permission to write to the DB for non-root. In this case we get: 2007-08-16 14:55:32 <1> kompost(15247) [zypp] RepoManager.cc(buildCache):670 packman building cache... 2007-08-16 14:55:32 <5> kompost(15247) [zypp] Exception.cc(log):119 sqlite3x_reader.cpp(read):71 THROW: sqlite3x_reader.cpp(read):71: SQL logic error or missing database 2007-08-16 14:55:32 <5> kompost(15247) [zypp] Exception.cc(log):119 CacheStore.cc(lookupOrAppendRepository):863 RETHROW: sqlite3x_reader.cpp(read):71: SQL logic error or missing database 2007-08-16 14:55:32 <1> kompost(15247) [zypp] CacheStore.cc(~Impl):154 name cache hits: 0 | cache size: 0 2007-08-16 14:55:32 <5> kompost(15247) [zypp] Exception.cc(log):119 zypper-sources.cc(build_cache):165 CAUGHT: CacheStore.cc(lookupOrAppendRepository):863: SQL logic error or missing database I.e. a CacheException with an improper message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.