nabaztag2018/pynab

Add debian upgrade in the interface

Opened this issue · 1 comments

After following the installation tutorial, I have found that the debian image in the Raspberry PI is not updated. As of today, I have 103 packages which can be upgraded.

It would be useful to have in the upgrade UI an indication of the debian status, and a way to trigger an apt upgrade.

Of course, this can be done through ssh interface, but this is not accessible to the normal user.

Given the stability of debian, there is little risk to break the distro with an upgrade. Alternatively, the distro could be automatically upgraded wit security updates, for instance using https://wiki.debian.org/UnattendedUpgrades

This may be useful in theory.
But in practice, triggering apt upgrades from the Pynab UI would be dangerous, since such upgrades, even if they don't break the distro itself, may break Pynab in unanticipated ways, leaving the normal/naive user with a dysfunctional or stuck rabbit.
See for example:

  • #438 (kernel upgrade breaking sound driver)
  • #451 (Git security upgrade breaking Pynab upgrade page).

So normal users who want an up to date distro should wait patiently for a new Pynab release image to be published and flash their SD card with this image.
Advanced users, who are able to do apt upgrades through SSH, should proceed with caution, and backup their SD cards before doing such upgrades.