won't let me install a package or remove a package
i tried to remove urbanterror with
Code:
pacman -R urbanterror Code:
error: failed to init transaction (unable to lock database) |
Have you tried to remove /var/lib/pacman/db.lck, as the message suggests?
|
no i did not because i did not know if that would mess anything up.
|
Just try it, it is only a lock-file. If your package manager crashes this file will not be removed (it will be at a normal exit) and the package database will stay locked. Remove the lock and it should work.
|
i know i should know this but i do not how do i delete it i have joe vi and nano as my editors but i only know joe
|
You don't use a text editor to delete a file (have you ever deleted a file with a text editor?).
Use the rm-command, in this case Code:
rm /var/lib/pacman/db.lck If you need more help with basic commands, like cd, rm, and so on read a tutorial on these, like this one. |
All times are GMT -5. The time now is 10:21 AM. |