Can't install Unetbootin in Ubuntu 18.04 Live Boot Session

I booted my laptop with Ubuntu 18.04 (Try Ubuntu without installing method). Then, I ran the following command:

sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo add-apt-repository ppa:gezakovacs
sudo apt install unetbootin

I am getting the following message:

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.

I googled a bit and found that in cases like this, we should search the package name in https://packages.ubuntu.com and I did, the results are here but I don't see a Bionic name there. Does this mean I can't install Unetbootin in Ubuntu 18.04? If I can, please tell me how to do it?


Solution 1:

Update: instructions below no longer needed

Newer versions of Unetbootin no longer require the workarounds below. Just install using the official UNetbootin PPA:

sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt update
sudo apt install unetbootin

Old answer (for reference):

Option 1: (Tested)

You can download the last Unetbootin release from the official Github repository Here.

The last version as the time of writing is unetbootin-linux64-661.bin. Then head over to the terminal and type:

chmod +x unetbootin-linux64-661.bin
sudo ./unetbootin-linux64-661.bin

The binaries should work fine without the unmet dependencies.

Option 2: (Tested, not recommended)

You can also add Artful repository to your sources:

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

And finally update and install unetbootin:

sudo apt update
sudo apt install unetbootin

Note: After installing, you'll probably want to remove Artful repository for security and stability reasons:

sudo rm /etc/apt/sources.list.d/artful.list

Solution 2:

It seems Unetbootin is not yet tweaked to work in Ubuntu 18.04 LTS.

I get the same errors as you. Unetbootin must not depend on program packages, that are no longer available. gksu and kdesudo are deprecated and should no longer be used.

Try another tool. mkusb works in 18.04 LTS.


Edit 1:

The version uploaded a few of days ago to Launchpad does not work (today, 2018-05-01),

  • unetbootin 661-1~bionic1 Geza Kovacs (2018-04-28)

See launchpad.net/~gezakovacs/+archive/ubuntu/ppa

But @Eskander Bejaoui found a working version via Github,

  • unetbootin-linux64-661.bin

Edit 2:

The Unetbootin PPA has been upgraded to a version, that works, also when installed via the PPA, confirmed 2018-06-26 by @Ivan Yarych.