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
- Test django model attribute values β e.g. Decimal
- How to implement nested serializer in django rest framework?
Source:stackexchange.com