This question already has an answer here:

I've tried to install boot repair and failed

sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt-get update

The error is:

$ sudo apt-get install -y boot-repair
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package boot-repair

I've never had this error before on other versions of Ubuntu or Mint, though.

share|improve this question

marked as duplicate by Avinash Raj, Braiam, Florian Diesch, Eric Carvalho, Jorge Castro Apr 18 '14 at 21:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You can use the following commands to install boot-repair in Ubuntu 14-04 :-

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list"
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
share|improve this answer
1  
Error on line 2, sed: can't read /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list: No such file or directory Am I doing this wrong? (I'm running off of live usb stick 14.10 to perform the repair...) – zipzit Nov 3 '14 at 12:08
    
same error es above – msangel Feb 26 '16 at 20:53
    
@zipzit Same problem. Did figure it out? – aanrv Jun 19 '16 at 21:23
    
After spending a whole lot of time installing Ubuntu on different systems I've come to two conclusions. On a hard drive a clean install is best and always worked. When trying to install Ubuntu on a bootable flash drive, I was better off using a desktop computer, disconnnecting ALL hard drives before bootup and install from one flash drive to another. That gave me best results. And on that specific problem from Nov 2014, I'm sorry, I just don't remember what I did to get things running. I know I got it running, but I don't remember the details. Sorry. Good luck with it. – zipzit Jun 19 '16 at 22:12

I got the same problem.

Boot-repair doesnt support 14.04 yet https://bugs.launchpad.net/boot-repair/+bug/1267702

My solution is to use boot-repair disk iso, it works for 14.04 http://sourceforge.net/projects/boot-repair-cd/files/

share|improve this answer
    
@ship07: How to install the boot-repair-disk-64bit.iso on my machine, any commands required ? – sandeep Jul 8 '14 at 19:47

You all need to go to Ubuntu Software Centre > Software Sources Select appropriate mirrors rather than main [USA] and when you're done try installing then.

P.S. enable canonical updates and just left untick one thing 'pre released updates'

and you are done! cheers! xD

share|improve this answer
    
I thought I'd have to select main server instead of mirrors. – アレックス Apr 18 '14 at 4:24
    
actually, it was already a mirror chosen. I changed it to be the main server but there was no luck. – アレックス Apr 18 '14 at 5:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.