Mender blog

Updating Raspbian remotely

If you are using a Raspberry Pi with the Raspbian OS, a new way to update it remotely is available!

Robust updates

Today there are some common ways Raspberry Pi users deploy updates to their devices, for example:

  • SSH/scp
  • rsync
  • Unattended apt upgrade

Unfortunately there is quite a bit of cobbling of homegrown scripts and setup required to get these working.

Furthermore, these types of updates are not robust, meaning they could fail in unpredicted ways. The most common failure occurs when you get partial installations due to power/network loss or dependency issues. Will the device boot again, and your application start successfully - or will the device "brick"? Will the update work on some devices, but not all? How would you know?

The benefits of robust updates are well known by experienced embedded engineers, as one often learns from issues in past projects.

With the Mender over-the-air update manager, a robust update process is implemented with atomic dual system update: there is always one working system partition, and Mender updates the one that is not running. You can read more in the Mender: How it works page.

Mender now supports Raspbian - making a robust update process accessible to Raspbian users!

Getting started: Enable robust updates for Raspbian

To get started with robust over-the-air updates for your Raspbian devices, first set up a Mender server. You can sign up for Hosted Mender or set up your own Mender server.

To enable support for Mender in your Raspbian image, follow the tutorial for Raspbian with Mender.

Share your feedback

If you have any questions or feedback, please feel free to share them on the Mender community mailing list. We would be happy to hear from you and answer any questions!

Recent articles

The differences between the US FDA’s device approval process and the EU’s medical device regulation (MDR): An essential dual-compliance framework for global manufacturers

The differences between the US FDA’s device approval process and the EU’s medical device regulation (MDR): An essential dual-compliance framework for global manufacturers

Explore the key differences between the US FDA and EU MDR approval processes for medical devices, essential for global manufacturers navigating dual compliance.
Why OTA updates are now mission critical for future-proofed device lifecycle management

Why OTA updates are now mission critical for future-proofed device lifecycle management

Discover why Over-The-Air (OTA) updates are essential for future-proofing IoT device lifecycle management, ensuring security, compliance, and continuous improvement in an evolving technological landscape.
What’s new in Mender: Server-side generation of delta updates

What’s new in Mender: Server-side generation of delta updates

Discover how Mender's new server-side delta updates reduce network costs and improve update reliability for IoT devices. Learn more about the latest features and enhancements.
View more articles

Learn why leading companies choose Mender

Discover how Mender empowers both you and your customers with secure and reliable over-the-air updates for IoT devices. Focus on your product, and benefit from specialized OTA expertise and best practices.

 
sales-pipeline_295756365