我对这个命令有问题:
$ 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