A nice way to clean auto-updated kernels from your /boot full partition :
more /root/clean-boot.sh
#!/bin/bash
dpkg --get-selections | \
grep 'linux-image*' | \
awk '{print $1}' | \
egrep -v "linux-image-$(uname -r)|linux-image-generic" | \
while read n
do
apt-get -y remove $n
done
update-grub2
python-software-properties can be updated with :
apt-get dist-upgrade
Aucun commentaire:
Enregistrer un commentaire