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:
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 bionic InRelease
Hit:2 bionic-security InRelease
Hit:3 bionic InRelease
Hit:4 bionic-updates InRelease
Hit:5 bionic-backports InRelease
Reading package lists... Done
$ sudo apt update
Hit:1 bionic InRelease
Hit:2 bionic-security InRelease
Hit:3 bionic InRelease
Hit:4 bionic-updates InRelease
Hit:5 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 mkusbI 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!
72 Answers
Try adding the PPA again with the following command:
sudo add-apt-repository ppa:mkusb/ppaI 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:
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: 1Next, update and install the package with the following commands:
sudo apt update
sudo apt install mkusb 5 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-efiAlternative 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,