the above mentioned command is executed but a message “Waiting for cache lock:could not get lock…” appears and there is no response. I would like to request a solution to this problem
Remove your lock
file and force package reconfiguration.
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
Do let me know in case you need further assistance.
Hey try using without sudo use python install pip
try this command on your command line:
sudo apt install python3.8
after this it will ask for password if required
if it asks for you to continue then press Y
As you can see in the screenshot, Reconfigure the dpkg by typing the below command.
sudo dpkg --configure -a
Then update the packages by typing the below command.
sudo apt-get update
Then install pip packages.
sudo apt-get install python3-pip
Do let me know in case you need further assistance.
Hi @adngangstergamers,
Run the following command and try again:
sudo apt update && sudo apt upgrade -y
Thank you very much sir for responding…! It worked
1 Like