sudo rm -rf /var/lib/apt/lists/partial
sudo apt-get update -o Acquire::CompressionTypes::Order::=gz
Remove-Item -Recurse -Force some_dir
touch _settings-{membership,password,payment-financials,trust-verification,account}.haml
sudo swapoff -a
is the usual way to turn off swap, with the swapon -a command used to turn it back on. See man swapoff for more information about turning off swap for explicit devices.