How to Fix Pokemon Go Failed to Load Friends List Try Again Later. 2019

The other 24-hour interval, I was nigh to update my Curvation Linux system. When I try to update the arrangement, I encountered with "unable to lock database" error in Arch Linux. I could not install or remove whatever packages.

Here is the command that I entered to update my Curvation Linux system:

# pacman -Syu

And, It returned the following error:

:: Synchronizing parcel databases... error: failed to update cadre (unable to lock database) mistake: failed to update extra (unable to lock database) mistake: failed to update community (unable to lock database) mistake: failed to update multilib (unable to lock database) error: failed to synchronize whatsoever databases error: failed to init transaction (unable to lock database) mistake: could not lock database: File exists  if yous're sure a package manager is non already  running, you tin can remove /var/lib/pacman/db.lck

Fix unable to lock database error in Arch linux

Set unable to lock database error in Curvation linux

The beauty of Linux distros is sometimes they volition the explicitly display the solution forth with the error message. As you lot can see in the higher up output, it says: "..you can remove /var/lib/pacman/db.lck".

So, I but deleted the same file with control:

$ sudo rm /var/lib/pacman/db.lck

Voila! It worked. I can then able to update, install and remove without whatsoever problems.

$ pacman -Syu

Sample output:

:: Synchronizing package databases...  cadre 122.8 KiB 162K/s 00:01 [######################] 100%  extra 1771.viii KiB 249K/south 00:07 [######################] 100%  community 3.3 MiB 256K/south 00:13 [######################] 100%  multilib 163.v KiB 265K/s 00:01 [######################] 100% :: Starting full system upgrade... resolving dependencies... looking for conflicting packages...  Packages (viii) ca-certificates-mozilla-iii.22-1 coreutils-viii.25-1 curlicue-7.47.1-1  gcc-5.3.0-4 gcc-libs-5.3.0-4 libgcrypt-1.vi.five-1 nano-two.5.ii-1  pacman-mirrorlist-20160208-2  Total Download Size: 42.79 MiB Total Installed Size: 187.xc MiB Internet Upgrade Size: 0.91 MiB  :: Proceed with installation? [Y/n] y :: Retrieving packages ...  gcc-libs-5.3.0-4-x86_64 12.7 MiB 261K/s 00:l [######################] 100%  coreutils-8.25-1-x86_64 2.1 MiB 262K/south 00:08 [######################] 100%  ca-certificates-moz... 363.0 KiB 241K/due south 00:02 [######################] 100%  curl-7.47.1-one-x86_64 798.3 KiB 263K/s 00:03 [######################] 100%  gcc-5.iii.0-4-x86_64 26.1 MiB 247K/s 01:48 [######################] 100%  libgcrypt-1.6.5-1-x... 403.5 KiB 244K/south 00:02 [######################] 100%  nano-2.v.2-i-x86_64 407.0 KiB 262K/south 00:02 [######################] 100%  pacman-mirrorlist-ii... 5.three KiB 408K/s 00:00 [######################] 100% (8/8) checking keys in keyring [######################] 100% (viii/8) checking parcel integrity [######################] 100% (8/8) loading package files [######################] 100% (8/viii) checking for file conflicts [######################] 100% (8/eight) checking available disk infinite [######################] 100% :: Processing bundle changes... (one/8) upgrading gcc-libs [######################] 100% (ii/8) upgrading coreutils [######################] 100% (3/8) upgrading ca-certificates-mozilla [######################] 100% (4/8) upgrading curl [######################] 100% (5/viii) upgrading gcc [######################] 100% (vi/8) upgrading libgcrypt [######################] 100% (7/8) upgrading nano [######################] 100% (eight/eight) upgrading pacman-mirrorlist [######################] 100% warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew

Hope this helps.

25 comments

Deepak August 11, 2018 - eight:11 am

hey m unable to delete db.lck file. it showing even deceit open.
plz assistance me.

Respond

sk August 11, 2018 - 10:30 am

If your user has sudo permissions, you can definitely delete that file.

Answer

Alessandro Dec 14, 2018 - x:xiii pm

Thank you lot, this commodity is helpful!

Reply

I use arch btw... Feb xv, 2019 - 6:25 am

Excellent work! My Manjaro install didn't bear witness the location of the lock file, and then thanks for the guide!

Reply

islamux June xxx, 2019 - 6:58 pm

Give thanks you , information technology'south helpful.

Reply

mahi July 22, 2019 - 1:21 am

now (21.07.2019) information technology does non(((

[… ~]$ sudo pacman -Syu
[sudo] password for …:
:: Synchronizing package databases…
mistake: 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 multilib (unable to lock database)
error: failed to synchronize all databases
EOF

Reply

Sebastian September 27, 2019 - 12:39 am

Thank you, that brought my system back!

Answer

jes July 27, 2021 - 10:22 pm

Thanks a lottttt man . It workssss

Respond

IgorT Nov 4, 2019 - 10:56 pm

Thanks sir!

Answer

Jesus Hernandez December xv, 2019 - 7:57 pm

I only had the aforementioned problem but without it saying the solution you got at the buttom. I still tried running your command to delete that file and information technology worked. Thanks!

Reply

annonoymous March eleven, 2020 - 6:24 am

Cheers So MUCH IVE BEEN STRUGGLING WITH THIS FOR HOURS :)

Reply

Manish March 20, 2020 - 10:28 pm

$ sudo rm /var/lib/pacman/db.lck
[sudo] password for xyz:
rm: cannot remove '/var/lib/pacman/db.lck': No such file or directory
$ pacman -Syu
mistake: you cannot perform this operation unless you are root.
$ pacman -Syu
error: you cannot perform this functioning unless you are root.
$ sudo rm /vr/lib/pacman/db.lck
rm: cannot remove '/vr/lib/pacman/db.lck': No such file or directory
$

Respond

sk March 21, 2020 - 11:43 am

Check if your user is in sudoers list and so delete the file. There is a typo in this line – "/vr/lib/pacman/db.lck". It is var, non vr.

Reply

Harsh Sanmukhani April 22, 2020 - 3:01 pm

thanks it works for me…. :)

Reply

Mohammed May 23, 2020 - vii:17 am

Thank you then much information technology works

Reply

Yash July 12, 2020 - 6:31 pm

I got fault : failed retrieving file core.db

Reply

sk July 13, 2020 - 11:24 am

Respond

IMM August 26, 2020 - 11:29 am

Hey. I apply 'Thunar Root' to open '/var/lib/pacman/' and then I delete 'db.lck'
It works for me
Hope this help

Reply

Kunle Apata Baronial 8, 2021 - 10:05 am

Delight how do you use Thunar root to delete the lock files.
Thank you.

Answer

sk Baronial 8, 2021 - 6:27 pm

Hi Kunle,

Open Last and run the following command to open up Thunar file manager as root:

pkexec thunar

Browse the file location and delete it normally. Please make certain yous take selected the correct file proper name before deleting it.

Reply

Moein from iran September 27, 2020 - ii:26 am

thank yous a lot

Reply

btw November 10, 2020 - four:46 pm

Thx :D <3

Reply

Matthew Nov 6, 2021 - 7:45 am

No such file or directory error cannot remove help

Answer

sk Nov vi, 2021 - 11:32 am

Share the output of the post-obit control:
sudo pacman -Syu

Answer

Sami Feb 19, 2022 - 4:16 am

Thanks, it worked.

Respond

This site uses Akismet to reduce spam. Acquire how your comment information is candy.

easterpardisturn.blogspot.com

Source: https://ostechnix.com/how-to-fix-unable-to-lock-database-error-in-arch-linux/

0 Response to "How to Fix Pokemon Go Failed to Load Friends List Try Again Later. 2019"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel