Get the App
SLTechnology News&Howtos  ›  Servers  › 

The reason why Ubuntu can't add PPA source and its repair method

Shulou Source: shulou.com Published: 2022-06-01 12:20:56 10月04日 Update

This article mainly explains "the reason why Ubuntu can't add PPA source and how to fix it". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the reason why Ubuntu can't add PPA source and how to fix it.

When Ubuntu/Mint adds PPA feeds, there is an error that cannot be added. In fact, it is not difficult to solve this problem. First of all, you need to understand the reasons why PPA feeds cannot be added, and then fix it.

This error was encountered while trying to install TLP, a power management tool to reduce overheating:

Www.linuxidc.com@www.linuxidc.com:~$ sudo add-apt-repository ppa:linrunner/tlp

Cannot add PPA:'ppa:linrunner/tlp' .

Please check that the PPA name or format is correct.

If you encounter a similar situation when adding PPA feeds to Ubuntu or Mint, don't worry. This is one of the most common (and rare) cases of PPA sources and can be easily resolved.

Repair method:

There are two main reasons for this kind of error. One is that the CA certificate on your computer has been corrupted, or that your network has set up a proxy.

First, let's reinstall the CA certificate:

Sudo apt-get install-reinstall ca-certificates

If the above command does not work, it may be that the network uses a proxy setting. To skip the proxy setting, use the sudo command and add the parameter E, like this:

Sudo-E add-apt-repository ppa:linrunner/tlp

The PPA source is working properly.

At this point, I believe that "Ubuntu can not add PPA source reasons and repair methods" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Reason method error agent content command situation time network certificate learning practical deeper function interest parameter practicality practice tool common Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB Shulou Tech Info OPPO Reno Microsoft