I am sort of new to using Arch Linux so forgive my lack of knowlege on this subject.
When i try and "sudo pacman -Syu" to update everything, i get this error:
And i don't know what to do.
I tried locating the file and deleting it, but it wouldn't let me.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
I suspect you're trying to remove the lock file as an unpriviledged user (read: not root).
Also, did you really need to post an image of the terminal output? Could you not have copied and pasted the terminal output between code tags?
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD
Its my buddies computer, i know all the login information but how do i login as root?
And i apologize, ill read that policy.
Last edited by ReconScout (2012-09-09 01:48:59)
If you are sure there are no other pacman processes open, just delete the file using the cli:
sudo rm /var/lib/pacman/db.lck
Wow that was simple! Thank you !