7

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?

Shubham
  • 275
  • It seems Unetbootin is not yet tweaked to work in Ubuntu 18.04 LTS. Try another tool. mkusb works in 18.04 LTS. – sudodus May 01 '18 at 13:39
  • @sudodus Thanks for the recommendation! I'll checkout mkusb tool. But can you confirm that I won't be able to install unetbootin as of now in Ubuntu 18.04? – Shubham May 01 '18 at 13:43
  • 1
    Yes, 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. I don't know about the other two packages. – sudodus May 01 '18 at 13:56
  • @sudodus Yes, I guess that's the reason. I was just reading the gksu has been deprecated from Ubuntu 18.04. I'll take a look at mkusb now. Thanks for the help! – Shubham May 01 '18 at 13:58
  • @Shubham you can try downloading the executable binary from https://unetbootin.github.io/ and can work with it. – Pavel Sayekat May 01 '18 at 14:14
  • @sudodus Could you please convert that comment to an answer so that schmucks like me who go around hunting for unanswered questions don't have to look at this one any more? ;-) (And I'll upvote if you drop me a note and it's a good one too!) – Fabby May 01 '18 at 14:35
  • @Fabby, Done :-) – sudodus May 01 '18 at 16:01
  • Update: The commandline method (apt install unetbootin) is working now. Thanks for the help! – Shubham May 13 '18 at 18:57

3 Answers3

6

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
4

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,

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.

sudodus
  • 46,324
  • 5
  • 88
  • 152
1

The official UNetbootin PPA now explicitly supports Ubuntu ≥ 18.04 (Bionic Beaver). Ergo, the official UNetbootin installation instructions still apply:

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

Under no circumstances should users attempt to manually inject Ubuntu 17.10 (Artful Aardvark) repositories into Ubuntu ≥ 18.04, as dangerously suggested by the currently accepted answer. Likewise, there's no demonstrable need to switch to the considerably lower-level mkusb utility (also available only by PPA), as suggested by yet another answer.

Thanks to owl for a surprisingly relevant ancient answer inspiring the above instructions.

  • 181105 UNetbootin from PPA installs OK but opens to a empty window. The Windows version is good for a quick single or multi OS install but is not as sophisticated as YUMI, only having max 8GB persistence. I have rarely used UNetbootin in Ubuntu since mkusb came out. mkusb makes a great base for custom drives and works everywhere. Syslinux is just not as easy to use as grub and the UNetbootin menu is too ugly. – C.S.Cameron Nov 05 '18 at 11:01
  • Ah, got it. the icon starts UNetbootin as a blank window, To get it to a usable window I got to input: sudo QT_X11_NO_MITSHM=1, I like launching with an icon better. – C.S.Cameron Nov 05 '18 at 12:47