SUG: Automatic RPM database verification and repair

Jim Cornette fc-cornette at insight.rr.com
Fri Dec 1 02:22:21 UTC 2006


Tony Nelson wrote:
>>
>> Thanks for the effort! I will try your package since running
>> rpm --verifydb just gave me a return of the below pasted error. This is
>> on the development version for reference.
>  ...
> 
> Yes, thanks, you're just the sort of user I'm looking for:  one who will
> probably mention any error reports produced by my package.  And I'm pleased
> that I prompted you to check (and repair) your RPM database.

I have the rpm installed on the development side and just did an update 
on the FC6 side where yum or rpm just hung at a particular point and 
would not go any further. I had to boot into runlevel 1 and 
--replacefile --replacepkgs on a slew of packages in order to get the 
database corrected and all old package elements removed.

Anyway, I'll try to install the rpm repair and verification program on 
FC6 also. something is not as it should be with either rpm, yum or the 
rpmdb where information is not consistent from yum or rpm.

Package attempted to install are below, They never got to the cleanup 
phase and bombed out in midstream somewhere.

Nov 30 17:30:33 Updated: audit-libs.i386 1.3-2.fc6
Nov 30 17:30:54 Updated: initscripts.i386 8.45.7-1
Nov 30 17:33:32 Updated: net-snmp-libs.i386 1:5.3.1-12.fc6
Nov 30 17:35:42 Updated: openldap.i386 2.3.30-1.fc6.1
Nov 30 17:38:47 Updated: libxslt.i386 1.1.19-1.fc6
Nov 30 17:41:29 Updated: libsepol.i386 1.15.3-1.fc6
Nov 30 17:42:14 Updated: libswt3-gtk2.i386 1:3.2.1-23.fc6
Nov 30 17:42:21 Updated: openssh.i386 4.3p2-14.fc6
Nov 30 17:44:29 Updated: libvirt.i386 0.1.9-1.fc6
Nov 30 17:46:29 Updated: dbus-glib.i386 0.70-5.fc6
Nov 30 17:46:40 Updated: net-snmp.i386 1:5.3.1-12.fc6
Nov 30 17:46:42 Updated: audit-libs-python.i386 1.3-2.fc6
Nov 30 17:46:57 Updated: policycoreutils.i386 1.33.5-4.fc6
Nov 30 17:47:07 Updated: selinux-policy.noarch 2.4.6-1.fc6
Nov 30 17:47:47 Updated: eclipse-rcp.i386 1:3.2.1-23.fc6
Nov 30 17:49:22 Updated: eclipse-platform.i386 1:3.2.1-23.fc6
Nov 30 17:49:31 Updated: authconfig.i386 5.3.12-1.fc6
Nov 30 17:49:32 Updated: pycairo.i386 1.2.6-1.fc6
Nov 30 17:49:58 Updated: eclipse-ecj.i386 1:3.2.1-23.fc6
Nov 30 17:50:05 Updated: openssh-clients.i386 4.3p2-14.fc6
Nov 30 17:51:14 Updated: eclipse-jdt.i386 1:3.2.1-23.fc6
Nov 30 17:51:19 Updated: openldap-clients.i386 2.3.30-1.fc6.1
Nov 30 17:51:21 Updated: kudzu-devel.i386 1.2.57.6-1
Nov 30 17:51:35 Updated: gjdoc.i386 0.7.7-14.fc6
Nov 30 17:51:48 Updated: openldap-devel.i386 2.3.30-1.fc6.1
Nov 30 17:51:55 Updated: kudzu.i386 1.2.57.6-1
Nov 30 17:51:58 Updated: openssh-server.i386 4.3p2-14.fc6
Nov 30 17:52:01 Updated: authconfig-gtk.i386 5.3.12-1.fc6
Nov 30 17:52:37 Updated: tzdata.noarch 2006p-1.fc6
Nov 30 17:52:41 Updated: dhclient.i386 12:3.0.5-1.fc6
Nov 30 17:52:45 Updated: libxslt-devel.i386 1.1.19-1.fc6
Nov 30 17:52:46 Updated: libvirt-python.i386 0.1.9-1.fc6
Nov 30 17:52:49 Updated: libsepol-devel.i386 1.15.3-1.fc6
Nov 30 17:52:49 Updated: pycairo-devel.i386 1.2.6-1.fc6
Nov 30 17:52:51 Updated: openssh-askpass.i386 4.3p2-14.fc6
Nov 30 17:52:52 Updated: dbus-glib-devel.i386 0.70-5.fc6
Nov 30 17:52:54 Updated: libxslt-python.i386 1.1.19-1.fc6
Nov 30 17:54:12 Updated: selinux-policy-targeted.noarch 2.4.6-1.fc6
selinux-policy-targeted was the last package installed before the 
lockup. I erased the nouveau rpms after the cleanup. As you can see, 
there was a considerable time difference between the failure and 
cleanup. The libdvdread rpm was retrieved on the run after the cleanup.


Nov 30 20:28:30 Erased: xorg-x11-drv-nouveau
Nov 30 20:28:30 Erased: kmod-drm
Nov 30 20:35:15 Updated: libdvdread.i386 0.9.7-2.fc6

Jim

-- 
If Microsoft uses the breakup as an opportunity to port Office, and its
infernal Dancing Paper Clip, to my Linux operating system, heads will 
fly! I'll track down that idiot who created Clippit and sic a killer 
penguin on him!

    -- Linus Torvalds, when asked by Humorix for his reaction
       to the proposed Microsoft two-way split




More information about the fedora-list mailing list