Apt-get vs newer apt

Vero 4k runs Debian, and understands both

apt-get update & apt-get dist-upgrade

and their apt equivalents:

apt update & apt full-upgrade

I’ve used the latter on the 4k without any problems whatsoever.

Just a quick question about the differences between these two…

As in the help page I linked to above, all the way at the bottom of this page it advises to use “apt-get” rather than the (at least in Debian?) newer apt, I was wondering if there was a specific reason for this. I’m guessing it may have anything to do with cross-device compatibility?

On the Vero 4k, is there any difference between the two? Anything that gets done a different way? Is there a reason to prefer one over the other?

Thanks to anyone who can shed some light on this!

Cheers,

Maarten

Hi,

There is no issues using apt over apt-get, just need to avoid using:

sudo apt upgrade

or

sudo apt-get upgrade

As this can cause breakages.

Thanks Tom.

Understood! Thanks, that fully answers my question.

APT CLI interface is not stable yet. Use apt-get

That is good to know!

I must admit I thought it was best practice to actually use apt rather than apt-get and I have been using it for months without any problems, but won’t be using it on the vero 4k in the future! :slight_smile:

Thanks for clearing that up.

Nothing wrong with using apt, but I believe the interface is subject to change, so some learning could be required unexpectedly.

Sam

Got you :+1:t3: So that must be why in the website I referred to it is still said to use apt-get. I really was just curious. How is your response time this ridiculous, by the way :smiley: