×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

sudo apt dist-upgrade

  • Posts: 913
  • Thank you received: 87
Hello,
What "sudo apt dist-upgrade" actually does?
I usually run:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

and "sudo apt dist-upgrade" usually doesn't do much.
I upgraded one of my systems yesterday and again "sudo apt dist-upgrade" didn't do much.

Tonight I upgraded another system (still upgrading) and "sudo apt dist-upgrade" is doing a lot of upgrading for the first time in my memory.
What's going on?

Thanks!
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 3.
1 year 2 months ago #90418

Please Log in or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 8

Replied by Steve on topic sudo apt dist-upgrade

Hi,

You might ran into the same issue than me.

If you current system is a 32 bit, it's the problem because SM dropped 32 bit support at the beginning of 2023. You can check with

uname -a

If you get sometinh like kernel version vl7 or something similar, you're running 32 bit. If you get something like arm64, then it's 64 bit and you're good.

If the first case, you're stuck and need to install a fresh 64 bit SM system.

This is not documented anywhere and I had to ask Jasem for help, which he did as always.

See www.indilib.org/forum/stellarmate/12745-...ade-to-bullseye.html

Hope it helps.
1 year 2 months ago #90420

Please Log in or Create an account to join the conversation.

  • Posts: 913
  • Thank you received: 87

Replied by maxthebuilder on topic sudo apt dist-upgrade

I am 64bit.
Upgrade went well. Just wondering why "sudo apt dist-upgrade" took much more time than usual next to zero.
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 3.
1 year 2 months ago #90421

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 8

Replied by Mr. Mister on topic sudo apt dist-upgrade

upgrade: upgrades updated packages
dist-upgrade: performs a full release upgrade (a linux variant is called a "distribution")

So if say, your repository was upgraded to a new major/minor version, it doesn't only upgrade the software package files, but also the system base files.
You don't want to happen this automatically, so "dist-upgrade" is a separate switch, in case you want to stay at a particular version of your distribution.
I only call it if a new Stellarmate OS version is out and i'm sure i backed up my current installation for fallback.

So with every main upgrade to the system (not only the programs and libraries), apt-get dist-upgrade "does much more".
1 year 2 months ago #90584

Please Log in or Create an account to join the conversation.

  • Posts: 913
  • Thank you received: 87

Replied by maxthebuilder on topic sudo apt dist-upgrade

Thanks Mr!
That's what I was suspecting..
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 3.
1 year 2 months ago #90588

Please Log in or Create an account to join the conversation.

Time to create page: 0.261 seconds