[Fixed]-Linux, piping together apt-get update and apt-get upgrade

1πŸ‘

In this case you just have to remove the lock:

sudo rm /var/lib/dpkg/lock

and then try to execute the command

Let me know if its helps if not then follow the following:

sudo su
sudo rm /var/lib/dpkg/lock
apt-get update

and then execute the command
update and upgrade command on single line and if its works then go for api

πŸ‘€Mr IIS

0πŸ‘

It means another process is already running an apt-get command.
Close your other terminal windows, and perhaps any GUI’s you have open that use apt-get.

πŸ‘€user1797792

Leave a comment