10

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?

6

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

then save it and update:

sudo apt-get update

I hope it works for you!

  • 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
  • In 18.10 BIOS have to be only UEFI and [trusted=yes] after deb: deb [trusted=yes] ppa.launchpad.net/yannubuntu/boot-repair/ubuntu cosmic main – 42n4 Feb 13 at 17:13
18

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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