Rasberry pi updates

There is no problem, looking for best practice advise?

WRITE HERE

What did you already try to solve it?

I downloaded and flashed a new image of Octoprint, the same day I tried this command to ensure the pi is totally up to date, I ran the command and it took a good 20 minutes to complete with all the updates. Little concerned that a new Octo image is so far out of date ?
sudo apt full-upgrade

Have you tried running in safe mode?

not relevent

Did running in safe mode solve the problem?

not relevent

Systeminfo Bundle

NA
WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

Image of OctoPrint? I only get images of OctoPi. :wink:

Apologies wrong terminology, thank you for spotting that, I downloaded it from the raspberry pi website that has the octoprint imagine

Is there any harm in running that full update, can it impact the performance of Octoprint ?

These updates are meant to improve OctoPrint.

A Linux image is created from the component parts at a point in time. The component parts are, for the most part, constantly evolving. It is therefore normal for sudo apt update && sudo apt upgrade to find components that are out of date on a "fresh" install.

There is a difference between apt upgrade and apt full-upgrade. See here and here for details.

  • apt-get upgrade will not change what is installed (only versions),
  • apt-get dist-upgrade will install or remove packages as necessary to complete the upgrade,
  • apt upgrade will automatically install but not remove packages.
  • apt full-upgrade performs the same function as apt-get dist-upgrade.

To expand on why you'd want upgrade instead of dist-upgrade , if you are a systems administrator, you need predictability. You might be using advanced features like apt pinning or pulling from a collection of PPAs (perhaps you have an in-house PPA).

There is a possibility that either upgrade type will cause an application like OctoPrint to cease functioning. The image you download has been tested more thoroughly for compatibility and changes to the packages installed may introduce incompatibilities. This must be weighed against the improvements that are made.

I suggest that you make a backup image, do the upgrade and test. If something fails, you can return to the previous state.

1 Like

Full-upgrade does not perform a dist-upgrade.
Dist-uograde it to upgrade to the latest distribution, as in from Bullseye to Bookworm. Full-upgrade performs all security upgrades and any component upgrades available without uograding to the newest distribution

I'm afraid I must disagree. From apt-get.cc:

      {"dist-upgrade", &DoDistUpgrade, _("Distribution upgrade, see apt-get(8)")},
      {"full-upgrade", &DoDistUpgrade, nullptr},

apt.cc is the same.

thank you for your SME reply, I am very grateful and that is very useful intel, I am seeing unexpected behaviour and going to re-image, it does not take too long to reimage and I have a spare SD card, therefore worth exploring.

Here is an example of the consequence after apply the cli:
sudo apt full-upgrade

Have you done a Crtl-F5 to clear the browser cache?

thank you Ewald, thats a very good shout, I will give that a go and report back

I re-imaged the pi, but worked out that the ports cannot be the same as below:
bind :::8443 v4v6
bind :::8443 v4v6 ssl crt /etc/ssl/snakeoil.pem
They need to be different like this, which worked well:
bind :::8443 v4v6
bind :::443 v4v6 ssl crt /etc/ssl/snakeoil.pem

Thank you for all the help everyone, this thread can be closed.