Shu*_*ham 7 package-management live-usb add-apt-repository unetbootin 18.04
我用 Ubuntu 18.04 启动了我的笔记本电脑(尝试 Ubuntu 而不安装方法)。然后,我运行了以下命令:
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo add-apt-repository ppa:gezakovacs
sudo apt install unetbootin
Run Code Online (Sandbox Code Playgroud)
我收到以下消息:
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:
unetbootin : Depends: gksu but it is not installable or
kdesudo but it is not installable
Recommends: extlinux but it is not going to be installed
Recommends: unetbootin-translations but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我用谷歌搜索了一下,发现在这种情况下,我们应该在https://packages.ubuntu.com 中搜索包名称,我做到了,结果在这里,但我在Bionic那里没有看到名称。这是否意味着我无法Unetbootin在 Ubuntu 18.04 中安装?如果可以,请告诉我该怎么做?
较新版本的 Unetbootin 不再需要以下解决方法。只需使用官方 UNetbootin PPA 进行安装:
sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt update
sudo apt install unetbootin
Run Code Online (Sandbox Code Playgroud)
旧答案(供参考):
选项 1:(已测试)
您可以从这里的官方 Github 存储库下载最新的 Unetbootin 版本。
撰写本文时的最后一个版本是 unetbootin-linux64-661.bin。然后前往终端并输入:
Run Code Online (Sandbox Code Playgroud)chmod +x unetbootin-linux64-661.bin sudo ./unetbootin-linux64-661.bin如果没有未满足的依赖项,二进制文件应该可以正常工作。
选项 2:(已测试,不推荐)
您还可以将Artful存储库添加到您的源中:
Run Code Online (Sandbox Code Playgroud)cat <<EOF | sudo tee /etc/apt/sources.list.d/artful.list deb http://archive.ubuntu.com/ubuntu/ artful main universe EOF Then add _unetbootin_ PPA: sudo add-apt-repository ppa:gezakovacs最后更新并安装unetbootin:
Run Code Online (Sandbox Code Playgroud)sudo apt update sudo apt install unetbootin注意:安装后,出于安全和稳定性原因,您可能希望删除Artful存储库:
Run Code Online (Sandbox Code Playgroud)sudo rm /etc/apt/sources.list.d/artful.list
| 归档时间: |
|
| 查看次数: |
26922 次 |
| 最近记录: |