0

I need to install WinUSB but no matter what I try it doesn't work, I always get an error no matter what I do.

This doesn't work

sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update 
sudo apt-get install winusb
Braiam
  • 67,791
  • 32
  • 179
  • 269

1 Answers1

2

Try the following commands based on How can I create a Windows bootable USB stick using Ubuntu?

Since you are running the Ubuntu 14.10 (Utopic) You need to replace trusty with utopic in the commands listed. The commands should look like this.

sudo add-apt-repository ppa:colingille/freshlight
sudo sh -c "sed -i 's/utopic/saucy/g' /etc/apt/sources.list.d/colingille-freshlight-utopic.list"
sudo apt-get update
sudo apt-get install winusb

You can start with the second line as you have already added the repository. The PPA is not updated beyond Saucy. Without the second line sudo apt-get update fails as there is no version specific to Trusty or Utopic. This code tells update to use the Saucy version of winusb from the PPA in the Ubuntu 14.10 (also known as Utopic) .

Hope this helps

user68186
  • 33,360
  • the second line of code -- in which you have used sed-- is necessary ? if for what ? we already added PPA first right ? – Alex Jones Dec 17 '14 at 22:14
  • 2
    @edwardtorvalds the PPA is not updated beyond Saucy. apt-get update fails as there is no version specific to Trusty or Utopic. This code tells update to use the Saucy version from the PPA instead. – user68186 Dec 17 '14 at 22:32