sudo add-apt-repository ppa:certbot/certbot not working on ubuntu 19.10
Below is the error from my terminal:
This is the PPA for packages prepared by Debian Let's Encrypt Team and backported for Ubuntu.
Note: Packages are only provided for currently supported Ubuntu releases.
More info: https://launchpad.net/~certbot/+archive/ubuntu/certbot
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://archive.ubuntu.com/ubuntu eoan InRelease
Hit:2 http://mirrors.linode.com/ubuntu eoan InRelease
Hit:3 http://mirrors.linode.com/ubuntu eoan-updates InRelease
Hit:4 http://mirrors.linode.com/ubuntu eoan-backports InRelease
Ign:5 http://ppa.launchpad.net/certbot/certbot/ubuntu eoan InRelease
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu eoan Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Hit:7 http://security.ubuntu.com/ubuntu eoan-security InRelease
Reading package lists… Done
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
13 Replies
The offending IP address belongs to Canonical. The problem is there. I suggest you contact them.
-- sw
Pointing my web browser to
http://ppa.launchpad.net/certbot/certbot/ubuntu
yields a directory list from a system owned by Canonical. So, at Sat 11 Apr 2020 02:25:49 PM UTC, the system seems to be up. Just try again…
stevewi:~ $ telnet 2001:67c:1560:8008::15 80
Trying 2001:67c:1560:8008::15…
Connected to haetae.canonical.com.
Escape character is '^]'.
GET /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://launchpad.net">here</a>.</p>
</body></html>
Connection closed by foreign host.
n.b., it's bull@#%t like this (and the copious amounts of spyware in Ubuntu releases these days) that made me switch to Debian.
-- sw
The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu eoan Release' does not have a Release file.
This message means the repository does not support Ubuntu 19.10. Most projects will only publish their own repositories for LTS releases.
You may get some success by modifying the Certbot file in /etc/apt/sources.list.d and changing “eoan” (19.10) to “bionic” (18.04 LTS.)
thank you.
@stevewi can you elaborate on ""n.b., it's bull@#%t like this (and the copious amounts of spyware in Ubuntu releases these days) that made me switch to Debian.""
@mesand Did you have any luck with the above suggestion? I tried it and just ended up with a completely new error. I neglected to copy down the error; I'm mostly just curious if it worked for you.
I moved away from Certbot and switched to acme.sh, mainly because Certbot didn’t support my DNS provider but acme.sh did - but also it’s ease of installation.
It runs on 18.04 and 19.10 with no problems as it’s a Bash script.
https://github.com/acmesh-official/acme.sh
Installation: https://github.com/acmesh-official/acme.sh/wiki/How-to-install
Issue a certificate: https://github.com/acmesh-official/acme.sh/wiki/How-to-issue-a-cert
@mesand --
Maybe I'm old school but persistent random failures with no reason or explanation falls into the realm of "bull@#%t" for me. Also, Canonical has a nagging disregard for people who write apps for their platform (how many times have they changed their desktop environment strategy now?)…Canonical barely acknowledges that Ubuntu is Linux at all. IMHO, Mark Shuttleworth is a snake-oil salesman…and whatever success he's managed to achieve does not translate well into any kind of expertise or trust for me.
As to the second part of your question…all you have to do is a Google search on "Ubuntu spyware" and read what pops up. I can guarantee you'll get lots of hits for rants by Richard Stallman. You can take whatever Richard Stallman says with as much salt as you like to make it palatable (or not) to you. Stallman is undoubtedly brilliant but too much of a self-absorbed windbag for my tastes.
IMHO, no matter how benign you may think Canonical's efforts at "improvement" of Ubuntu are, collecting information about you without you knowing about it is despicable behavior that I prefer to not legitimize with my patronage.
You may agree…or not…whatev… It's (still) a (semi-) free country…
-- sw
I have a related question I thought I'd just try here rather than figuring out how to explain in a new thread:
Because of this error, I don't seem to be able to run apt-get update && apt-get upgrade
successfully when I have updates to install, because it just hits the error in this thread and stops.
How do I get apt-get to stop even trying to install the thing in this thread?
Thanks.
add-apt-repository creates a dedicated file for PPAs in /etc/apt/sources.list.d.
Find the one for Certbot and simply move it out of that directory (or delete it.)