website icon indicating copy to clipboard operation
website copied to clipboard

FreeBSD instructions suggest old package version

Open schoen opened this issue 3 years ago • 2 comments

Hi!

Per a message at

https://community.letsencrypt.org/t/error-in-freebsd-certbot-install-instructions/171129/2

the Certbot website is suggesting an old package name (py37-certbot) in

https://certbot.eff.org/instructions?ws=apache&os=freebsd

Oddly enough, the website build at

https://github.com/certbot/website-builds/blob/master/lets-encrypt/freebsd-apache.html

shows the current name (py38-certbot). Is it possible that some documentation updates were lost in the migration to the internally-hosted version of the website, or something?

schoen avatar Feb 02 '22 03:02 schoen

@zoracon not sure if you got notified, another one for E&D.

alexzorin avatar Feb 10 '22 22:02 alexzorin

Another issue I have noticed is that if you select a webserver (e.g ngijnx) + FreeBSD:

  • https://certbot.eff.org/instructions?ws=nginx&os=freebsd
  • It does not prompt you to install the appropriate authenticator plugin e.g. py38-certbot-nginx
  • The instructions do not prompt you to run certbot --nginx, whereas the instructions for Ubuntu do.

alexzorin avatar Apr 05 '22 08:04 alexzorin

This issue can be future-proofed by changing the command as follows.

On this page of the documentation: https://certbot.eff.org/instructions?ws=other&os=freebsd

pkg install py37-certbot

Becomes:

pkg install security/py-certbot

This will choose the correct pyXX-cerbot and all its dependencies for installation. Here is the output from this command:

# pkg install security/py-certbot
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 31 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        gettext-runtime: 0.21
        indexinfo: 0.3.1
        libffi: 3.4.2
        mpdecimal: 2.5.1
        py39-acme: 1.31.0,1
        py39-certbot: 1.31.0,1
        py39-certifi: 2022.6.15
        py39-cffi: 1.15.1
        py39-charset-normalizer: 2.1.1
        py39-configargparse: 1.5.3
        py39-configobj: 5.0.6_1
        py39-cryptography: 3.4.8
        py39-distro: 1.7.0
        py39-idna: 3.3
        py39-josepy: 1.13.0
        py39-openssl: 20.0.1,1
        py39-parsedatetime: 2.6
        py39-pycparser: 2.21
        py39-pyrfc3339: 1.1
        py39-pysocks: 1.7.1
        py39-pytz: 2022.5,1
        py39-requests: 2.28.1
        py39-requests-toolbelt: 0.9.1_1
        py39-setuptools: 63.1.0
        py39-six: 1.16.0
        py39-urllib3: 1.26.12,1
        py39-zope.component: 4.2.2
        py39-zope.event: 4.1.0
        py39-zope.interface: 5.3.0
        python39: 3.9.15
        readline: 8.1.2

Number of packages to be installed: 31

The process will require 149 MiB more space.
22 MiB to be downloaded.

Proceed with this action? [y/N]:

This is noted on Freshports as well as in this issue: https://github.com/certbot/certbot/issues/9394

utkonos avatar Dec 11 '22 23:12 utkonos

This has been fixed.

bmw avatar Dec 16 '22 00:12 bmw

@bmw Awesome. Thanks!

It looks like there is now a typo: image

utkonos avatar Dec 16 '22 00:12 utkonos

Thanks for pointing that out. I'm still trying to figure out this new CMS I just got access to 🙃

That's fixed now too.

bmw avatar Dec 16 '22 01:12 bmw

No worries. It looks like the change didn't propagate yet: https://certbot.eff.org/instructions?ws=other&os=freebsd

utkonos avatar Dec 16 '22 01:12 utkonos