Project

General

Profile

Bug #567

Updated by Daniel Curtis about 9 years ago

I encountered an error right after installing Arch Linux on my Raspberry Pi. The error stated: 
 > :: Synchronizing package databases... 
 > error: failed to update core (unable to lock database) 
 > error: failed to update extra (unable to lock database) 
 > error: failed to update community (unable to lock database) 
 > error: failed to update alarm (unable to lock database) 
 > error: failed to update aur (unable to lock database) 
 > error: failed to synchronize any databases 
 > error: failed to init transaction (unable to lock database) 
 > error: could not lock database: File exists 

 h3. The Fix 

 The problem turned out to be in the fstab, and that there was not a definition for the root filesystem. 

 * Open the fstab file: 
 <pre> 
 vi /etc/fstab 
 </pre> 
 #* And make sure the following is present: 
 <pre> 
 /dev/mmcblk0p2    /      ext4      defaults      0      0 
 </pre>

Back