OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: Neil Waldhauer on March 27, 2016, 04:01:12 pm
-
I'm using yum, mostly from command line, but sometimes checking my work with ANPM. While installing prerequisites for Mozilla, OpenOffice and a few others, yum does something and all invocations that do any work end with an error condition
Warning: RPMDB altered outside of yum.
Installing : libc-0.6.6-26.oc00.i386
Rpmdb checksum is invalid: dCDPT(pkg checksums)
This is harmless, except for the non-zero return code from yum. I want to call yum and check the return code, so a wrong return code is less convenient. Is there a way to fix the Rpmdb or get yum to ignore the error?
rpm --repairdb does not appear to make the error go away.
-
Following up, I see no fix for this, but bug number #117 is open for the issue.
http://trac.netlabs.org/rpm/ticket/117 (http://trac.netlabs.org/rpm/ticket/117)
The Arca Noae Package manager suffers from the same error. At the very least, you cannot rely on the return code from yum to judge the success of any operation.
-
Hi Neil.
I agree with you that you cannot rely on the return code. I used to got errors that said that the package did not get installed and at the end it got installed on some installation.
But the good part on my side is that it still works and do it has to do even if the error message says anything.
Note: Since I always forget the YUM commands I created a "note to myself here (http://www.os2world.com/wiki/index.php/RPM/YUM_Tips_on_OS/2-eCS)".
Regards
-
Note: Since I always forget the YUM commands I created a "note to myself here (http://www.os2world.com/wiki/index.php/RPM/YUM_Tips_on_OS/2-eCS)".
you know that the netlabs yum/rpm wiki always contains the last info about yum commands I hope
-
There is an issue on the yum/rpm wiki regarding Platform selection.
I need to use platform selection in order to install Firefox 38. One library, pango, is only available built for 686. So I need to use platform selection to get pango. However, then the rest of my system is inconsistent and I get quite a few errors from yum about that.
The errors persist until I issue a yum reinstall * command. If this is how it's supposed to operate, then a note to reinstall everything after platform selection would be good.
Of course my original error still appears, and yum reports failure for all operations, even though they appear to work.
-
There is an issue on the yum/rpm wiki regarding Platform selection.
that's not really true. As if you have updated os2-base when it was available then your platform would be set right.
I will add a note on that.
Of course my original error still appears, and yum reports failure for all operations, even though they appear to work.
Sure it is, as this is a known one and not fixed. Even it does not hurt at all.