5

I was trying to create a persistent storage on a Live Ubuntu USB drive. Then I came to many tutorials that required mkusb. I've searched for many ways to install it but I couldn't, even after adding PPAs, restarting, editing sources.list, etc. This is the output:

$ 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

I don't know if I made some mistakes somewhere. Thanks!

EDIT: I managed to install mkusb using tarball, but it doesn't detect my USB drive. But the main point is finished, maybe I will ask another question. Thank you!

2 Answers2

4

Try adding the PPA again with the following command:

sudo add-apt-repository ppa:mkusb/ppa

I didn't see any keys being imported in the log you posted.

It should look something like this:

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

Next, update and install the package with the following commands:

sudo apt update
sudo apt install mkusb
2

The standard method to install mkusb is via the PPA

If you run standard Ubuntu live, you need an extra instruction to get the repository Universe. (Kubuntu, Lubuntu ... Xubuntu have the repository Universe activated automatically.)

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

Alternative method via tarball

If for some reason it does not work with the PPA, you can install mkusb via a tarball according to the following link,

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

sudodus
  • 47,684