無法在 14.04 中安裝 ubuntu-device-flash

無法在 14.04 中安裝 ubuntu-device-flash

我對這個命令有問題:

$ sudo apt-get install ubuntu-device-flash
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 ubuntu-device-flash : Depends: qemu-user-static but it is not installable
E: Unable to correct problems, you have held broken packages

答案1

在安裝 ubuntu-device-flash 之前,您應該確保已啟用 Universe 檔案。來自 Ubuntu 幫助:

可以透過取消註解對應的 apt 行(即刪除行開頭的「#」)來啟用其他軟體儲存庫,例如 Universe 和 Multiverse。對於 Universe,取消註解這些行:

deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe

您可以在 /etc/apt/sources.list 中找到 apt 行:

sudo vim /etc/apt/sources.list

不要忘記檢索更新的套件清單:

sudo apt-get update

相關內容