Updating DietPi installed programs

Hi Fourdee,

I know each release of DietPi does this for you but is there a way to do this between releases?

An example is emby-server - the web interface tells me there are updates available but apt-get doesn’t find or install them and a recent update didn’t happen with v133.

Another example is urbackup but this was updated with v133. Which makes me ask - do you have to manually check out all these updates to include with each DietPi release?

Thanks, John

Hi John,

Generally speaking, the version you installed is the version that will remain on your system.

DietPi does not update all installed software each patch.
Because we use multiple methods of installation, it would be too time consuming to test each installation method and update process on each device.

  • Some software is automatically updated through apt, but, not all software in the DietPi catalog uses apt. We love software like this, automatic updates!
  • Some software is compiled by us for each CPU arch (shairport-sync dxx-rebirth etc) and hosted on DietPi as a .deb package or .zip.
  • Some software is compiled during installation, eg: UrBackup Server for ARM64.
  • Some software can use all methods above to cover the ARM64/ARMv6/ARMv7+/AMD64 cpu archs.

We currently have 116 installation options in dietpi-software to monitor and keep updated (dietpi-software list). I’d love to support automatic updating for all possible installed software, but its just not realistic at the moment.

We do make some exceptions, eg: AmiBerry automatically updates, however, this is because DietPi + AmiBerry wanted to make this a feature from the start.

To update versions of installed software:
If the program itself doesn’t offer a working update method, you will need to uninstall and then install the software again in dietpi-software
As for knowing when updated software is available, we only log this in the change log currently.

I’d love a better system to keep users informed of installed software updates, but again it must be time efficient. If you have any suggestions, please let me know.

There is a reinstall feature in DietPi-Software, but its still in early devolpment. Aiming to use this for software such as PiHole, testing permitted.

Apologies, i really “blabbered on a bit” with this post. Too much caffeine lol :wink:

John,

Emby server is installed via the following repo (apt-get) http://download.opensuse.org/repositories/home:emby/Debian_8.0. So you’ll need to wait for that repo to be updated, or, manually install Emby in a different method (eg: compile https://github.com/MediaBrowser/Emby)

Alot of software has update prompts when an update is available. But they dont support an update facility for existing installations, or very rarely explain how to update your installation. Some times, they assume you compiled the source code originally, and sometimes, thats the only way to update at that time.

Wont be long before Android takes over Debian/Raspbian/Ubuntu on SBC’s completely :wink: Its going to happen, just a matter of when.

Hi Fourdee,

Thanks for the explanation. I found the latest emby.tar.gz on the above site - is there a quick way to update with this file? I’ve no experience with compiling.

John

EDIT: apt-get remove emby-server, apt-get update, apt-get install emby-server - and I am on the latest version, settings intact.

Excellent!

Did you happen to try this before uninstalling, didnt upgrade?

apt-get update
apt-get upgrade

Did try but that didn’t work.

John

But with Emby v 3.0.8200.0 apt-get update/upgrade worked.

Good stuff, thanks John.