92
edits
Changes
m
--autoremove
# Must boot with SystemV to release Systemd
sudo reboot
sudo apt-get --autoremove remove systemd sudo apt-get autoremove
echo -e 'Package: *systemd*\nPin: release *\nPin-Priority: -1\n' | sudo tee /etc/apt/preferences.d/avoid-systemd
Packages="$(aptitude search ~i~nlinux-image- --display-format '%p' | grep -ve 'openvz')"
sudo apt-get --autoremove remove $Packages sudo apt-get autoremove
(requires aptitude)