OS/2, eCS & ArcaOS - Technical > Applications

yum check problems

<< < (3/3)

Martin Iturbide:
I removed and reinstalled "freetype".  The yum check get reduced to this:


--- Quote ---[C:\PROGRAMS\FHS]yum check
gettext-legacy-0.18.3.2-1.oc00.i386 is a duplicate with gettext-legacy-0.18.3.2-1.oc00.i386
gettext-legacy-0.18.3.2-1.oc00.i386 is a duplicate with gettext-legacy-0.18.3.2-1.oc00.i386
rpm-python-4.8.1-23.oc00.i386 is a duplicate with rpm-python-4.8.1-23.oc00.i386
rpm-python-4.8.1-23.oc00.i386 is a duplicate with rpm-python-4.8.1-23.oc00.i386
rpm-python-4.8.1-23.oc00.i386 is a duplicate with rpm-python-4.8.1-23.oc00.i386
Error: check all

--- End quote ---

Like I said, I'm not having problems with the software, but I just wanted to see if this error can get removed.
I didn't go futher with the "rpm -qa" command that Andreas suggestion, since I didn't understand it how to make the call. (or what it does).

Thanks for helping.

Regards

Andreas Schnellbacher:

--- Quote from: Martin Iturbide on March 14, 2015, 10:15:17 pm ---gettext-legacy-0.18.3.2-1.oc00.i386 is a duplicate with gettext-legacy-0.18.3.2-1.oc00.i386
rpm-python-4.8.1-23.oc00.i386 is a duplicate with rpm-python-4.8.1-23.oc00.i386

--- End quote ---
That's apparently not easy to fix because gettext-legacy is used by yum and causes the 'is protected' error. I tried to uninstall temporarily yum with rpm -e --justdb, but that also disables the python script package-cleanup from yum-utils.


--- Quote from: Martin Iturbide on March 14, 2015, 10:15:17 pm ---I didn't go futher with the "rpm -qa" command that Andreas suggestion, since I didn't understand it how to make the call. (or what it does).

--- End quote ---
It lists the duplicate packages, but different to 'python \@unixroot\usr\bin\package-cleanup --dupes', it doesn't list them doubled. When I tried that first, I was surprised that it works in a CMD window.

In the meantime I reinstalled all packages:

1. I've saved their names with 'yum list installed'.

2. I made sure that I have a newer yum bootstrap package (at least 1.3, better the newest)
http://trac.netlabs.org/rpm/wiki#Releases

3. unlock -r %unixroot%\usr\lib\*.dll

4. I've renamed \usr, \etc and \var.

5. I've installed the bootstrap .wpi file.

6. I started the bootstrap console from the program object and executed 'yum install yum'.

7. I opened another CMD window and installed at first the required packages for Mozilla, then the rest until 'yum list packages' lists almost the same one as before.

The duplicated database entries are gone, but the checksum error message remains. At least 'yum check' reports no errors anymore.

Andy Willis:
These problems are common issues with yum/rpm in both Linux and OS/2 from what I have experienced. 
I have used:
yum shell
and in there issue:
remove gettext-legacy-0.18.3.2-1.oc00
remove gettext-legacy-0.18.3.2-1.oc00
install gettext-legacy
run
exit

You'll need to do that for every duplicated entry, and issue the remove for each time it is showing installed (I've had it show 5 and 6 times and so issued the remove for each of them).  Then when done issue   rpm --rebuiltdb   Then yum clean all.  Do your  yum check again.
When that doesn't work I've been able to find commands to clean it, something with rpm -e as I recall.

Andreas Schnellbacher:

--- Quote from: Andy Willis on March 15, 2015, 03:49:52 am ---These problems are common issues with yum/rpm in both Linux and OS/2 from what I have experienced. 
I have used:
yum shell
and in there issue:
remove gettext-legacy-0.18.3.2-1.oc00
remove gettext-legacy-0.18.3.2-1.oc00
install gettext-legacy
run
exit

--- End quote ---
Interesting. I still doubt that it had worked in my case, because even the RPM subsystem commands failed.

I didn't bother to keep my previous unixroot dirs on disk, so I can't test that anymore. But thanks, anyways.

Navigation

[0] Message Index

[*] Previous page

Go to full version