Author Topic: unable to lock database on Software Update  (Read 1676 times)

0 Members and 1 Guest are viewing this topic.

Offline Branta

  • Neuling
  • *
  • Posts: 19
unable to lock database on Software Update
« on: 23. August 2012, 18:51:18 »
I was running Software Update.  It was working on PGP keyring for Manjaro and there was a consistent pattern of HD activity . . . LED activity light would flash consistently once ever 1.5 seconds that went on for 20 minutes.

I selected Quit or a buttom with a similar name.

I restarted Software Update and even after a cold boot get this error message when I click on Details:

      unable to lock database

I am running nothing.  perhaps something was started at boot that interferes.

Any  ideas?



Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: unable to lock database on Software Update
« Reply #1 on: 23. August 2012, 19:04:07 »
Open a terminal and type:
Code: [Select]
sudo pacman -SyuPost me your output ...

Offline Branta

  • Neuling
  • *
  • Posts: 19
Solved: unable to lock database on Software Update
« Reply #2 on: 23. August 2012, 19:21:00 »
Output of sudo pacman -Syu is attached.

I sent db.lck to trash and Software Update works and everything is up to date.


---
TU
« Last Edit: 23. August 2012, 19:30:11 by Branta »

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: unable to lock database on Software Update
« Reply #3 on: 23. August 2012, 19:42:58 »
Delete /var/lib/pacman/db.lck and call sudo pacman -Syu again. Should work ...