When i run the command "sudo apt update" or "sudo apt upgrade" , it will give below error -
sudo killall apt apt-get
If above command is not working. Run in terminal: (Note that this can seriously break your system.)
sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock*
Then reconfig the packages. Run the terminal again and past below command
sudo dpkg --configure -a
sudo apt update
I hope, it will fix your problem.