无法安装 mkusb

无法安装 mkusb

我试图在 Live Ubuntu USB 驱动器上创建持久存储。然后我找到了很多需要 mkusb 的教程。我搜索了很多方法来安装它,但还是无法安装,即使添加了 PPA、重新启动、编辑 sources.list 等。这是输出:

$ sudo add-apt-repository ppa:mkusb/ppa

 More info: https://launchpad.net/~mkusb/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease        
Hit:3 http://vn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://vn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://vn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done

$ sudo apt update                      
Hit:1 http://ppa.launchpad.net/mkusb/ppa/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:3 http://vn.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://vn.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://vn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

$ sudo apt install mkusb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mkusb

我不知道我是否在某个地方犯了错误。谢谢!

编辑:我设法使用 tarball 安装 mkusb,但它没有检测到我的 USB 驱动器。但重点已经讲完了,也许我会问另一个问题。谢谢!

答案1

尝试使用以下命令再次添加 PPA:

sudo add-apt-repository ppa:mkusb/ppa

在您发布的日志中我没有看到任何被导入的密钥。

它看起来应该是这样的:

You are about to add the following PPA to your system:
 More info: https://launchpad.net/~mkusb/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.moYjnLh1cS --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 54B8C8AC
gpg: requesting key 54B8C8AC from hkp server keyserver.ubuntu.com
gpg: key 54B8C8AC: "Launchpad PPA for MKUSB" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

接下来,使用以下命令更新并安装该包:

sudo apt update
sudo apt install mkusb

答案2

安装 mkusb 的标准方法是通过 PPA

如果您运行标准 Ubuntu Live,则需要额外指令来获取存储库 Universe。(Kubuntu、Lubuntu ... Xubuntu 已自动激活存储库 Universe。)

sudo add-apt-repository universe  # only for standard Ubuntu

sudo add-apt-repository ppa:mkusb/ppa  # and press Enter
sudo apt-get update
sudo apt-get install mkusb mkusb-nox usb-pack-efi

通过 tarball 的替代方法

如果由于某种原因它不能与 PPA 一起使用,您可以按照以下链接通过 tarball 安装 mkusb,

help.ubuntu.com/community/mkusb/gui/tarball

相关内容