apt on its own isn’t safe to use in shell scripts while apt-get is. At least, that is the output I get when using apt in a script on Debian.
That is the only reason, for interactive sessions use apt, for automated scripts apt-get.
apt on its own isn’t safe to use in shell scripts while apt-get is. At least, that is the output I get when using apt in a script on Debian.
That is the only reason, for interactive sessions use apt, for automated scripts apt-get.


Oh thank you! Had it on my phone without any notifications or anything else to tell me that!
Am an EU resident, so that’s very worrisome to say the least.


I have a custom script, which changes the fan profile (in my case between two thinkfan config files) depending whether the dock is connected or not. That one gets triggered whenever it switches the power source (AC or BAT0). (AC gets plugged in -> script starts -> check if dock is connected -> if connected run different profile)
It’s janky but very helpful when it works :D
Just hope Microsoft doesn’t move their German headquarters to Kiel for “unrelated reasons”…