Tag: apt-get
-
VirtualBox在Ubuntu下無法安裝Guest Additions
剛剛在VirtualBox 4.2.4裝了Ubuntu 12.10,安裝完畢後要安裝Guest Additions卻發生錯誤,按照console的提示把訊息印出來 /var/log/vboxadd-install.log 錯誤大概是這樣的: Error: unable to find the sources of your current Linux kernel. Google後發現這篇討論串。 然後發現先安裝下列的套件然後再安裝Guest Additions,就可以了! sudo apt-get install dkms build-essential linux-headers-generic
-
/boot空間不足造成Ubuntu apt-get無法使用的問題
最近發現自己管理的一些Ubuntu Server的apt-get功能竟然無法使用,只要是要安裝新的套件就會出現類似下面這樣的錯誤。 root@serv01:/home/joseph# apt-get install php-mail Reading package lists… Done Building dependency tree Reading state information… Done You might want to run `apt-get -f install’ to correct these: The following packages have unmet dependencies: linux-image-server: Depends: linux-image-2.6.31-21-server but it is not going to be installed php-mail: Depends: php-pear but it is not going to be…