无法在 Ubuntu 18.04 Live Boot 会话中安装 Unetbootin

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 中安装?如果可以,请告诉我该怎么做?

Esk*_*oui 6

更新:不再需要下面的说明

较新版本的 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。然后前往终端并输入:

chmod +x unetbootin-linux64-661.bin
sudo ./unetbootin-linux64-661.bin
Run Code Online (Sandbox Code Playgroud)

如果没有未满足的依赖项,二进制文件应该可以正常工作。

选项 2:(已测试,不推荐)

您还可以将Artful存储库添加到您的源中:

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
Run Code Online (Sandbox Code Playgroud)

最后更新并安装unetbootin

sudo apt update
sudo apt install unetbootin
Run Code Online (Sandbox Code Playgroud)

注意:安装后,出于安全和稳定性原因,您可能希望删除Artful存储库:

sudo rm /etc/apt/sources.list.d/artful.list
Run Code Online (Sandbox Code Playgroud)

  • 奇怪的是,前几天上传到 Launchpad 的一个版本不起作用:**unetbootin 661-1~bionic1 Geza Kovacs (2018-04-28)**;参见 [launchpad.net/~gezakovacs/+archive/ubuntu/ppa](https://launchpad.net/~gezakovacs/+archive/ubuntu/ppa)。无论如何,**我很高兴您通过 Github** 找到了一个*工作版本*,所以为您的回答 +1 :-) (2认同)