Michael Andres changed bug 1190113
What Removed Added
Flags needinfo?(ma@suse.de)  

Comment # 4 on bug 1190113 from
(In reply to Michal Filka from comment #3)
> Can you help us with debugging it? Can it be related to the bug referenced
> in comment#2? Thanks

Most likely:
> grep 'Pkg.*RepoManager\|init_knownRepositories\|setDirty\|solv/openSUSE-1-0' y2log
> ... [Pkg] PkgFunctions.cc(CreateRepoManager):236 Path to repository files: /etc/zypp/repos.d
> ... [zypp] RepoManager.cc(init_knownRepositories):839 start construct known repos
> ... [zypp] RepoManager.cc(init_knownRepositories):904 end construct known repos
init_knownRepositories: zypp::RepoManager constructed for /

> ... [DEFINE_LOGGROUP] PathInfo.cc(assert_dir):353 mkdir /var/cache/zypp/solv/openSUSE-1-0 00755
> ... [DEFINE_LOGGROUP++] forkspawnengine.cc(start):149 Executing 'repo2solv' '-o' '/var/cache/zypp/solv/openSUSE-1-0/solv' '-X' '/var/cache/zypp/raw/openSUSE-1-0'
> ... [zypp::satpool] PoolImpl.cc(setDirty):253 _createRepo openSUSE-1-0
> ... [zypp::satpool] PoolImpl.cc(setDirty):253 _addSolv openSUSE-1-0
> ... [zypp] Repository.cc(addSolv):336 sat::repo(openSUSE-1-0){prio 0.0, size 3773} after adding /var/cache/zypp/solv/openSUSE-1-0/solv
> ... [zypp::satpool] PoolImpl.cc(setDirty):253 setRepoInfo openSUSE-1-0
openSUSE-1-0 created and loaded into the pool (not using a temp. space)
Not added to the RepoManager/system, but using the systems cache
/var/cache/zypp/...

> ... [Pkg] PkgFunctions.cc(RepoManagerUpdateTarget):459 Updating RepoManager (target changed from  to /)
> ... [Pkg] PkgFunctions.cc(RepoManagerUpdateTarget):463 repomanager options size: 0
> ... [zypp] RepoManager.cc(init_knownRepositories):839 start construct known repos
> ... [DEFINE_LOGGROUP] PathInfo.cc(recursive_rmdir):434 recursive_rmdir /var/cache/zypp/solv/openSUSE-1-0 
> ... [zypp] RepoManager.cc(init_knownRepositories):904 end construct known repos
init_knownRepositories: a 2nd zypp::RepoManager constructed for /
performing the cleanup because the openSUSE-1-0  repo is not known in the
system


Either do not use 2 zypp::RepoManager at the same time for the same system, or
use a temp. repo that keeps it's data outside the systems cache.

(see. https://github.com/openSUSE/libzypp/blob/master/zypp/RepoInfo.h#L244
 If you want to use a temporary repository.....)


You are receiving this mail because: