LinHES Forums
http://forums.linhes.org/

Pacman update
http://forums.linhes.org/viewtopic.php?f=21&t=24564
Page 1 of 1

Author:  Big boy stan [ Sun Oct 02, 2016 7:58 pm ]
Post subject:  Pacman update

I upgraded to 8.4 today and it went fairly well after a few reboots. Now I wanted to try out MythExport but when I tried to pacman, I got the following errors. Any ideas?

Code:
pacman -Syyu mythexport
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
try running pacman-db-upgrade
[mythtv@envy bin]$ pacman-db-upgrade
==> ERROR: You must have correct permissions to upgrade the database.
[mythtv@envy bin]$ sudo pacman-db-upgrade
==> ERROR: Pacman lock file was found. Cannot run while pacman is running.
[mythtv@envy bin]$

Author:  brfransen [ Mon Oct 03, 2016 6:13 am ]
Post subject:  Re: Pacman update

If no other instances of pacman are running (ps aux | grep pacman) then manually delete the lock file and run pacman-db-upgrade again.

Author:  Big boy stan [ Mon Oct 03, 2016 5:10 pm ]
Post subject:  Re: Pacman update

It looks like an instance of pacman is running. This was the first command after a fresh reboot. Any idea why?

Code:
[mythtv@envy ~]$ sudo pacman-db-upgrade
==> ERROR: Pacman lock file was found. Cannot run while pacman is running.
[mythtv@envy ~]$ ps aux | grep pacman
mythtv   23598  0.0  0.1  12576  2280 pts/1    S+   19:04   0:00 grep pacman

Author:  brfransen [ Tue Oct 04, 2016 6:06 am ]
Post subject:  Re: Pacman update

No other instances are running. That command found itself (grep pacman). If that is all it finds delete the lock file.

Author:  Big boy stan [ Fri Oct 07, 2016 1:04 pm ]
Post subject:  SOLVED Re: Pacman update

OK. That worked. Did a
Code:
sudo rm /var/lib/pacman/db.lck
and all is good with pacman.

Thanks for the help.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/