I’m trying to update certbot from version 0.26 on both a 16.04 box and a 14.04 box. I installed certbot via the PPA by adding the repository to apt
, as described in the instructions on the homepage.
However, when I run sudo apt-get update
, I seem to be getting errors fetching updates for the certbot repo. Thus, when I go to try to install the update, apt says I have the latest version, when clearly I do not. I see there are releases of 0.28 for Trusty and Xenial on Launchpad, but for some reason I can’t seem to make my systems “see” them.
On Ubuntu 16.04 LTS:
$ certbot --version
certbot 0.26.1
$ sudo apt-get install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
certbot is already the newest version (0.26.1-1+ubuntu16.04.1+certbot+2).
0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
$ sudo apt-get update
Ign:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Hit:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Ign:5 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:9 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial Release
Hit:10 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages.diff/Index
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages.diff/Index
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en_US
Ign:15 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en.diff/Index
Ign:16 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages
Ign:17 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages
Ign:17 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages
Ign:17 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages
Ign:17 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en
Ign:16 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages
Ign:17 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en_US
Ign:18 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en
Err:16 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main amd64 Packages
Connection failed
Ign:17 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main i386 Packages
Ign:18 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial/main Translation-en
Fetched 325 kB in 6s (49.6 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/xenial/main/binary-amd64/Packages Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
$ sudo apt-get install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
certbot is already the newest version (0.26.1-1+ubuntu16.04.1+certbot+2).
0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
On 14.04 LTS:
$ certbot --version
certbot 0.26.1
$ sudo apt-get install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
certbot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 231 not upgraded.
$ sudo apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Get:1 http://us.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Ign http://ppa.launchpad.net trusty InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg
Get:3 http://us.archive.ubuntu.com trusty-updates/main Sources [427 kB]
Err http://ppa.launchpad.net trusty Release.gpg
Connection failed
Get:4 http://us.archive.ubuntu.com trusty-updates/restricted Sources [6,322 B]
Get:5 http://us.archive.ubuntu.com trusty-updates/universe Sources [230 kB]
Get:6 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [7,435 B]
Get:7 http://security.ubuntu.com trusty-security/main Sources [169 kB]
Get:8 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [1,143 kB]
Ign http://ppa.launchpad.net trusty Release
Ign http://ppa.launchpad.net trusty/main amd64 Packages/DiffIndex
Get:9 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.2 kB]
Get:10 http://security.ubuntu.com trusty-security/restricted Sources [4,931 B]
Get:11 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [517 kB]
Get:12 http://security.ubuntu.com trusty-security/universe Sources [101 kB]
Ign http://ppa.launchpad.net trusty/main i386 Packages/DiffIndex
Get:13 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.6 kB]
Get:14 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [1,070 kB]
Get:15 http://security.ubuntu.com trusty-security/multiverse Sources [3,265 B]
Get:16 http://security.ubuntu.com trusty-security/main amd64 Packages [808 kB]
Get:17 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [17.1 kB]
Get:18 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [499 kB]
Get:19 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.0 kB]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://us.archive.ubuntu.com trusty Release
Get:20 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14.2 kB]
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Get:21 http://security.ubuntu.com trusty-security/universe amd64 Packages [287 kB]
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Get:22 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,800 B]
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Get:23 http://security.ubuntu.com trusty-security/main i386 Packages [734 kB]
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Get:24 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.9 kB]
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Get:25 http://security.ubuntu.com trusty-security/universe i386 Packages [272 kB]
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Get:26 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,959 B]
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Err http://ppa.launchpad.net trusty/main Translation-en_US
Connection failed
Err http://ppa.launchpad.net trusty/main Translation-en
Connection failed
Err http://ppa.launchpad.net trusty/main amd64 Packages
Connection failed
Err http://ppa.launchpad.net trusty/main i386 Packages
Connection failed
Fetched 6,513 kB in 5s (1,120 kB/s)
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/trusty/Release.gpg Connection failed
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/trusty/main/i18n/Translation-en_US Connection failed
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/trusty/main/i18n/Translation-en Connection failed
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/trusty/main/binary-amd64/Packages Connection failed
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/trusty/main/binary-i386/Packages Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
$ sudo apt-get install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
certbot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 231 not upgraded.
Any idea why these are failing? Do I need to update my apt source somehow?