NoMemories

  • Home
  • CONTACT
  • Disclaimer
  • ABOUT
  • Home
  • CONTACT
  • Disclaimer
  • ABOUT

How to fix “unable to lock database” error in Apricity Os

 09:06:00     No comments   

This guide will show you how to fix  “unable to lock database” error in Apricity Os, For the first time encounter this issue really don't know what to do because just finish installed Apricity Os and not even touch, it showed an error, and won’t let me to update

Command to update :
pacman -Syu
Then error showed :
:: 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 multilib (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
 if you're sure a package manager is not already
 running, you can remove /var/lib/pacman/db.lck

It said, if you're sure a pakage manager is not already running, you can remove /var/lib/pacman/db.lock


So i tried to remove it:
rm /var/lib/pacman/db.lock

Awesome, it worked..Now can update and install any application
pacman -Syu






  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Contributors

  • Unknown
  • zall

Popular Posts

  • Clone or Duplicate Nox Player and run at the same time
  • Hide or unhide folders and files
  • Repository for Backtrack(Working)
  • Checking your Ubuntu Version with GUI and Terminal
  • Clone Window 10 with AOMEI Backupper | Easy
  • Setup broadband connection in Ubuntu 16.04
  • How to fix “unable to lock database” error in Apricity Os

Blog Archive

  • ▼  2016 (17)
    • ►  November (2)
    • ▼  October (3)
      • Checking your Ubuntu Version with GUI and Terminal
      • How to fix “unable to lock database” error in Apri...
      • Install Ubuntu 16.10 in VirtualBox
    • ►  September (3)
    • ►  August (9)
info tech. Powered by Blogger.

Copyright © NoMemories
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates