Updating DietPi installed programs

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Updating DietPi installed programs

Post by johnvick »

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
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Updating DietPi installed programs

Post by Fourdee »

johnvick wrote: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 ;)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Updating DietPi installed programs

Post by Fourdee »

John,

Emby server is installed via the following repo (apt-get) http://download.opensuse.org/repositori ... 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 ;) Its going to happen, just a matter of when.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Updating DietPi installed programs

Post by johnvick »

Fourdee wrote:John,

Emby server is installed via the following repo (apt-get) http://download.opensuse.org/repositori ... 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 ;) 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.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Updating DietPi installed programs

Post by Fourdee »

johnvick wrote: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?

Code: Select all

apt-get update
apt-get upgrade
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Updating DietPi installed programs

Post by johnvick »

Fourdee wrote:
johnvick wrote: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?

Code: Select all

apt-get update
apt-get upgrade
Did try but that didn't work.

John
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Updating DietPi installed programs

Post by johnvick »

But with Emby v 3.0.8200.0 apt-get update/upgrade worked.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Updating DietPi installed programs

Post by Fourdee »

johnvick wrote:But with Emby v 3.0.8200.0 apt-get update/upgrade worked.
Good stuff, thanks John.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply