Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had Ubuntu 13.10 installed on my laptop. After I upgraded windows, I tried to get grub back through Boot Repair via these commands mentioned here:

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

But when I run first command I get this error:

Cannot add PPA: 'ppa:yannubuntu/boot-repair'.
Please check that the PPA name or format is correct.

what's the problem?

share|improve this question
up vote 4 down vote accepted

I would suggest you to do in termial:

sudo add-apt-repository ppa:yannubuntu/boot-repair

and then do :

 sudo apt-get update

if it doesn't work I would suggest you to add it manually in apt-get

nano /etc/apt/source.list.d/yannubuntu-boot-repair-saucy.list

and write this :

deb saucy main

then save it and update:

sudo apt-get update

I hope it works for you!

share|improve this answer
do you mean ... etc/apt/sources.list.d/.... (note the S at the end of the word sources)? – zipzit Feb 5 '15 at 21:09

This specific issue occurs when you live boot and try to do add the ppa before being connected to the internet.

Simply connect to the internet first and then try to add the ppa again just like before.

share|improve this answer
Sometimes, the simplest solutions are the best... ;-) – Fabby Feb 12 '15 at 11:05
I had the exact same issue, always check the internet... – watashiSHUN Apr 12 at 7:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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