Software & AppsOperating SystemLinux

How To Fix “Cannot add PPA: ‘ppa:yannubuntu/boot-repair'” Error in Ubuntu

Ubuntu 8

In this article, we will discuss how to troubleshoot and resolve the “Cannot add PPA: ‘ppa:yannubuntu/boot-repair'” error in Ubuntu. This error typically arises when users are trying to add a Personal Package Archive (PPA) to their system, and it can be a source of frustration. However, with the right approach, it can be resolved efficiently.

Understanding the Error

Before we delve into the solutions, it’s crucial to understand what this error means. A PPA is a third-party software repository that Ubuntu users can add to their system to install or update software that is not available in the official Ubuntu repositories.

When you see the error “Cannot add PPA: ‘ppa:yannubuntu/boot-repair'”, it means that Ubuntu is unable to add the specified PPA to its list of software sources. This error can occur due to several reasons, such as network connectivity issues, incorrect PPA name or format, or system settings.

Step-by-Step Guide to Fix the Error

Step 1: Ensure Internet Connectivity

The first and most straightforward step is to ensure that you are connected to the internet. This error can occur if you try to add a PPA without an active internet connection. So, before running any command, make sure your internet connection is stable.

Step 2: Check PPA Name and Format

The next step is to double-check that you have entered the PPA name correctly. In this case, the correct PPA is “ppa:yannubuntu/boot-repair”. Any typos or incorrect formatting can cause the error. So, ensure you’ve copied and pasted the correct PPA.

Step 3: Manually Add the PPA

If the above steps don’t work, you can try adding the PPA manually. Here’s how:

Open a terminal and run the following command:

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

This command opens the nano text editor with administrative privileges (sudo) and opens the file where Ubuntu stores the list of PPAs (/etc/apt/sources.list.d/yannubuntu-boot-repair-saucy.list).

In the nano editor, add the following line:

deb saucy main

This line tells Ubuntu to add the boot-repair PPA to its list of software sources.

Save the file by pressing Ctrl + O and exit by pressing Ctrl + X. Then update the package list by running:

sudo apt-get update

This command updates the list of available packages and their versions.

Step 4: Check UEFI Settings

If you are using Ubuntu 18.10 or later, ensure that your BIOS is set to UEFI mode. Additionally, you may need to include the [trusted=yes] option in the deb line. For example:

deb [trusted=yes] cosmic main

This line tells Ubuntu to trust this PPA. Remember to update the package list after making any changes.


In conclusion, the “Cannot add PPA: ‘ppa:yannubuntu/boot-repair'” error in Ubuntu can be fixed by ensuring internet connectivity, checking the PPA name and format, manually adding the PPA, and checking UEFI settings. We hope this article has been helpful in resolving this error. If you have any other issues or questions, feel free to reach out to the Ubuntu community for further assistance.

Why am I getting the “Cannot add PPA: ‘ppa:yannubuntu/boot-repair'” error in Ubuntu?

This error typically occurs when Ubuntu is unable to add the specified PPA to its list of software sources. It can be caused by network connectivity issues, incorrect PPA name or format, or system settings.

Why does the “Cannot add PPA: ‘ppa:yannubuntu/boot-repair'” error occur even after manually adding the PPA?

If the error persists after manually adding the PPA, it could be due to compatibility issues with your Ubuntu version or conflicts with other software sources. In such cases, it is recommended to seek assistance from the Ubuntu community or the PPA owner for further troubleshooting.

Can I trust third-party PPAs?

While PPAs can provide access to additional software, it is important to exercise caution and only add trusted PPAs from reputable sources. Adding untrusted or poorly maintained PPAs can potentially introduce security risks or conflicts with your system. Always research the PPA and its owner before adding it to your system.

Leave a Comment

Your email address will not be published. Required fields are marked *