RPM database all messed up after update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just applied updates minus the menus that were in conflict, so these were excluded. I figured everything was successful so I deleted the package cache. (bad move!) Anyway, I figured that I'd run 'yum list updates' and get back the two packages which I excluded for the transaction. I got back a list of packages which were "successfully installed" but the database for rpm did not change the entries.

Without going into a lot of details. rpm -q kernel shows kernels below installed. Running rpm -qV kernel-2.6.19-1.2905.fc7 shows a list of missing files for the removed kernel.

 rpm -q kernel
kernel-2.6.19-1.2906.fc7
kernel-2.6.19-1.2905.fc7

ls of boot shows:
s
config-2.6.19-1.2906.fc7      memtest86+-1.65
config-2.6.19-1.2909.fc7      newinitrd
grub                          System.map-2.6.19-1.2906.fc7
initrd-2.6.19-1.2906.fc7.img  System.map-2.6.19-1.2909.fc7
initrd-2.6.19-1.2909.fc7.img  vmlinuz-2.6.19-1.2906.fc7
lost+found                    vmlinuz-2.6.19-1.2909.fc7

grub.conf lists the actual newest and the running kernel and not the 2905 version that was removed.

What would be a good way to get the database to reflect the actually installed packages?

To be brief, the yum.log lists these last entries. There were 80 rpms updated.

Jan 11 18:48:18 Updated: libgnomeui-debuginfo.i386 2.17.1-1.fc7
Jan 11 18:48:21 Updated: alsa-utils.i386 1.0.14-0.2.rc1.fc7
Jan 11 18:48:22 Updated: logrotate.i386 3.7.4-10.fc7
Jan 11 18:48:23 Updated: postgresql-python.i386 8.2.1-1.fc7
Jan 11 18:49:00 Updated: postgresql-server.i386 8.2.1-1.fc7
Jan 11 18:49:49 Installed: kernel.i686 2.6.19-1.2909.fc7
Jan 11 18:49:51 Updated: cpuspeed.i386 1:1.2.1-1.52.fc7
Jan 11 18:49:52 Updated: gimp-print-utils.i386 4.2.7-24.fc7
Jan 11 18:49:56 Updated: gawk.i386 3.1.5-12.fc7
Jan 11 18:49:58 Updated: iptables-ipv6.i386 1.3.7-1.1
Jan 11 18:49:59 Updated: elfutils.i386 0.125-3.fc7

I'll file a bug report with the details. Now with all of the updates in place, rpm will error out when checking for file versions.

--> Running transaction check
--> Processing Conflict: elfutils-libelf conflicts elfutils > 0.124-1.fc6
--> Processing Conflict: elfutils-libs conflicts elfutils > 0.124-1.fc6
--> Processing Conflict: elfutils-libelf conflicts elfutils-libelf-devel > 0.124-1.fc6
--> Finished Dependency Resolution
Error: elfutils-libelf conflicts with elfutils > 0.124-1.fc6
Error: elfutils-libs conflicts with elfutils > 0.124-1.fc6
Error: elfutils-libelf conflicts with elfutils-libelf-devel > 0.124-1.fc6

Jim


--
That money talks,
I'll not deny,
I heard it once,
It said "Good-bye.
		-- Richard Armour

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]