• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Failed plesk update, looking for help

javismiles

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Product version: Plesk Obsidian 18.0.56.4 OS version: Ubuntu 22.04 x86_64 Build date: 2023/11/06 15:00 Revision: 7f3265358b91416f035eddb5dfe564171fd100a4
hi friends,
this morning I found a failed update plesk error,
I attach the log to see if you can help me to fix the problem

thank you very much
 

Attachments

  • plesk-update-failure-april-20-2024-j.pdf
    49.9 KB · Views: 5
The error below indicates that apt is already in use by another application.

Code:
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1188072 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/

You can use the command fuser /var/lib/dpkg/lock the see which application already uses apt. If this command does not find anything you can try the update again. Otherwise wait some time and try again tomorrow.

If you don't want to wait or if you keep getting the same error, here you'll find more information about how to deal with the issue: Could not get lock /var/lib/apt/lists/lock
 
thank you very much for your kind response,
the odd thing is that if I go to the updates section of settings in plesk, it says that my server is all up to date and I see no errors there;

I run fuser /var/lib/dpkg/lock
and it returns nothing, empty
 
Back
Top