Score:3

E: Package 'python' has no installation candidate

gb flag

I have been experimenting with some hacking tools (like hydro) recently and I came across a tool called Responder. It basically opens an SMB server that grabs the NetNTLMv for the administrative user from a server/client (BTW I am still a beginner so please go easy on me if I am wrong). I tried to run the script by typing ./Responder.py -I tun0 but it said /usr/bin/env: ‘python’: No such file or directory. I understood that python was not installed so I ran sudo apt install python but instead of it telling me that the installation was complete, it told me this:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  2to3 python2-minimal:i386 python2:i386 python2-minimal python2 dh-python
  python-is-python3

E: Package 'python' has no installation candidate

The output remained the same even after running sudo apt update && sudo apt upgrade and after rebooting.

I remember python working before the last update so I'm not really sure what to do.

Version: Ubuntu 22.04 amd64

(Note: I tapped into the Responder.py code and I saw that in the shebang line, it specifically required python 1, so python 2 and 3 aren't supposed to work...I tried it anyways and as I guessed, it did not work.)

Samanway Karjee avatar
gb flag
@guiverc okay...let me add it real quick. Also btw I tapped into the code and found that Responder is made for python1, and I tried it with python 2 and python 3...both didn't work. So I really need a way to install python1.
Samanway Karjee avatar
gb flag
@guiverc sorry again...its amd64
Score:4
vn flag

All recent Ubuntu installations use python3 only.

To run programs that point to python, install the package python-is-python3:

sudo apt install python-is-python3

Or manually create a symlink to python3 (which basically is what the above package does):

sudo ln -s /usr/bin/python3 /usr/bin/python
Samanway Karjee avatar
gb flag
I thought this would work but I tapped into the code and found that Responder is made for python1, and I tried it with python 2 and python 3...both didn't work. So I really need a way to install python1.
Artur Meinild avatar
vn flag
Well good luck - or maybe you should use software designed for today and not a 25-year old version of Python?
Samanway Karjee avatar
gb flag
I have tried doing that..but none of them work...I found one called Responder3 which was made for Python3...But that didn't work...
Artur Meinild avatar
vn flag
Well it hasn't been [updated for 4-5 years](https://github.com/skelsec/Responder3). But should serve as a good starting point to develop the app further, if you should wish to do so..
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.