I want to know how to skip the downloading update while the terminal is downloading. I am currently updating from terminal and I want to skip a package from being downloaded because it will consume a lot of time.
If you dont want to download update of any package , you can use temporary holding and unholding command.
hold : it will stop updating a specific package.
unhold : removes hold for a package which is being hold.
For example I dont want to update my firefox because i have to download 20MB which is high data for my 236kbps modem so I dont want to update it now . so i will put it in hold.
sudo apt-mark hold firefox
so except firefox all packages will download and installs.
If I want to update the firefox again
sudo apt-mark unhold firefox
If you stop the download process, you will have nothing to update. Anyway, you can do this by using Ctrl+C key combination.
If you want to skip some packages for update, you can do this, but before to start your update, using the following command:
sudo echo "[packagename] hold" | sudo dpkg --set-selections