On 2022-08-28 00:07, Christian Boltz wrote:
Hello,
Am Samstag, 27. August 2022, 21:19:53 CEST schrieb Achim Gratz:
Some 2000 packages into that exercise it hit the final speedbump: rpm got upgraded and wanted to change the database format to ndb, which didn't work while in zypper. I could rebuild the rpmdb, but now zypper doesn't start anymore since it wants an older librpm than is now installed. Presumably I could install a new zypper version via rpm if I could figure out the whole dependency chain, but rpm only seems to tell me the next link when I try. Plus having to specify the full package file names out of the cache dir kind of sucks.
Just wondering - did you try to let rpm upgrade all packages at once?
rpm -Uhv $cachedir/repo-oss/*/*.rpm
In theory, this should work ;-) and is probably easier than manually solving the dependencies.
A friend of mine told me this summer that we computer people use a lot the word "should", so that the thing became a running joke with us ;-) I can imagine many ways in what that command would nor work or fail in unexpected manners. In my machine, for instance, it would find current and old rpms, and several versions of packages. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)