You are not logged in.
after i use pacman -Syyu
it stopped and i try this again this happen
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
system still work well
no shutdown just pacman don't work
i have reboot it but pacman still don't work
and i can't use pacman to download and install thing
use KDevelop as an example
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
and i tried remove rm: cannot remove /var/lib/pacman/db.lck
but
rm: cannot remove './var/lib/pacman/db.lck': No such file or directory
Offline
Look carefully at the beginning of the path indicated in the error message and the path you are trying to remove. They are not the same.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Look carefully at the beginning of the path indicated in the error message and the path you are trying to remove. They are not the same.
Unless $PWD is /
SCNR
Солідарність з Україною
Offline
Haha!
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
mpan wrote:Look carefully at the beginning of the path indicated in the error message and the path you are trying to remove. They are not the same.
Unless $PWD is /
SCNR
sorry
i don't know exactly how to do it
is like that ?
pwd
/home/s
Offline
You can ignore schard's and mpan's nerd-banter, focus on what mpan wrote in #2
Online
Stronger hint. The path you typed is a relative path. You need an absolute path like the one in the error message.
Also, please explain why you are using -yy in your pacman invocation instead of -y (hint: It is probably the True Origin™ of your original problem)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Stronger hint. The path you typed is a relative path. You need an absolute path like the one in the error message.
Also, please explain why you are using -yy in your pacman invocation instead of -y (hint: It is probably the True Origin™ of your original problem)
Because there have been frequent network problems in the past few months
and need to wait a long time for repair
so use -yy because i don't when network problems and can't update
Offline
Were you able to fix your original problem along mpan's hint and ewaller's explanation?
Online
Because there have been frequent network problems in the past few months
and need to wait a long time for repair
so use -yy because i don't when network problems and can't update
That makes no sense. You have network problems, but you use -yy to force pacman do re-download everything over a dodgy network while abusing the servers by using excessive bandwidth.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Afaiu
so use -yy because i don't when network problems and can't update
the OP trashed their database w/ a corrupted update and seeks to fix that w/ -yy
Whether or not that's required in the specific situation is a different matter - not sure how network issues would result in a stale /var/lib/pacman/db.lck
Unless the "network" is the electric grid…
Online
Great, now i know why this things happen
I won't be like this next time
So is there any good solution to this problem
Offline
Solution to what problem?
You "network" isssues? Switch to the secondworst ISP in your area?
The original problem of this thread?
mpan hinted at out your mistake and ewaller has explained it.
Online
Solution to what problem?
You "network" isssues? Switch to the secondworst ISP in your area?The original problem of this thread?
mpan hinted at out your mistake and ewaller has explained it.
thanks
let me try it
Offline