Highlight of my Morning
submitted by
https://lemmy.blahaj.zone/pictrs/image/5b4a18ed-2832-4531-b6a9-6c51079c8c0c.webp
https://lemmy.blahaj.zone/pictrs/image/5b4a18ed-2832-4531-b6a9-6c51079c8c0c.webp
Whoa, do you have something to read up on that? I'd be extremely surprised, since
apt-getis 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-geta few years back now because I noticed if I didaptafterapt-getthere would often be a bunch of packages it missed.Edit: looks like it might be because
apt-getcan’tsatisfy dependenciesinstall new packages when upgrading whileaptcan sinceaptis a suite of differentapttools rolled into one.Yeah I’m reading a little bit on it, and it seems like
apt-getcan’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 thataptandapt-getwere the same process, just withapt-gethaving stable text output for awk’ing andaptbeing human-readable. I’ve been usingnalafor a long time anyway, but this is very useful knowledge.Does Simba know about this?
Wait what.
apt-getis made for scripting,aptis interactive. Both should resolve dependencies.dpkgdoes 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.
Very weird
apt-get upgrade --with-new-pkgsaptgenerally downloads more things thanapt-geton my Debian machine.apt-getnever broke anything, but I tend to eye it suspiciously now.