Mailinglist Archive: zypp-devel (58 mails)

< Previous Next >
[zypp-devel] rpmdb2solv and rpm5
  • From: Bernhard Rosenkränzer <br@xxxxxxxxxxxx>
  • Date: Tue, 02 Jun 2009 00:57:14 +0200
  • Message-id: <f673579f4682733075de13ed979877bb@xxxxxxxxxxxx>
[mls: duncanmv suggested we should Cc you on this]

Hi,
We're planning to switch Ark Linux over to using zypper for package
installation, and have taken the first steps to make it work with our rpm5
-- we've already posted the patches we're using to zypp-devel.

With these patches, we got things to work rather nicely -- we can remove
packages with their dependencies, and we can install new packages with
proper dependency resolution.

However, after any operation, we get an error about the rpm database [even
though the operation itself succeeds] that can be traced down to rpmdb2solv
acting differently when trying to update an existing solv file than when
creating one from scratch:

# rpmdb2solv -o test.solv ; echo $?
0
# rpmdb2solv -o test1.solv test.solv; echo $?
db->get: No such file or directory
corrupt rpm database
1

Any idea why rpmdb2solv could be failing when trying to update an older
file, while it works when building from the same rpmdb from scratch?

Thanks,
bero

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >