Why does this set of apt commands work when run line by line, but not when run as a script?
95043
Bash File Unable to locate package when new line is added
86185
How to install a list of packages using apt-get?
121470
How to install 'add-apt-repository' using the terminal?
61177
How to set up an APT repository?
100294
Force non-interactive "dpkg --configure" when using apt-get install
91653
Why does `at` warn me that commands will be executed using /bin/sh? What if I want a different shell?
34720
What is the difference in command-line "sudo apt-get update" and using Synaptic or Auto-updater?
35541
Script failing with "command not found: ^M"
88543
Why does this work in the Python IDLE shell but not when I run it as a Python script from the command prompt?
94821
Bash script not handling npm commands correctly
116937
Why apt can't find the source code of any package?
154604
Why is there a /bin/echo and why would I want to use it?
14336
apt-get doesn't work behind a proxy
130191
Why isn't the first executable in my $PATH being used?
96316
Command run in terminal, not with shortcuts
82265
Why is apt-get always using proxy, although no proxy is configured?
15978
Why can't I change directories using "cd" in a script?