pupy
pupy copied to clipboard
Installation issue
Hello, I'm trying to install Pupy on Kali Linux 2020.4, but it's trying to use outdated packages and the wrong syntax for usermod.
The outdated package:
E: Package 'python-pip' has no installation candidate
The wrong syntax:
Executing: /lib/systemd/systemd-sysv-install enable docker
Usage: usermod [options] LOGIN
Options:
-b, --badnames allow bad names
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
...Output omitted for brevity
Don't know the exact location of that usermod, but I don't think you just print the usermod help.
Full output:
Package python-pip 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:
python3-pip
E: Package 'python-pip' has no installation candidate
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Apt source entry exists, skipping.
Ign:1 https://download.docker.com/linux/debian kali-rolling InRelease
Hit:2 https://download.docker.com/linux/debian stretch InRelease
Hit:3 http://kali.download/kali kali-rolling InRelease
Err:4 https://download.docker.com/linux/debian kali-rolling Release
404 Not Found [IP: 13.226.162.69 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian kali-rolling Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
docker-ce is already the newest version (5:19.03.15~3-0~debian-stretch).
The following package was automatically installed and is no longer required:
libplymouth4
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1204 not upgraded.
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Usage: usermod [options] LOGIN
Options:
-b, --badnames allow bad names
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
-a, --append append the user to the supplemental GROUPS
mentioned by the -G option without removing
the user from other groups
-h, --help display this help message and exit
-l, --login NEW_LOGIN new value of the login name
-L, --lock lock the user account
-m, --move-home move contents of the home directory to the
new location (use only with -d)
-o, --non-unique allow using duplicate (non-unique) UID
-p, --password PASSWORD use encrypted password for the new password
-R, --root CHROOT_DIR directory to chroot into
-P, --prefix PREFIX_DIR prefix directory where are located the /etc/* files
-s, --shell SHELL new login shell for the user account
-u, --uid UID new UID for the user account
-U, --unlock unlock the user account
-v, --add-subuids FIRST-LAST add range of subordinate uids
-V, --del-subuids FIRST-LAST remove range of subordinate uids
-w, --add-subgids FIRST-LAST add range of subordinate gids
-W, --del-subgids FIRST-LAST remove range of subordinate gids
-Z, --selinux-user SEUSER new SELinux user mapping for the user account
[+] Git repo at /home/kali/pupy
errors pretty printing info
Docker either is not installed or not configured.
Installation: https://docs.docker.com/install/
In the last part it says Docker isn't installed, but it works just fine:
$ docker
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/home/kali/.docker")
-c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use")
-D, --debug Enable debug mode
...Output omitted for brevity
did you ever fix it
did you ever fix it
Nope, didn't have time to try to fix it. When I'll have time I'll try fixing the script
i got it
the final line "${PYTHON} create-workspace.py -E docker -P $HOME/pupyws" put sudo in fromt
the final line "${PYTHON} create-workspace.py -E docker -P $HOME/pupyws" put sudo in fromt
I tried it just now but it still doesn't work (it's trying to install rsa but it doesn't work)
I managed to fix the other things tho
yeah its a mess of code i got it working but I'm too lazy to tell ya how
the final line "${PYTHON} create-workspace.py -E docker -P $HOME/pupyws" put sudo in fromt
I tried it just now but it still doesn't work (it's trying to install rsa but it doesn't work)
I managed to fix the other things tho
Make sure you're using a clean pip environment. (pipenv is good for this)
rsa==4.0