13

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?

Mehraban
  • 1,315

2 Answers2

28

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.

10

I would suggest you to do in terminal:

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 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu saucy main

then save it and update:

sudo apt-get update
Jeff Labonte
  • 271
  • 1
  • 5
  • 19