I got my first ever Raspberry Pi in the mail yesterday and today I thought it might need some updates as it's brand new. I used:
sudo apt-get update && sudo apt-get dist-upgrade
And all was fine, until the terminal showed a prompt asking what should be done with a preferences or config file. I don't know what it was, but the desktop background and system font were stored in the file. I opted to check out the differences between the current and the replacement file, but I couldn't find my way back in the terminal.
That terminal is now closed but I'm not sure if the upgrade process is finished. I've tried running the upgrade process again, plus just about everything I could find on google. Does anyone have some experience with this?
PS - It says:
Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)'
Edit: So I decided to reboot it. Everything seems to be fine, the login screen is there. The problem is now that my keyboard, mouse, and touch screen don't work anymore. Shutting down and starting up again didn't help either.
Is there anything I can do other than downloading NOOBS again?
dist-upgrade
= update to latest OS Release (full system upgrade).upgrade
= update all packages to the newest version for the currently installed release (package update).