Thursday, 12 November 2026

trouble-shooting _ When errors as shown below appeared/occured on a Linux machine , try connecting the Linux machine to a different network , regardless whether it is a Linux PC/Desktop or a Linux Laptop or a Linux Tablet

 

 

root@debian:/home/user/Downloads# 
root@debian:/home/user/Downloads# 
root@debian:/home/user/Downloads# apt-get update
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 2949 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
root@debian:/home/user/Downloads# 
root@debian:/home/user/Downloads#

 

root@debian:/home/user/Downloads# 
root@debian:/home/user/Downloads# apt-get install net-tools
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2949 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
root@debian:/home/user/Downloads# apt-get update

 

_____________________________________________ 

P.S.   Sometimes changing the network from Switzerland to

          Switzerland _5G and vice versa might help ! 

_____________________________________________ 

 

 

 

 

 

No comments:

Post a Comment