LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09:22 AM   #1
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 170

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, 09:54 AM   #2
af7567
Member
 
Registered: Nov 2012
Posts: 291

Rep: Reputation: 104Reputation: 104
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, 10:02 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

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

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

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, 10:56 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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 11:09 AM.
 
Old 02-08-2017, 04:25 PM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
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, 04:32 PM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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, 05:30 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
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, 05:34 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
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, 04:25 AM   #11
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
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, 10:38 AM   #12
davjohn
Member
 
Registered: Jan 2017
Posts: 94

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



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 05:54 AM
I need some helpt with LetsEncrypt and Owncloud red king Linux - Software 1 08-30-2016 10:47 AM
Testing letsencrypt without a domain? lmcilwain Linux - Security 6 03-03-2016 07:12 PM
LXer: LetsEncrypt now available in Fedora LXer Syndicated Linux News 0 12-14-2015 05:42 PM

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

All times are GMT -5. The time now is 10:53 AM.

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
Open Source Consulting | Domain Registration