How to fix the problem that the PPA source cannot be added to Ubuntu/Mint?

Source: Internet
Author: User
Tags linux mint

How to fix the problem that the PPA source cannot be added to Ubuntu/Mint?

Chetan Jain, an ordinary It's FOSS reader, contacted me today and asked me how to fix the problem that the PPA source cannot be added in Ubuntu 14.04. Chetan encountered this error when trying to install TLP (a power management tool used to reduce overheating:

  1. Www.bkjia.com@www.bkjia.com :~ $ Sudo add-apt-repository ppa: linrunner/tlp
  2. Cannot add PPA: 'ppa: linrunner/tlp '.
  3. 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 cases of PPA sources (rarely occurring) and can be easily solved.

Fixed the bug where the PPA source cannot be added in Ubuntu 14.04 and Linux Mint.

There are two main causes for this error. Either the CA certificate on your computer is damaged or a proxy is set up on your network.

First, let's reinstall the CA certificate:

  1. Sudo apt-get install -- reinstall ca-certificates

If the preceding command does not work, a proxy setting may be used for the network. To skip proxy settings, run the sudo command and add the E parameter, as shown below:

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

In this way, the PPA source should work properly. The second method is used to solve the Chetan problem. I hope this Quick Guide will also help you get rid of PPA source errors. You are welcome to raise any questions or suggestions to help us improve.

Download, install, and configure Ubuntu 14.04

Ubuntu 14.04 system:

Ubuntu 14.04 text tutorial on hard drive installation in Windows 7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.