Welcome to SparkyLinux forumsZapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl
Started by 7ua, December 27, 2021, 04:00:44 PM
Quote from: pewex on December 27, 2021, 06:34:04 PMIt seems that another process is using /var/lib/dpkg/lock.Google shows a few ways to fix it.
sudo killall apt apt-get
sudo rm /var/lib/apt/lists/locksudo rm /var/cache/apt/archives/locksudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
sudo apt update
Quote from: 7ua on December 28, 2021, 04:24:22 PMThe no. 2 solution worked for me.
Quote from: pewex on December 28, 2021, 05:08:13 PMGreat! that You have found right resolve.Quote from: 7ua on December 28, 2021, 04:24:22 PMThe no. 2 solution worked for me.Maybe the solution no.1 ('sudo killall apt apt-get') did not work because another program(for example: Synaptic) or process was locking (one of) these files which You removed by 'rm' command.It seems that apt or apt-get program wasn't the reason of the problem.
View the most recent posts on the forum