Ubuntu: could not get lock /var/lib/dpkg/lock

Execute:

sudo systemctl stop apt-daily.timer
Advertisements