Code Monkey home page Code Monkey logo

Comments (4)

styks1987 avatar styks1987 commented on August 12, 2024

The documentation addresses this pretty clearly from what I can see. You should be installing from the sources on jessie, the install time is very short and works without messing with the sources list which IMO always gets forgotten.

https://github.com/geerlingguy/ansible-role-certbot#source-installation-from-git

from ansible-role-certbot.

avra911 avatar avra911 commented on August 12, 2024

installing from source still needs apt: "name=python-ndg-httpsclient state=present" in Debian 8:

Traceback (most recent call last):
  File "/usr/bin/certbot", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 655, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 963, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ndg-httpsclient' distribution was not found and is required by requests

from ansible-role-certbot.

pm5 avatar pm5 commented on August 12, 2024

The documentation says source installation might be desired for Debian < 8, which seems to me suggests that it's not required on Debian 8, but it is unless you have jessie-backports.

I think it would be better if the documentation is change to something like "Debian < 8 or Debian 8 without backports"?

from ansible-role-certbot.

geerlingguy avatar geerlingguy commented on August 12, 2024

See commit linked above ^

Basically, if you're on any OS older than the latest generation of Ubuntu/CentOS/Debian/etc., then I'd recommend using the source install instead of the package install.

Alternatively, in the future this role might use the upstream package repository instead of the OS repos, meaning the package install would (or at least should) install a much more recent version. And in Debian 8's case... one that actually is able to be installed since it would exist :D

from ansible-role-certbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.