certbot install hangs on timer creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-certbot (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Installing certbot on a fresh Ubuntu 20.04 installs hangout infinitely after timer service creation.
root@myserver:~# apt install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-acme python3-certbot python3-
python3-
Suggested packages:
python3-
The following NEW packages will be installed:
certbot python3-acme python3-certbot python3-
python3-tz python3-
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 1152 kB of archives.
After this operation, 6068 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Fetched 1152 kB in 1s (2145 kB/s)
Selecting previously unselected package python3-josepy.
(Reading database ... 53156 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking python3-josepy (1.2.0-2) ...
Selecting previously unselected package python3-pbr.
Preparing to unpack .../01-
Unpacking python3-pbr (5.4.5-0ubuntu1) ...
Selecting previously unselected package python3-mock.
Preparing to unpack .../02-
Unpacking python3-mock (3.0.5-1build1) ...
Selecting previously unselected package python3-
Preparing to unpack .../03-
Unpacking python3-
Selecting previously unselected package python3-tz.
Preparing to unpack .../04-
Unpacking python3-tz (2019.3-1) ...
Selecting previously unselected package python3-rfc3339.
Preparing to unpack .../05-
Unpacking python3-rfc3339 (1.1-2) ...
Selecting previously unselected package python3-acme.
Preparing to unpack .../06-
Unpacking python3-acme (1.1.0-1) ...
Selecting previously unselected package python3-
Preparing to unpack .../07-
Unpacking python3-
Selecting previously unselected package python3-future.
Preparing to unpack .../08-
Unpacking python3-future (0.18.2-2) ...
Selecting previously unselected package python3-
Preparing to unpack .../09-
Unpacking python3-
Selecting previously unselected package python3-
Preparing to unpack .../10-
Unpacking python3-
Selecting previously unselected package python3-zope.event.
Preparing to unpack .../11-
Unpacking python3-zope.event (4.4-2build1) ...
Selecting previously unselected package python3-
Preparing to unpack .../12-
Unpacking python3-
Selecting previously unselected package python3-certbot.
Preparing to unpack .../13-
Unpacking python3-certbot (0.40.0-1) ...
Selecting previously unselected package python3-icu.
Preparing to unpack .../14-
Unpacking python3-icu (2.4.2-0ubuntu3) ...
Selecting previously unselected package certbot.
Preparing to unpack .../15-
Unpacking certbot (0.40.0-1) ...
Setting up python3-
Setting up python3-
Setting up python3-icu (2.4.2-0ubuntu3) ...
Setting up python3-zope.event (4.4-2build1) ...
Setting up python3-pbr (5.4.5-0ubuntu1) ...
update-
Setting up python3-tz (2019.3-1) ...
Setting up python3-mock (3.0.5-1build1) ...
Setting up python3-
Setting up python3-josepy (1.2.0-2) ...
Setting up python3-future (0.18.2-2) ...
update-
update-
Setting up python3-rfc3339 (1.1-2) ...
Setting up python3-
Setting up python3-
Setting up python3-acme (1.1.0-1) ...
Setting up python3-certbot (0.40.0-1) ...
Setting up certbot (0.40.0-1) ...
Created symlink /etc/systemd/
Progress: [ 97%] [######
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: certbot 0.40.0-1
ProcVersionSign
Uname: Linux 5.4.0-1009-kvm x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Fri Apr 24 16:54:41 2020
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=C.UTF-8
TERM=xterm-
XDG_RUNTIME_
PATH=(custom, no user)
SourcePackage: python-certbot
UpgradeStatus: No upgrade log present (probably fresh install)
Additional information. After quiting apt, and editing /var/lib/ dpkg/info/ certbot. postinst to add #!/bin/sh -x at the begining, here is the output :
root@myserver# dpkg --configure -a
Setting up certbot (0.40.0-1) ...
+ set -e
+ [ configure = configure ]
+ [ -d /run/systemd/system ]
+ systemctl --system daemon-reload
+ [ -n ]
+ [ configure = configure ]
+ deb-systemd-helper unmask certbot.timer
+ deb-systemd-helper --quiet was-enabled certbot.timer
+ deb-systemd-helper enable certbot.timer
+ [ configure = configure ]
+ [ -d /run/systemd/system ]
+ systemctl --system daemon-reload
+ [ -n ]
+ _dh_action=start
+ deb-systemd-invoke start certbot.timer
And again it hangs there for ever.