So far the best way to get it working without breaking a possible background running installation ( as it could happen by removing the lock file), is stopping the service using apt:
Error:
# sudo apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?`
Solution:
sudo systemctl stop apt-daily.timer
systemctl enable apt-daily.timer
I haven't verified this error gets fixed after upgrading.
I'll add a new comment once I have that verified.
– Jairelee Feb 02 '17 at 09:48Feel free to post it on that thread if you want.
Just trying to provide a better solution.
– Jairelee Feb 02 '17 at 09:58