I have just replaced Raspbian Jesse with Ubuntu Mate on my Raspberi Pi 3, as I am running Ubuntu 16.04 on my main computer and I want to work with something I am familiar with.
I wanted to add some arduino software which requires doing a simple update and then install of the software as follows. I do sudo apt-get update and then sudo apt-get install arduino.
It comes up with the following error:
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?
If you have any ideas I would greatly appreciate it?
this is usually caused by the update manager running as soon as you start the system, it can take a few minutes for the updater to finish, especially if it is downloading security updates in the background!.
before you remove anything from startup (Control Centre > Personal > Startup Applications), try changing your software sources download location per the update guide linked above!.