Abort active download of packages in Ubuntu from terminal?

Solution 1:

have you tried pressing Ctrl+C?

Solution 2:

If you press Ctrl + c while packages are downloading, that's fine. Just don't interrupt an install. Also, remember to use

sudo apt-get autoclean

after you interrupted the package download, so that the downloaded packages don't take up disk space.