Updating Raspberry Pi

General Discussion

Updating Raspberry Pi

Postby blackhawk » Thu Mar 17, 2016 9:21 pm

My image is from the AD2Pi stock firmware and the only update has been to the AD webapp. I am wondering if I can do an rpi-update and apt-get dist-upgrade on my Pi that has the AD2Pi? If yes, what are the steps to follow without loosing my settings?
The current distribution of raspberry pi is at 4.1.19+ #858 while my AD2Pi RPi is at 3.18.11+ #781
blackhawk
newt
newt
 
Posts: 1
Joined: Thu Mar 17, 2016 9:02 pm

Re: Updating Raspberry Pi

Postby kevin » Fri Mar 18, 2016 8:36 am

To upgrade our latest image without breaking current install you must make sure the nginx and nginx-full packages are held back from upgrading. For some reason Raspbian uses a really old version of nginx and the one we provide is much newer - but they replace it with theirs if not held back properly.

Code: Select all
echo "nginx-full hold" | sudo dpkg --set-selections
echo "nginx hold" | sudo dpkg --set-selections


That should prevent the system from removing the supported version of nginx.

On that note, we released an updated image just yesterday based off Debian Jesse - all you would have to do is export your settings, flash the new image, and import your settings.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 12 guests

cron