Ubuntu/Mint can't add a solution for PPA source

  
                

When Ubuntu/Mint performs the PPA source addition operation, there is an error that cannot be added. In fact, it is not difficult to solve this problem. First, you must first understand the reasons why the PPA source cannot be added, and then perform related repairs.

trying to install TLP (a power management tool for reducing overheating) when it came to this error:

[email protected]: ~$ 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 a PPA source on Ubuntu or Mint, don't worry. This is one of the common conditions (usually rare) of PPA sources and can easily be resolved.

Fix:

There are two main reasons for this error. One is that the CA certificate on your computer is corrupted, or an agent is set up on your network.

First let's reinstall the CA certificate:

sudo apt-get install --reinstall ca-certificates

If the above command does not work, it may be network usage A proxy setting. To skip the proxy settings, use the sudo command with the argument E, like this:

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

The PPA source works fine.

The above is the solution that Ubuntu/Mint can't add PPA source. There are two reasons why it can't be added. You can reinstall CA certificate first, if you can't use sudo command again.

Copyright © Windows knowledge All Rights Reserved