[certbos jessie debian]

Hi
We have been trying to install certbot on Jessie debian following this guide.

However at step 4
If we run either of the commands we get these errors.
Can anyone give us an idea on how to fix this, thanks.
Matt

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version.
ca-certificates set to manually installed.
gcc is already the newest version.
gcc set to manually installed.
python is already the newest version.
python set to manually installed.
The following packages were automatically installed and are no longer required:
  python-acme python-certbot python-configargparse python-configobj python-dnspython python-funcsigs
  python-mock python-parsedatetime python-pbr python-psutil python-pyicu python-rfc3339 python-tz
  python-zope.component python-zope.event python-zope.interface
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libexpat1-dev libpython-dev libpython2.7 libpython2.7-dev libssl1.0.0 python-chardet-whl
  python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl python-requests-whl
  python-setuptools-whl python-six-whl python-urllib3-whl python2.7-dev python3-virtualenv zlib1g-dev
Suggested packages:
  augeas-doc augeas-tools
Recommended packages:
  libssl-doc
The following NEW packages will be installed:
  augeas-lenses libaugeas0 libexpat1-dev libffi-dev libpython-dev libpython2.7 libpython2.7-dev
  libssl-dev python-chardet-whl python-colorama-whl python-dev python-distlib-whl python-html5lib-whl
  python-pip-whl python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
  python-virtualenv python2.7-dev python3-virtualenv virtualenv zlib1g-dev
The following packages will be upgraded:
  libssl1.0.0 openssl
2 upgraded, 23 newly installed, 0 to remove and 130 not upgraded.
Need to get 4,234 kB/26.0 MB of archives.
After this operation, 48.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  libssl1.0.0 augeas-lenses libaugeas0 libssl-dev openssl
Install these packages without verification? [y/N] y
Err http://ftp.debian.org/debian/ jessie-backports/main libssl1.0.0 amd64 1.0.2l-1~bpo8+1
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org/debian/ jessie-backports/main augeas-lenses all 1.8.0-1~bpo8+1
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org/debian/ jessie-backports/main libaugeas0 amd64 1.8.0-1~bpo8+1
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org/debian/ jessie-backports/main libssl-dev amd64 1.0.2l-1~bpo8+1
  404  Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org/debian/ jessie-backports/main openssl amd64 1.0.2l-1~bpo8+1
  404  Not Found [IP: 130.89.148.12 80]
E: Failed to fetch http://ftp.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_amd64.deb  404  Not Found [IP: 130.89.148.12 80]

E: Failed to fetch http://ftp.debian.org/debian/pool/main/a/augeas/augeas-lenses_1.8.0-1~bpo8+1_all.deb  404  Not Found [IP: 130.89.148.12 80]

E: Failed to fetch http://ftp.debian.org/debian/pool/main/a/augeas/libaugeas0_1.8.0-1~bpo8+1_amd64.deb  404  Not Found [IP: 130.89.148.12 80]

E: Failed to fetch http://ftp.debian.org/debian/pool/main/o/openssl/libssl-dev_1.0.2l-1~bpo8+1_amd64.deb  404  Not Found [IP: 130.89.148.12 80]

E: Failed to fetch http://ftp.debian.org/debian/pool/main/o/openssl/openssl_1.0.2l-1~bpo8+1_amd64.deb  404  Not Found [IP: 130.89.148.12 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version): Debian jessie

I can login to a root shell on my machine (yes or no, or I don’t know): YES

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): NO

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

1 Like

None of this looks good:

You should update your repo to point to working locations.
See: https://wiki.debian.org/SourcesList

1 Like

I think part of the problem is jessie-backports was shut down a while ago. Removing the entry about it from /etc/apt/sources.list or a file in /etc/apt/sources.list.d may resolve the issue here.

1 Like

Hi Guys, thanks for the help. We have replaced the source.list with the new values. Thank you.

We used this

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

deb http://archive.debian.org/debian/ jessie-backports main
deb-src http://archive.debian.org/debian/ jessie-backports main

deb http://archive.debian.org/debian/ jessie main contrib non-free
deb-src http://archive.debian.org/debian/ jessie main contrib non-free

After this we then ran the installation for Jessie Debian 8 and this worked.
Hope this helps anyone else who might need it.

Matthew

3 Likes