Highlight of my Morning - Blåhaj Lemmy

Lemmy

Who even uses apt-get these days?
Yeah apt-get is so old it officially misses packages that apt… gets.
Whoa, do you have something to read up on that? I'd be extremely surprised, since apt-get is supposed to be the script-safe variant, i.e. I'd imagine it's the more stable of the two.

It’s actually just personal experience, but I stopped using apt-get a few years back now because I noticed if I did apt after apt-get there would often be a bunch of packages it missed.

Edit: looks like it might be because apt-get can’t satisfy dependencies install new packages when upgrading while apt can since apt is a suite of different apt tools rolled into one.

Yeah I’m reading a little bit on it, and it seems like apt-get can’t install new packages during an upgrade. On initial reading I was thinking there were specific packages it couldn’t download or something, but this makes sense too. Regardless, this is news to me; I always assumed that apt and apt-get were the same process, just with apt-get having stable text output for awk’ing and apt being human-readable. I’ve been using nala for a long time anyway, but this is very useful knowledge.

I’ve been using nala for a long time anyway

Does Simba know about this?

Wait what.

apt-get is made for scripting, apt is interactive. Both should resolve dependencies. dpkg does not resolve them.

But for interactive usage always use apt, guides using apt-get have no idea what they are doing

You’re right, I misspoke, it’s that it can’t install new packages, it can only upgrade existing ones. I guess I was thinking the only reason it would need to install new packages was if that was a new dependency.
apt-get upgrade --with-new-pkgs