On Wed, Nov 18, 2020 at 06:42:27PM +0100, Philipp Ewald wrote:
can i install the package from unstable and after that i remove the entry in
sourses.list?
or is this risky?
I wouldn't do that, just download the appropiate debs from
http://ftp.us.debian.org/debian/pool/main/p/python-certbot/certbot_1.8.0-1_all.deb
http://ftp.us.debian.org/debian/pool/main/p/python-certbot/python3-certbot_1.8.0-1_all.deb
http://ftp.us.debian.org/debian/pool/main/p/python-acme/python3-acme_1.8.0-1_all.deb
run
sudo dpkg -i *.deb
then
sudo apt --fix-broken install
to clean up any dangling dependencies
You can find which debs to download by looking at
https://packages.debian.org/bullseye/certbot
Most of the dependencies are provided in buster already, except for the
proper versions of python3-certbot and python3-acme. If you were to
install only the certbot deb and then run apt install (without
--fix-broken) you'd see something like this:
# apt install
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
certbot : Depends: python3-certbot (= 1.8.0-1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
(or specify a solution).
which indicates that a particular version of the python3-certbot package
is required. If you were to run with --fix-broken in this case instead
of manually installing the deb linked above it would tell you that it is
removing certbot, because the appropriate version can't be found in
buster.