[Answered] How do software upgrades work?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
shred
Posts: 6
Joined: Wed Sep 12, 2018 8:40 am

[Answered] How do software upgrades work?

Post 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?
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: How do software upgrades work?

Post 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
zoevincent
Posts: 1
Joined: Mon Oct 22, 2018 2:29 pm

Re: How do software upgrades work?

Post 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.
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: How do software upgrades work?

Post 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.
bin4ry
Posts: 8
Joined: Wed Oct 03, 2018 11:10 am

Re: How do software upgrades work?

Post 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
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Re: How do software upgrades work?

Post 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.
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: How do software upgrades work?

Post 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.
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Re: How do software upgrades work?

Post 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 )?
bin4ry
Posts: 8
Joined: Wed Oct 03, 2018 11:10 am

Re: How do software upgrades work?

Post 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!
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: How do software upgrades work?

Post by MichaIng »

Great, thanks for your feedback :)!
Post Reply