Page 1 of 1

[Answered] How do software upgrades work?

Posted: Sat Sep 15, 2018 4:32 am
by shred
If there's an update to installed software, will you get a notification at login (similar to when an update to DietPi is available)? Or do I just need to make periodic checks with apt-get update and apt-get upgrade?

Re: How do software upgrades work?

Posted: Sat Sep 15, 2018 9:07 pm
by johnvick
Sometimes dietpi-update does this (always look at the changelog), sometimes you have to do it yourself by apt-get update/upgrade, and sometimes by downloading the latest program package yourself.

John

Re: How do software upgrades work?

Posted: Mon Oct 22, 2018 2:42 pm
by zoevincent
I think it would be great if you notify the updates to the users. Someone might have disabled the automatic updates and someone does. So, if they get notifications of updated, then it will be easy for them to be up to date.

Re: How do software upgrades work?

Posted: Mon Oct 22, 2018 4:42 pm
by MichaIng
We disabled the automated APT updates, since those occur on random times based on the systemd timers and by this randomly break DietPi install scripts.

But I agree that this is not the best solution. DietPi scripts do APT upgrades as well, but users might not regularly enough do DietPi updates or software installs.

Either we should enable an own regular security update system or re-enable the one from Debian, while our scripts then need to either recognize and wait for them or kill those to start own APT calls. I think this is a topic for DietPi v6.18 to have a separate beta phase for it.

Re: How do software upgrades work?

Posted: Fri Nov 02, 2018 2:50 pm
by bin4ry
Sonarr says there's an update but when i do sudo apt-get update/upgrade it doesn't fetch any updates.

What would be the procedure, I'm on lattest beta

Re: How do software upgrades work?

Posted: Sat Nov 03, 2018 12:35 am
by baz123
Whilst anything installed via apt will get an update, other packages that might have been installed by git don't. Unless they provide an inbuilt way of updating, DietPi doing the update is tricky.

Re: How do software upgrades work?

Posted: Sat Nov 03, 2018 4:23 am
by MichaIng
@bin4ry
Which device do you use? For ARMv8 (arm64) we manually download the latest binary and APT will not update it. For all other architectures we use the official sonarr repo and APT should do the update.

In case of ARMv8 "dietpi-software reinstall 144" should do update.

Re: How do software upgrades work?

Posted: Sat Nov 03, 2018 2:55 pm
by baz123
MichaIng wrote: Sat Nov 03, 2018 4:23 am In case of ARMv8 "dietpi-software reinstall 144" should do update.
Ah "dietpi-software reinstall" - that is a new one on me. Does it preserve user data / app settings?

Could there be someway of identifying which software packages come from APT and which do not so a user would know how best to update a particular package on a specific architecture (I ask more in hope than expectation :D )?

Re: How do software upgrades work?

Posted: Sat Nov 03, 2018 3:50 pm
by bin4ry
MichaIng wrote: Sat Nov 03, 2018 4:23 am @bin4ry
Which device do you use? For ARMv8 (arm64) we manually download the latest binary and APT will not update it. For all other architectures we use the official sonarr repo and APT should do the update.

In case of ARMv8 "dietpi-software reinstall 144" should do update.

I'm was using a RockPro64, just tried this and it worked perfectly fine!

Thanks!

Re: How do software upgrades work?

Posted: Sat Nov 03, 2018 4:17 pm
by MichaIng
Great, thanks for your feedback :)!