UPDATE PROBLEM? READ THIS!
Welcome, Guest.

Author Topic: UPDATE PROBLEM? READ THIS!  (Read 1864 times)

Offline Spatry

  • Benevolent Dictator
  • Administrator - Sysop
  • **********
  • Posts: 4266
  • Country: us
  • Cup of Linux Founder
    • Cup of Linux
UPDATE PROBLEM? READ THIS!
« on: March 25, 2015, 05:30:52 PM »
UPDATE PROBLEM? See this You are not allowed to view links. Register or Login... I am posting a duplicate of this thread on all Manjaro boards.
"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline Matthew_Moore

  • YouTUBE Show Host
  • Contributor
  • *******
  • Posts: 106
  • Country: us
  • The Other Guy. :)
Re: UPDATE PROBLEM? READ THIS!
« Reply #1 on: March 25, 2015, 07:48:13 PM »
If you are on an Arched based System. Alternatively you can use Reflector. It works well. It's what i use.  
You are not allowed to view links. Register or Login

Offline davee

  • Newbie
  • **
  • Posts: 6
Re: UPDATE PROBLEM? READ THIS!
« Reply #2 on: May 09, 2015, 04:59:17 PM »
tryedthe update with terminal and got this..
[dave@dave ~]$ sudo pacman -Syy
[sudo] password for dave:
:: Synchronising 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 synchronise 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

Offline JayVii

  • Staff Member
  • ********
  • Posts: 1759
  • Country: de
    • JayVii's Page
Re: UPDATE PROBLEM? READ THIS!
« Reply #3 on: May 09, 2015, 05:06:41 PM »
If you are sure, pacman isn't running (eg: updates, installing something, etc...) do following:

Code: You are not allowed to view links. Register or Login
sudo killall pacman && sudo rm  /var/lib/pacman/db.lck
You are not allowed to view links. Register or Login

Offline davee

  • Newbie
  • **
  • Posts: 6
Re: UPDATE PROBLEM? READ THIS!
« Reply #4 on: May 09, 2015, 05:23:06 PM »
just done it, and got this.
[dave@dave ~]$ sudo killall pacman && sudo rm  /var/lib/pacman/db.lck
[sudo] password for dave:
pacman: no process found
[dave@dave ~]$



Offline JayVii

  • Staff Member
  • ********
  • Posts: 1759
  • Country: de
    • JayVii's Page
Re: UPDATE PROBLEM? READ THIS!
« Reply #5 on: May 09, 2015, 05:31:41 PM »
oops, I didn't think about "&&" behaving that way :S
Code: You are not allowed to view links. Register or Login

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



should do the trick.
You are not allowed to view links. Register or Login