Bug 854427

Summary: repo caching fails because appdata2solv does not exist
Product: [openSUSE] openSUSE Tumbleweed Reporter: Julian Wolf <juwolf>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: mls, trenn
Version: 13.2 Milestone 0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Julian Wolf 2013-12-09 10:00:17 UTC
During factory installation caching a repo fails (and afterward the complete installation) because appdata2solv which is called in repo2solv cannot be found. This message pops up and can be found in the logs.

This appdata2solv call seems being included 6 days ago with this commit: https://github.com/openSUSE/libsolv/commit/3c1f4d97d1d5d469e1bee747776ae547b98ec468
Therefore I add mls in CC.

I can provide full yast-logs if necessary but here is the critical part from y2log:

2013-12-09 04:07:46 <1> haley.arch.suse.de(3126) [zypp] RepoManager.cc(buildCache):1132 openSUSE-13.1-1.40 building cache...yast2
2013-12-09 04:07:46 <1> haley.arch.suse.de(3126) [zypp] RepoManager.cc(buildCache):1163 repo type is yast2
2013-12-09 04:07:46 <1> haley.arch.suse.de(3126) [zypp++] ExternalProgram.cc(start_program):246 Executing 'repo2solv.sh' '-o' '/var/cache/zypp/solv/openSUSE-13.1-1.40/solv' '/var/cache/zypp/raw/openSUSE-13.1-1.40'
2013-12-09 04:07:46 <1> haley.arch.suse.de(3126) [zypp++] ExternalProgram.cc(start_program):402 pid 3446 launched
2013-12-09 04:07:46 <2> haley.arch.suse.de(3126) [zypp] RepoManager.cc(buildCache):1197   /usr/bin/repo2solv.sh: line 226: appdata2solv: command not found
2013-12-09 04:07:46 <2> haley.arch.suse.de(3126) [zypp] RepoManager.cc(buildCache):1197   
2013-12-09 04:07:46 <2> haley.arch.suse.de(3126) [zypp] RepoManager.cc(buildCache):1197   gzip: stdout: Broken pipe
2013-12-09 04:07:46 <1> haley.arch.suse.de(3126) [zypp++] ExternalProgram.cc(checkStatus):496 Pid 3446 exited with status 4
2013-12-09 04:07:46 <5> haley.arch.suse.de(3126) [zypp] Exception.cc(log):137 RepoManager.cc(buildCache):1210 THROW:    [|] Failed to cache repo (4).
2013-12-09 04:07:46 <5> haley.arch.suse.de(3126) [zypp] Exception.cc(log):137 History:
2013-12-09 04:07:46 <5> haley.arch.suse.de(3126) [zypp] Exception.cc(log):137  - 'repo2solv.sh' '-o' '/var/cache/zypp/solv/openSUSE-13.1-1.40/solv' '/var/cache/zypp/raw/openSUSE-13.1-1.40'
2013-12-09 04:07:46 <5> haley.arch.suse.de(3126) [zypp] Exception.cc(log):137 /usr/bin/repo2solv.sh: line 226: appdata2solv: command not found
2013-12-09 04:07:46 <5> haley.arch.suse.de(3126) [zypp] Exception.cc(log):137 
2013-12-09 04:07:46 <5> haley.arch.suse.de(3126) [zypp] Exception.cc(log):137 gzip: stdout: Broken pipe
Comment 1 Michael Schröder 2013-12-09 10:54:48 UTC
Oops, I forgot to enable appdata support in the specfile. Now fixed, will submit to Factory ASAP.

Thanks for the report.