Hi all,
it appears that the dependency solver that kiwi uses for cache generation is less
powerful then the one during stage 1 or 2.
IMHO that's a bug. At least it's unexpected behavior.
I called kiwi as follows
kiwi --init-cache /path/to/dir/with/config.xml --cache /var/cache/mykiwi
my config.xml contained a line
<package name="netcat"/>
Which lead to the following error
--- snip ---
Aug-27 22:12:22 <1> : Reading image description [Cache]...
Aug-27 22:12:22 <1> : Initialize image cache...
Aug-27 22:12:22 <1> : --> Building cache wds_1...
Aug-27 22:12:22 <1> : Setting up SaT solver...
Aug-27 22:12:22 <1> : --> Using libsolv binding
Aug-27 22:12:22 <1> : --> Loading
http://.../opensuse/live/distribution/13.1/repo/non-oss/...
done
Aug-27 22:12:23 <1> : --> Loading http://.../opensuse/live/distribution/13.1/redoness/...
Aug-27 22:12:23 <1> : --> Loading http://.../opensuse/live/update/13.1/... done
Aug-27 22:12:26 <2> : --> Failed to queue job: netcat
skipped
Aug-27 22:12:26 <3> : SaT solver failed jobs found !
Aug-27 22:12:26 <1> : No packages/patterns solved
Aug-27 22:12:26 <1> : Closing session with ecode: 1
Aug-27 22:12:26 <3> : KIWI exited with error(s)
--- snap ---
The very same config.xml works fine for normal kiwi operation.
If I replace the offending line with
<package name="netcat-openbsd"/>
cache generation works, too.
The package name is netcat-openbsd:
box:~ # rpm -q netcat-openbsd
netcat-openbsd-1.89-90.1.2.x86_64
But it does provide netcat:
box:~ # rpm -q --provides netcat-openbsd
nc6 = 1.89
netcat = 1.89
netcat-openbsd = 1.89-90.1.2
netcat-openbsd(x86-64) = 1.89-90.1.2
This is on openSUSE 13.1 with this version of kiwi:
box:~ # kiwi --version
Aug-27 22:13:37 <1> : Version:
Aug-27 22:13:37 <1> : --> vnr: 7.03.14
Aug-27 22:13:37 <1> : --> git: 1f478cf99e795a2e5b81ea5585f5e39b25c499d4
Regards -- Till
--
Dipl.-Inform. Till Dörges
doe...@pre-sense.de
Tel. +49 - 40 - 244 2407 - 14
Fax +49 - 40 - 244 2407 - 24
PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH
Geschäftsführer/Managing Directors AG Hamburg, HRB 107844
Till Dörges, Jürgen Sander USt-IdNr.: DE263765024