Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

installation problem #652

Closed
RatJul opened this issue Nov 28, 2021 · 26 comments
Closed

installation problem #652

RatJul opened this issue Nov 28, 2021 · 26 comments

Comments

@RatJul
Copy link

RatJul commented Nov 28, 2021

Hi guys i'm new user of github and kali linux too. I try to understand how to use this operating system so sorry if my question is idiot.
I want to install the fat rat so i follow instructions i did git clone... cd TheFatRat, chmod +x setup.sh && ./setup.sh
but i've a problem with Python3-Pip
I try to install with apt-get install i try to upgrade with apt-get upgrade but nothing works.
When i launch i've

xterm -> OK
Dns-Utils -> OK
Mono-Denvelop Utils -> OK
GCC -> OK
Apache2 -> OK
Gnome Terminal -> OK
UPX -> OK
Ruby -> OK
Python3 -> OK
Python3-Pip -> Not OK
Openssl -> OK
Jarsigner -> OK
Unzip -> OK
Keytool -> OK
Zipalign -> OK
Mingw64 -> OK
Mingw32 -> OK
DX -> OK
Aapt -> OK
Apktool -> OK
Baksmali -> OK
Metasploit -> OK
Backdoor-Factory -> OK
Searchsploit -> OK
Was not possible to install The Packages Labeled (Not Ok) in this list above
Try : (apt-get remove --purge && apt-get autoremove && apt-get install -f)
before running fatrat setup script again

I try apt-get remove --purge Python3-Pip && apt-get autoremove && apt-get install -f but that doesn't work.
If someone can help me... Thanks

@Morsmalleo
Copy link

Morsmalleo commented Nov 29, 2021

This is an easy one to fix, just open up your terminal in Kali, and type the command sudo apt update && sudo apt install python3-pip -y then you run can the setup.sh file inside TheFatRat folder again and it should be all goods 🙂

@RatJul
Copy link
Author

RatJul commented Nov 29, 2021

i tried and the package can't be download idon't understand. I will show you:
sudo apt update && sudo apt install Python3-Pip -y
Hit:1 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease
Get:3 https://download.docker.com/linux/debian stretch InRelease [44.8 kB]
Get:2 http://archive-4.kali.org/kali kali-rolling InRelease [30.6 kB]
Err:2 http://archive-4.kali.org/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
Reading package lists... Done
N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'https://download.docker.com/linux/debian stretch InRelease' doesn't support architecture 'i386'
W: GPG error: http://archive-4.kali.org/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
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.

thanks for your help

@RatJul
Copy link
Author

RatJul commented Nov 29, 2021

i start to think that the problem is not in the fat rat installation but i miss a package in my computer, i'm not sure

@Morsmalleo
Copy link

Morsmalleo commented Nov 29, 2021

Ok what you need to do is either remove the repository http://archive-4.kali.org/kali from your sources.list or figure out how the add the pubkeys for it, as it says in your comment, that release has not been signed so it's blocking your from updating and upgrading, what OS are you using??

@Morsmalleo
Copy link

It also looks like the repository http://http.kali.org/kali isn't signed either so do the same with this one as well, either figure out how to sign it by adding the pub-keys or remove it

@RatJul
Copy link
Author

RatJul commented Nov 29, 2021

so if i understand i have to do a apt install http://archive-4.kali.org/kali ? and same for the other link? (or delete them)

@RatJul
Copy link
Author

RatJul commented Nov 29, 2021

i find my kernel version
root@thp3:~# uname -a
Linux thp3 4.14.0-kali3-amd64 #1 SMP Debian 4.14.17-1kali1 (2018-02-16) x86_64 GNU/Linux

@Morsmalleo
Copy link

Send me a screenshot of your sources.list file it should be located in the /etc/apt/ directory. I will help you from there

@Morsmalleo
Copy link

Morsmalleo commented Nov 29, 2021

so if i understand i have to do a apt install http://archive-4.kali.org/kali ? and same for the other link? (or delete them)

You need to delete them, but first send screenshot of your sources.list file located at /etc/apt/ directory

@RatJul
Copy link
Author

RatJul commented Nov 30, 2021

root@thp3:~# cat /etc/apt/sources.list

deb cdrom:[Debian GNU/Linux 2018.1 Kali-rolling - Official Snapshot amd64 LIVE/INSTALL Binary 20180126-21:23]/ kali-last-snapshot contrib main non-free

#deb cdrom:[Debian GNU/Linux 2018.1 Kali-rolling - Official Snapshot amd64 LIVE/INSTALL Binary 20180126-21:23]/ kali-last-snapshot contrib main non-free

deb http://http.kali.org/kali kali-rolling main non-free contrib

deb-src http://http.kali.org/kali kali-rolling main non-free contrib

i believe that's what you ask but i'm not sure

@Morsmalleo
Copy link

root@thp3:~# cat /etc/apt/sources.list

deb cdrom:[Debian GNU/Linux 2018.1 Kali-rolling - Official Snapshot amd64 LIVE/INSTALL Binary 20180126-21:23]/ kali-last-snapshot contrib main non-free

#deb cdrom:[Debian GNU/Linux 2018.1 Kali-rolling - Official Snapshot amd64 LIVE/INSTALL Binary 20180126-21:23]/ kali-last-snapshot contrib main non-free

deb http://http.kali.org/kali kali-rolling main non-free contrib

deb-src http://http.kali.org/kali kali-rolling main non-free contrib

i believe that's what you ask but i'm not sure

Screenshot pls

@RatJul
Copy link
Author

RatJul commented Nov 30, 2021

image

@Morsmalleo
Copy link

You must install the latest Kali archive keyring

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

but how i do?

@Morsmalleo
Copy link

sudo apt install kali-archive-keyring

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

image

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

i think that's wrong "2 not upgraded"

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

image

@Morsmalleo
Copy link

Morsmalleo commented Dec 1, 2021

Ok type this for me in your terminal and run it

sudo mousepad /etc/apt/sources.list
If you do not have mousepad installed then type the command
sudo apt install mousepad && sudo mousepad /etc/apt/sources.list

Show me screenshot of output please

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

image

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

i find!! that was a problem with my keyring archive you were true, i download a new archive and i update my keyring packages everything is okay! now i need to come back to thefatrat

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

oh no, i've a new problem :(

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

image

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

i try to run fatrat and everything is ok! thank you so much!

@RatJul
Copy link
Author

RatJul commented Dec 1, 2021

i don't know what was the problem but it don't seems really important

@peterpt
Copy link
Collaborator

peterpt commented Dec 1, 2021

why do you have so many repositories for kali where only 1 of them will upgrade kali distribution ?

Multiple repositories will break your linux distribution .
I think you should remove that microsoft repository and that debian stretch repository and have only kali in your sources.list , and then do apt-get upgrade

However i surelly believe that those repositories i told you are not in sources.list file but instead inside the folder /etc/apt/sources.list.d/ directory .

write in your terminal : cd /etc/apt/sources.list.d && ls

and tell me what files are inside that folder .

@peterpt peterpt closed this as completed Jan 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants