yum damaging rpm database on FC5

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

 



I tried to update an FC5 system with yum [ yum-2.6.1-0.fc5 ].
I use 'yum shell';
After 'update' 'transaction list' reported

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 info                    i386       4.8-9.2.fc5.2    updates           164 k
 jwhois                  i386       3.2.3-8.fc5      updates            95 k
 kernel                  i686       2.6.18-1.2239.fc5  updates            15 M
 kernel-devel            i686       2.6.18-1.2239.fc5  updates           4.4 M
 kernel-doc              noarch     2.6.18-1.2239.fc5  updates           2.7 M
 libpcap                 i386       14:0.9.4-3.fc5   updates           208 k
 tcpdump                 i386       14:3.9.4-3.fc5   updates           444 k
 texinfo                 i386       4.8-9.2.fc5.2    updates           776 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       8 Package(s)
Remove       0 Package(s)


Then after 'run' yum reported

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel                  i686       2.6.18-1.2239.fc5  updates            15 M
 kernel-devel            i686       2.6.18-1.2239.fc5  updates           4.4 M
Updating:
 info                    i386       4.8-9.2.fc5.2    updates           164 k
 jwhois                  i386       3.2.3-8.fc5      updates            95 k
 kernel-doc              noarch     2.6.18-1.2239.fc5  updates           2.7 M
 libpcap                 i386       14:0.9.4-3.fc5   updates           208 k
 tcpdump                 i386       14:3.9.4-3.fc5   updates           444 k
 texinfo                 i386       4.8-9.2.fc5.2    updates           776 k
Removing:
 kernel                  i686       2.6.17-1.2187_FC5  installed          37 M
 kernel-devel            i686       2.6.17-1.2187_FC5  installed          13 M

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       6 Package(s)
Remove       2 Package(s)
Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
rpmdb: Unknown locker ID: 19
error: db4 error(22) from db->close: Invalid argument
rpmdb: Locker still has locks
error: db4 error(22) from dbenv->close: Invalid argument
Running Transaction

Then message about memory protection violation (in Polish).

At the moment RPM database is damaged; then rpm -q hanged.
I could repeat that by removing __db* files and running rpm --rebuilddb; then yum;


After I restored /var/lib/rpm contents,
rpm -Uvh and rpm -ivh completed successfully.

So it seems like a bug in yum.

Is that a known problem?

Best regards,

Wojtek
 


-- 
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]