Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53601 - [certbot] Error: The 'argparse' distribution was not found and is required by certbot

Attached to Project: Community Packages
Opened by Jan Visser (starquake) - Friday, 07 April 2017, 09:17 GMT
Last edited by Felix Yan (felixonmars) - Friday, 07 April 2017, 16:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
After upgrading certbot does not work anymore. I think it's missing as a dependency.

This happens with version certbot 0.13.0-1

Steps to reproduce:
* Remove the package python2-argparse
* Run certbot

Proposed fix:
add python2-argparse as a dependency of certbot

Workaround:
Install python2-argparse
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 07 April 2017, 16:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.13.0-2
Comment by Jan Visser (starquake) - Friday, 07 April 2017, 09:17 GMT
The error:

➜ ~ certbot
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/site-packages/pkg_resources/__init__.py", line 3036, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3020, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3049, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 654, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'argparse' distribution was not found and is required by certbot
Comment by Matteo Ipri (matteoipri) - Friday, 07 April 2017, 12:41 GMT
I can confirm both the bug and the workaround.

Loading...