Bug 298897 - yast2-gtk / YOU does not find update source
Summary: yast2-gtk / YOU does not find update source
Status: RESOLVED DUPLICATE of bug 297627
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 1
Hardware: 64bit openSUSE 10.3
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Edith Parzefall
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 15:53 UTC by Marcus Meissner
Modified: 2007-08-13 12:01 UTC (History)
4 users (show)

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


Attachments
Yast2.tar.bz2 (731.23 KB, application/x-tbz)
2007-08-09 15:53 UTC, Marcus Meissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2007-08-09 15:53:18 UTC
YOU using yast2-gtk does not find an update source even though one is installed.

The source is download.opensuse.org/update/10.3 and is enabled there.

yast2.tar.bz2 logfiles are attached.
Comment 1 Marcus Meissner 2007-08-09 15:53:49 UTC
Created attachment 156546 [details]
Yast2.tar.bz2

yast2logs
Comment 2 Michael Meeks 2007-08-10 14:00:54 UTC
Hmm - odd; I add that source & refresh and get:

"Warning"
"There was an error in repository initialization.
Cache exception"

Also - my list of packages is empty, even though I have some other (apparently working) sources.

2007-08-10 14:51:49 <0> t60p(20354) [zypp] CacheStore.cc(consumePatch):348 got patch update-test-security, atoms: update-test-security(atom)
2007-08-10 14:51:49 <1> t60p(20354) [parser::yum] RepoParser.cc(patch_CB):241 got patch update-test-security2629-0 noarch
2007-08-10 14:51:49 <1> t60p(20354) [parser::yum] RepoParser.cc(doJobs):342 going to parse patch file ./repodata/patch-rubygems-2644.xml (4886 bytes)
2007-08-10 14:51:49 <1> t60p(20354) [parser::yum] PatchFileReader.cc(Impl):165 Reading /var/cache/zypp/raw/testpub/repodata/patch-rubygems-2644.xml
2007-08-10 14:51:49 <0> t60p(20354) [zypp] CacheStore.cc(consumePatch):348 got patch rubygems, atoms: rubygems(atom) rubygems(atom) rubygems(atom)
2007-08-10 14:51:49 <1> t60p(20354) [parser::yum] RepoParser.cc(patch_CB):241 got patch rubygems2644-0 noarch
2007-08-10 14:51:49 <1> t60p(20354) [wfm] Callbacks.cc(progress):451 ProgressProgress: id:18, Building repository 'testpub' cache: 148%
2007-08-10 14:51:49 <1> t60p(20354) [YCP] PackageCallbacks.ycp:2064 ProgressProgress: 18, 148%
2007-08-10 14:51:49 <2> t60p(20354) [ui] YProgressBar.cc(changeWidget):88 Too big value 148 for progress bar ( max is 100 )
2007-08-10 14:51:49 <5> t60p(20354) [wfm] Callbacks.YCP.h(expecting):394 Wrong return type <unspec>: Expected boolean
2007-08-10 14:51:49 <1> t60p(20354) [zypp] RepoManager.cc(buildCache):566 Commit cache..
2007-08-10 14:51:51 <1> t60p(20354) [wfm] Callbacks.cc(progress):451 ProgressProgress: id:18, Building repository 'testpub' cache: 100%
2007-08-10 14:51:51 <1> t60p(20354) [YCP] PackageCallbacks.ycp:2064 ProgressProgress: 18, 100%
2007-08-10 14:51:51 <5> t60p(20354) [wfm] Callbacks.YCP.h(expecting):394 Wrong return type <unspec>: Expected boolean
2007-08-10 14:51:51 <1> t60p(20354) [zypp] CacheStore.cc(~Impl):153 name cache hits: 0 | cache size: 0
2007-08-10 14:51:51 <1> t60p(20354) [wfm] Callbacks.cc(progress):451 ProgressProgress: id:18, Building repository 'testpub' cache: 100%
2007-08-10 14:51:51 <1> t60p(20354) [YCP] PackageCallbacks.ycp:2064 ProgressProgress: 18, 100%
2007-08-10 14:51:51 <5> t60p(20354) [wfm] Callbacks.YCP.h(expecting):394 Wrong return type <unspec>: Expected boolean
2007-08-10 14:51:51 <1> t60p(20354) [wfm] Callbacks.cc(finish):468 ProgressFinish: id:18, Building repository 'testpub' cache
2007-08-10 14:51:51 <1> t60p(20354) [YCP] PackageCallbacks.ycp:2054 ProgressFinish: 18
2007-08-10 14:51:51 <1> t60p(20354) [wfm] clients/sw_single.ycp:190 Pkg Builtin called: LastError
2007-08-10 14:52:26 <2> t60p(20354) [YCP] Report.ycp:457 There was an error in repository initialization.
Cache exception
2007-08-10 14:52:26 <1> t60p(20354) [wfm] clients/sw_single.ycp:192 Pkg Builtin called: SourceGetCurrent
2007-08-10 14:52:26 <1> t60p(20354) [wfm] clients/sw_single.ycp:199 Pkg Builtin called: TargetInit
2007-08-10 14:52:26 <1> t60p(20354) [zypp] ZYppImpl.cc(initTarget):216 initTarget( /, 0)
2007-08-10 14:52:26 <1> t60p(20354) [zypp] ZYppImpl.cc(initTarget):219 Repeated call to initTarget()
2007-08-10 14:52:26 <1> t60p(20354) [ui] YUI_builtins.cc(evaluateGetLanguage):382 Stripping encoding
2007-08-10 14:52:26 <1> t60p(20354) [wfm] clients/sw_single.ycp:303 Pkg Builtin called: SetTextLocale
2007-08-10 14:52:26 <1> t60p(20354) [YCP] clients/sw_single.ycp:305 SW_SINGLE: result CheckWhichPackages `found_descr
2007-08-10 14:52:26 <1> t60p(20354) [wfm] clients/sw_single.ycp:347 Pkg Builtin called: GetPackages
2007-08-10 14:52:27 <1> t60p(20354) [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished

From your logs a similar thing seems to be happening:

2007-08-09 17:47:44 <1> westernhagen(4968) [zypp] CacheInitializer.cc(CacheInitializer):96 Repository cache already initialized
2007-08-09 17:47:44 <1> westernhagen(4968) [zypp] RepoManager.cc(cleanCache):628 http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ cleaning cache...
2007-08-09 17:47:44 <1> westernhagen(4968) [wfm] Callbacks.cc(start):431 ProgressStart: id:52, Cleaning repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache
2007-08-09 17:47:44 <1> westernhagen(4968) [YCP] PackageCallbacks.ycp:2067 ProgressStart: 52
2007-08-09 17:47:45 <1> westernhagen(4968) [wfm] Callbacks.cc(progress):451 ProgressProgress: id:52, Cleaning repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache: -1%
2007-08-09 17:47:45 <1> westernhagen(4968) [YCP] PackageCallbacks.ycp:2120 ProgressProgress: 52, -1% 
2007-08-09 17:47:45 <5> westernhagen(4968) [zypp] Exception.cc(log):119 sqlite3x_reader.cpp(read):71 THROW:    sqlite3x_reader.cpp(read):71: SQL logic error or missing database
2007-08-09 17:47:45 <5> westernhagen(4968) [zypp] Exception.cc(log):119 CacheStore.cc(cleanRepository):878 THROW:    CacheStore.cc(cleanRepository):878: Cache exception
2007-08-09 17:47:45 <1> westernhagen(4968) [zypp] CacheStore.cc(~Impl):153 name cache hits: 0 | cache size: 0
2007-08-09 17:47:45 <1> westernhagen(4968) [wfm] Callbacks.cc(progress):451 ProgressProgress: id:52, Cleaning repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache: -1%
2007-08-09 17:47:45 <1> westernhagen(4968) [YCP] PackageCallbacks.ycp:2120 ProgressProgress: 52, -1% 
2007-08-09 17:47:45 <1> westernhagen(4968) [wfm] Callbacks.cc(finish):468 ProgressFinish: id:52, Cleaning repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache
2007-08-09 17:47:45 <1> westernhagen(4968) [YCP] PackageCallbacks.ycp:2110 ProgressFinish: 52
2007-08-09 17:47:45 <1> westernhagen(4968) [zypp] CacheStore.cc(~Impl):153 name cache hits: 0 | cache size: 0
2007-08-09 17:47:45 <1> westernhagen(4968) [wfm] Callbacks.cc(progress):451 ProgressProgress: id:49, Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache: 0%
2007-08-09 17:47:45 <1> westernhagen(4968) [YCP] PackageCallbacks.ycp:2120 ProgressProgress: 49, 0% 
2007-08-09 17:47:45 <1> westernhagen(4968) [wfm] Callbacks.cc(finish):468 ProgressFinish: id:49, Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache
2007-08-09 17:47:45 <1> westernhagen(4968) [YCP] PackageCallbacks.ycp:2110 ProgressFinish: 49
2007-08-09 17:47:45 <3> westernhagen(4968) [wfm] Source.cc(SourceRefreshNow):2030 Error while refreshing the source: Cache exception
2007-08-09 17:47:45 <1> westernhagen(4968) [YCP] OnlineUpdateCallbacks.ycp:506 Refreshing source: 1
2007-08-09 17:47:45 <1> westernhagen(4968) [wfm] OnlineUpdateCallbacks.ycp:507 Pkg Builtin called: SourceRefreshNow

Does this work for you with yast2-qt instead (remove yast2-gtk I guess).

It'd be interesting to get some insight from the zypp lot.
Comment 3 Marcus Meissner 2007-08-10 14:19:51 UTC
I see the same with yast2-qt.

so I suspect it is a deeper lying problem.
Comment 5 Peter Buschbacher 2007-08-10 19:47:40 UTC
Might be a duplicate of Bug 297627. But I don't know how they got the detailed logs there.
Peter Buschbacher
Comment 6 Stefan Schubert 2007-08-13 12:01:24 UTC
Yes, it seems that it has been already fixed.

*** This bug has been marked as a duplicate of bug 297627 ***