#uname -r
วิธีแก้ อัพเกรดเวอร์ชั่น Ubuntu แล้วขึ้นข้อความ "You might want to run 'apt-get -f install' to correct these."
หากเกิด error ในระหว่าง update ubuntu ให้ใช้คำสั่งดังนี้
#dpkg -l linux-{image,headers,image-extra}-"[0-9]*" | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e '[0-9]' | xargs dpkg --purge#apt-get update#apt-get upgrade#apt-get -f install#apt-get upgrade#apt-get autoremove#update-grub#reboot#apt-get autoremove#update-grub#df -h#uname -r#lsb_release -a \\check environment