apt is meant more for user interaction and apt-get is more stable and more for scripting. But apt-get is often used in online tutorials because it doesn’t really change.
I think it wasn’t for APT but I once worked for a business with a lot of RHEL, the script that was updating hundreds of servers was using the user wrapper instead of the binaries. A warning was displayed in the script to warn not to use the wrapper for scripts.
I warned my team leader of the issue and was completely ignored and was said that it was an issue for the team that made the script in the first place.
I gave up.
A few weeks later, the poorly designed script botched a major update on hundred of servers because the wrapper had a tiny change and the update script didn’t handle it well.
It’s insane to me how much money a business can waste for stupid shit like that. The devs warned us not to use their wrapper to script on, the linux team did it anyway, my warning was ignored, many hours of engineers work was wasted fixing the chaos that ensued.
Good catch. Haven’t been using apt in some time.
sudo pacman -Syuwhich yay yay: aliased to paruIs it even
apt-getstill? thought they changed over toaptlong ago andapt-getis just a symlink for legacy reasons.At least that’s what I last read… (speaking as someone also loving candy) .
apt is a wrapper over the apt- binaries (apt-search apt-cache etc).
aptis meant more for user interaction andapt-getis more stable and more for scripting. Butapt-getis often used in online tutorials because it doesn’t really change.I think it wasn’t for APT but I once worked for a business with a lot of RHEL, the script that was updating hundreds of servers was using the user wrapper instead of the binaries. A warning was displayed in the script to warn not to use the wrapper for scripts.
I warned my team leader of the issue and was completely ignored and was said that it was an issue for the team that made the script in the first place.
I gave up.
A few weeks later, the poorly designed script botched a major update on hundred of servers because the wrapper had a tiny change and the update script didn’t handle it well.
It’s insane to me how much money a business can waste for stupid shit like that. The devs warned us not to use their wrapper to script on, the linux team did it anyway, my warning was ignored, many hours of engineers work was wasted fixing the chaos that ensued.