I am trying to update the Ubuntu MATE image (2017-11-28-ubuntu-16.04-mate-desktop-bpi-r2-sd-emmc.img). It booted up really well and looks nice.
But when I try to do ‘apt upgrade -y’, as root, I get this error message:
pi@bpi-iot-ros-ai:~$ sudo apt 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?
I was able to do yum update -y with no problem – is there something else I need to do?
What I did was very simple – I just did a ps aux | grep apt and I saw the thing was locked by another program doing an update. I just did a kill -9, and I was able to proceed.
Since my banana pi learning curve has been a big one – I thought I did something wrong again!