View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000824 | Kali Linux | Tool Upgrade Request | public | 2014-01-01 11:53 | 2014-01-01 17:22 |
| Reporter | gzw | Assigned To | rhertzog | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | x86 | OS | Kali | OS Version | 1.0 |
| Product Version | 1.0.5 | ||||
| Summary | 0000824: Upgrade to mitmproxy fails | ||||
| Description | When attempting to upgrade mitmproxy (after performing apt-get update) we get the error: SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/libmproxy/flow.py', 789, 70, ' cookie_parameters = {key.strip().lower():value.strip() for key,sep,value in pairs[1:]}\n')) This is because Python 2.6 doesn't support dict comprehensions. | ||||
| Steps To Reproduce | apt-get update | ||||
| Additional Information | To solve this, I performed: pip install mitmproxy Alternatively, we'd need to tell apt-get to use Python 2.7. I'm not sure how to do this without create Python virtual envs. | ||||
|
I had same problem using "apt-get dist-upgrade" Easily reproducible with: |
|
|
I just uploaded mitmproxy_0.9.2-2kali2_source.changes that will fix this problem by restricting the package to python 2.7 (we don't really care about python 2.6 since 2.7 is the default version). |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-01-01 11:53 | gzw | New Issue | |
| 2014-01-01 15:47 | fringes | Note Added: 0001250 | |
| 2014-01-01 17:22 | rhertzog | Note Added: 0001251 | |
| 2014-01-01 17:22 | rhertzog | Status | new => closed |
| 2014-01-01 17:22 | rhertzog | Assigned To | => rhertzog |
| 2014-01-01 17:22 | rhertzog | Resolution | open => fixed |
| 2021-05-31 13:37 | rhertzog | Category | Tool Upgrade => Tool Upgrade Request |