LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2017, 10:22 AM   #1
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 146

Rep: Reputation: Disabled
Problem with running Letsencrypt.


Hi,
I am trying to run letsencrypt on my 14.2, but unfortunately getting this:

Code:
root@i:~# letsencrypt --config cli.ini
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 635, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 943, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'future' distribution was not found and is required by parsedatetime
root@i:~# certbot certonly --webroot-path=/tmp --preferred-challenges tls-sni-01 -d domain.com --email email@domain.com --renew-by-default --agree-tos --text --standalone
Traceback (most recent call last):
  File "/usr/bin/certbot", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 635, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 943, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'future' distribution was not found and is required by parsedatetime
letsencrypt has been installed with all dependencies listed on Slackbuilds page.
 
Old 02-08-2017, 10:54 AM   #2
af7567
Member
 
Registered: Nov 2012
Posts: 204

Rep: Reputation: 67
Thanks for posting this. I recently upgraded my letsencrypt and didn't check if it was working, I just tried now and I have the same problem as you.

Installing the python-future package seems to fix it.
https://slackbuilds.org/repository/1...python-future/
 
Old 02-08-2017, 11:02 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,523

Rep: Reputation: Disabled
https://lists.slackbuilds.org/piperm...ry/018146.html
 
1 members found this post helpful.
Old 02-08-2017, 11:46 AM   #4
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 146

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
Not everyone subscribing this.
 
Old 02-08-2017, 11:47 AM   #5
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 146

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by af7567 View Post
Thanks for posting this. I recently upgraded my letsencrypt and didn't check if it was working, I just tried now and I have the same problem as you.

Installing the python-future package seems to fix it.
https://slackbuilds.org/repository/1...python-future/
Yes, Willy (Letsencrypt SBo maintainer) already replied to my email.
 
Old 02-08-2017, 11:56 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,523

Rep: Reputation: Disabled
Quote:
Originally Posted by horizn View Post
Not everyone subscribing this.
well, if you use SBo's scripts you better do: many "service" communications about the scripts go through it.

Last edited by ponce; 02-08-2017 at 12:09 PM.
 
Old 02-08-2017, 05:25 PM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,375

Rep: Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969Reputation: 1969
Quote:
Originally Posted by ponce View Post
well, if you use SBo's scripts you better do: many "service" communications about the scripts go through it.
Just curious: any idea how many people are currently subscribed to the SBo mailing list?
 
Old 02-08-2017, 05:32 PM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,523

Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
Just curious: any idea how many people are currently subscribed to the SBo mailing list?
you better ask rob0 (you can find him also on #slackbuilds), he's the mail admin.
 
Old 02-08-2017, 06:30 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,876

Rep: Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134
Quote:
Originally Posted by kikinovak View Post
Just curious: any idea how many people are currently subscribed to the SBo mailing list?
If you joined them, you can see the subscriber's list
https://lists.slackbuilds.org/mailma...ckbuilds-users
 
Old 02-08-2017, 06:34 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,876

Rep: Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134
Quote:
Originally Posted by ponce View Post
well, if you use SBo's scripts you better do: many "service" communications about the scripts go through it.
or join #slackbuilds on freenode (IRC)
 
Old 02-09-2017, 05:25 AM   #11
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 242

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by horizn View Post
letsencrypt has been installed with all dependencies listed on Slackbuilds page.
You may want to give dehydrated a try, to get certificates. It doesn't have any extra dependency.
 
Old 02-09-2017, 11:38 AM   #12
davjohn
Member
 
Registered: Jan 2017
Posts: 34

Rep: Reputation: Disabled
Quote:
Originally Posted by franzen View Post
You may want to give dehydrated a try, to get certificates. It doesn't have any extra dependency.
or getssl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mysterious warning with letsencrypt kikinovak Slackware 5 02-03-2017 06:54 AM
I need some helpt with LetsEncrypt and Owncloud red king Linux - Software 1 08-30-2016 11:47 AM
Testing letsencrypt without a domain? lmcilwain Linux - Security 6 03-03-2016 08:12 PM
LXer: LetsEncrypt now available in Fedora LXer Syndicated Linux News 0 12-14-2015 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration