iT邦幫忙

0

ubuntu apt-get install nfs-kernel-server portmap 失敗

Hi 各位先進好,小弟不才
由於工作需求,需要安裝nfs client端套件
在安裝nfs client套件時出現下列錯誤訊息
http://ithelp.ithome.com.tw/upload/images/20161110/20051447UgEVmKZS0j.png

環境為Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-77-generic x86_64)
再麻煩各位先進幫忙指導一下,謝謝。

目前有做過的處理方式有
使用指令apt-get update,然後apt-get install nfs-kernel-server portmap
使用指令apt-get -f install nfs-kernel-server portmap

皆會出現:

The following packages have unmet dependencies:
 linux-image-extra-3.13.0-101-generic : Depends: linux-image-3.13.0-101-generic but it is not going to be installed
 linux-image-generic : Depends: linux-image-3.13.0-101-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

懇求各位大大指導小弟一下,謝謝

看更多先前的討論...收起先前的討論...
ayu iT邦研究生 1 級 ‧ 2016-11-10 19:35:42 檢舉
測試過 Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-27-generic i686)
apt-get install nfs-kernel-server
下列的額外套件將被安裝:
libgssglue1 libnfsidmap2 libtirpc1 nfs-common rpcbind

安裝過程很順利沒出現你說的訊息.
bochun iT邦新手 5 級 ‧ 2016-11-11 11:17:12 檢舉
hi 各位大大
最後查到/boot滿了

現在要移除不要的linux-image generic但是還是會出現錯誤
用sudo apt-get clean 跟 sudo apt-get autoremove皆會出現錯誤訊息
運作如下
$ uname -r
3.13.0-77-generic
$ sudo dpkg --get-selections|grep linux-image
linux-image-3.13.0-100-generic install
linux-image-3.13.0-32-generic deinstall
linux-image-3.13.0-46-generic deinstall
linux-image-3.13.0-49-generic deinstall
linux-image-3.13.0-51-generic deinstall
linux-image-3.13.0-52-generic deinstall
linux-image-3.13.0-53-generic deinstall
linux-image-3.13.0-54-generic deinstall
linux-image-3.13.0-55-generic deinstall
linux-image-3.13.0-57-generic deinstall
linux-image-3.13.0-58-generic deinstall
linux-image-3.13.0-59-generic deinstall
linux-image-3.13.0-61-generic deinstall
linux-image-3.13.0-62-generic deinstall
linux-image-3.13.0-63-generic deinstall
linux-image-3.13.0-65-generic deinstall
linux-image-3.13.0-66-generic deinstall
linux-image-3.13.0-67-generic deinstall
linux-image-3.13.0-68-generic deinstall
linux-image-3.13.0-70-generic deinstall
linux-image-3.13.0-71-generic deinstall
linux-image-3.13.0-73-generic deinstall
linux-image-3.13.0-74-generic deinstall
linux-image-3.13.0-76-generic install
linux-image-3.13.0-77-generic install
linux-image-3.13.0-79-generic install
linux-image-3.13.0-83-generic install
linux-image-3.13.0-85-generic install
linux-image-3.13.0-86-generic install
linux-image-3.13.0-87-generic install
linux-image-3.13.0-88-generic install
linux-image-3.13.0-91-generic install
linux-image-extra-3.13.0-100-generic install
linux-image-extra-3.13.0-101-generic install
linux-image-extra-3.13.0-32-generic deinstall
linux-image-extra-3.13.0-46-generic deinstall
linux-image-extra-3.13.0-49-generic deinstall
linux-image-extra-3.13.0-51-generic deinstall
linux-image-extra-3.13.0-52-generic deinstall
linux-image-extra-3.13.0-53-generic deinstall
linux-image-extra-3.13.0-54-generic deinstall
linux-image-extra-3.13.0-55-generic deinstall
linux-image-extra-3.13.0-57-generic deinstall
linux-image-extra-3.13.0-58-generic deinstall
linux-image-extra-3.13.0-59-generic deinstall
linux-image-extra-3.13.0-61-generic deinstall
linux-image-extra-3.13.0-62-generic deinstall
linux-image-extra-3.13.0-63-generic deinstall
linux-image-extra-3.13.0-65-generic deinstall
linux-image-extra-3.13.0-66-generic deinstall
linux-image-extra-3.13.0-67-generic deinstall
linux-image-extra-3.13.0-68-generic deinstall
linux-image-extra-3.13.0-70-generic deinstall
linux-image-extra-3.13.0-71-generic deinstall
linux-image-extra-3.13.0-73-generic deinstall
linux-image-extra-3.13.0-74-generic deinstall
linux-image-extra-3.13.0-76-generic install
linux-image-extra-3.13.0-77-generic install
linux-image-extra-3.13.0-79-generic install
linux-image-extra-3.13.0-83-generic install
linux-image-extra-3.13.0-85-generic install
linux-image-extra-3.13.0-86-generic install
linux-image-extra-3.13.0-87-generic install
linux-image-extra-3.13.0-88-generic install
linux-image-extra-3.13.0-91-generic install
linux-image-generic install
$ sudo apt-get --purge remove linux-image-3.13.0-76-generic
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-extra-3.13.0-101-generic : Depends: linux-image-3.13.0-101-generic but it is not going to be installed
linux-image-extra-3.13.0-76-generic : Depends: linux-image-3.13.0-76-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-3.13.0-101-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get clean
$ sudo apt-get autoremove
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-extra-3.13.0-101-generic : Depends: linux-image-3.13.0-101-generic but it is not installed
linux-image-generic : Depends: linux-image-3.13.0-101-generic but it is not installed
E: Unmet dependencies. Try using -f.
bochun iT邦新手 5 級 ‧ 2016-11-11 12:19:50 檢舉
剛剛試過OK了

下sudo apt-get autoremove -f就可以釋放boot的空間
接下來即可安裝nfs套件
ayu iT邦研究生 1 級 ‧ 2016-11-11 15:41:23 檢舉
辛苦了, 掌聲鼓勵~~

1 個回答

0
海綿寶寶
iT邦超人 1 級 ‧ 2016-11-11 09:14:24

依據AskUbuntu朋友表示:

把 missing 的都 install 試看看

$ sudo apt-get install linux-image-3.13.0-101-generic

我要發表回答

立即登入回答