Yum update crashes

Matt Domsch Matt_Domsch at dell.com
Sun Jan 31 04:44:20 UTC 2010


On Fri, Jan 29, 2010 at 01:27:30PM -0500, Jim wrote:
> FC12-X86_64/KDE
> 
> Yum update is crashing.
> I did a yum clean all, but that doesn't help.
> 
> 
> ]# yum update
> Loaded plugins: presto, refresh-packagekit
> fedora/primary_db                                                                                                                                                             
> |  12 MB     00:39
> google-chrome                                                                                                                                                                 
> |  951 B     00:00
> google-chrome/primary                                                                                                                                                         
> | 1.8 kB     00:00
> google-chrome                                                                                                                                                                                    
> 3/3
> livna                                                                                                                                                                         
> | 2.4 kB     00:00
> livna/primary_db                                                                                                                                                              
> | 2.7 kB     00:00
> rpmfusion-free                                                                                                                                                                
> | 3.8 kB     00:00
> rpmfusion-free/primary_db                                                                                                                                                     
> | 344 kB     00:05
> rpmfusion-free-updates                                                                                                                                                        
> | 3.3 kB     00:00
> rpmfusion-free-updates/primary_db                                                                                                                                             
> | 159 kB     00:00
> rpmfusion-nonfree                                                                                                                                                             
> | 3.3 kB     00:00
> rpmfusion-nonfree/primary_db                                                                                                                                                  
> |  91 kB     00:00
> rpmfusion-nonfree-updates                                                                                                                                                     
> | 3.3 kB     00:00
> rpmfusion-nonfree-updates/primary_db                                                                                                                                          
> |  40 kB     00:00
> updates/metalink                                                                                                                                                              
> |  14 kB     00:00
> updates                                                                                                                                                                       
> | 4.4 kB     00:00
> updates/primary_db                                                                                                                                                            
> | 3.7 MB     00:16
> Error: file is encrypted or is not a database

This could be your yum history database getting corrupted.

$ sudo rm -f /var/lib/yum/history/*

(This will of course keep you from rolling back transactions from your
history, as it'll be gone.)

-- 
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux


More information about the users mailing list