Failed to fetch kali linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

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

Already on GitHub? Sign in to your account

Failed to update Kali «failed to fetch http.kali.org/kali» #1258

Failed to update Kali «failed to fetch http.kali.org/kali» #1258

Comments

Ok my issue seems to be any kind of trouble with the conection between the distro and the android connection

Describe the bug

Steps to reproduce the behavior

Ktox@localhost:~$ sudo apt update
Err:1 https://http.kali.org/kali kali-rolling InRelease
Temporary failure resolving ‘http.kali.org’
Reading package lists. Done
Building dependency tree
Reading state information. Done
All packages are up to date.
W: Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease Temporary failure resolving ‘http.kali.org’
W: Some index files failed to download. They have been ignored, or old ones used instead.

When I check my sources.list I got

ktox@localhost:~$ cat /etc/apt/sources.list
deb https://http.kali.org/kali kali-rolling main contrib non-free

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

When I run
cat /etc/resolv.conf

Screenshot_20200706-172122_bVNC Free

Ktox@localhost:~$ cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

Device Information

Device: Samsung J400M
Android Version: 9.0
UserLAnd Version: 2.7.2
Whether the device is rooted. No
Whether the device is running LineageOS NO

Seems like there is no connection between the distro and the internet. But as there is no network package install and can’t conect to the kali server I can’t even ping..I’ve looking for all over the network and seems that a lot of people is having this issue and very often even on a regular linux distro but here due to the UserLand might behave different and there is no hint in how to fix it.

The text was updated successfully, but these errors were encountered:

Читайте также:  Linux log out script

No it cant be fixed. The problem is that kali linux it’s not made to use the internal antenna for wifi you must use an external antenna in order to connect to internet. El vie., 2 de abril de 2021 3:51 p. m., rogerio77 ***@***.***> escribió:

Did you fix it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or unsubscribe .

Thanks for your answer
What kind of antenna you recommend in order to do it?
Thanks

You have to get an antenna compatible with kali search on internet for the best antenna for your flavor of kali and for you cellphone brand. I used an atheros I don’t remember the model but it looks like a pendrive color white with an antenna the size is around 5inches. hope it helps El vie., 2 de abril de 2021 8:58 p. m., rogerio77 ***@***.***> escribió:

Thanks for your answer What kind of antenna you recommend in order to do it? Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or unsubscribe .

You have to get an antenna compatible with kali search on internet for the best antenna for your flavor of kali and for you cellphone brand. I used an atheros I don’t remember the model but it looks like a pendrive color white with an antenna the size is around 5inches. hope it helps El vie., 2 de abril de 2021 8:58 p. m., rogerio77 @.***> escribió:

Thanks for your answer What kind of antenna you recommend in order to do it? Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGIRVJTQKSOGENQ3M2TNSLTGZ74HANCNFSM4OSBETRA .

Thanks very much. You are so polite. I appreciate your help

You are welcome. Bro. btw there are a few cellphone brands that have wifi chipsets compatible with kali. look for some LG, Xiaomi, Nokia. high end models only..give it a try maybe in your country are affordable. El sáb., 3 de abril de 2021 7:27 a. m., rogerio77 ***@***.***> escribió:

Источник

Errors in Kali Linux ‘W: Failed to fetch’ and ‘W: Some index files failed to download. They have been ignored, or old ones used instead.’ (SOLVED)

A couple of people in recent days wrote about errors when updating programs in Kali Linux. An example of one of the errors:

Hit:1 https://mirror.karneval.cz/pub/linux/kali kali-rolling InRelease Err:2 http://deb.i2p2.no unstable InRelease 502 Connection timed out [IP: 193.150.121.69 80] Reading package lists… Done W: Failed to fetch http://deb.i2p2.no/dists/unstable/InRelease  502 Connection timed out [IP: 193.150.121.69 80] W: Some index files failed to download. They have been ignored, or old ones used instead.

An example of the second error:

W: Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease Could not find IP address for "http.kali.org"

The very first thing you need to check if you encounter similar problems, is everything all right with your Internet connection – for example, open some web site.

If your Internet connection is alright, then continue. Let’s consider several examples of solving the problem.

2. Specifying a certain Kali Linux update mirror

When updating Kali Linux, a request is made to the host http.kali.org for a list of mirrors. The system then uses one of these mirrors to update. You can skip the stage of getting the list of mirrors (referring to http.kali.org), and hardcode the desired mirror in the repository sources file /etc/apt/sources.list.

Читайте также:  Linux mint no virtual box

The OFFICIAL Kali Linux repository mirror list is on this page: http://http.kali.org/README.mirrorlist:

On the territory of my country there is one mirror. In other countries, but on the same continent (EU), another 11 mirrors. And another 14 mirrors on other continents.

The mirror line looks like this:

http://ftp.acc.umu.se/mirror/kali.org/kali/README

Cut /README from this line and get the mirror address:

http://ftp.acc.umu.se/mirror/kali.org/kali

Open the /etc/apt/sources.list file:

sudo gedit /etc/apt/sources.list

And enter the mirror address there instead of the ellipsis deb … kali-rolling main non-free contrib, for example:

deb http://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling main non-free contrib

Now a specific mirror will be used for the upgrade.

If the mirror is also unavailable, use the following and so on until you find one that works for you.

All other methods are self-sufficient – they do not require to modify the sources.list file.

3. How to bypass ISP censorship to access Kali Linux servers

With TorIptables2 you can enable redirection of all traffic through Tor. Accordingly, all IPs and web-sites blocked by ISP will be available.

Install Tor and TorIptables2

sudo apt install tor sudo systemctl start tor sudo systemctl enable tor git clone https://github.com/ruped24/toriptables2 cd toriptables2/ sudo mv toriptables2.py /usr/local/bin/ cd

Now, when you want to redirect all traffic through the Tor network (before updating, for example), simply run the command:

To return to the normal settings, do:

Attention : the words “all traffic” means “all HTTP traffic. Some programs send raw packets and/or ignore system-wide proxy settings. TorIptables2 redirects traffic without usage of the proxy settings, but using the Iptables firewall, but with raw packets you still need to be careful and double-check their path.

4. Redirecting traffic through the Tor network using Privoxy

With Privoxy, you can achieve exactly the same effect as with TorIptables2.

5. How to bypass ISP censorship using free VPNs

You can use the autovpn program, which will find a free OpenVPN server for you, download the configuration file and connect to it. You can select the country in which you want a VPN. More details in the article “Free easy way to hide IP in Linux”.

As well the ‘How to redirect all traffic through the Tor network’ will be useful for you if you want to use another tools to redirect traffic though Tor network.

Источник

failed to fetch kali linux

W: Some index files failed to download. They have been ignored, or old ones used instead. The simplest fix is to replace the existing HTTP protocol with the secure HTTPS protocol.

How do I fix my Kali Linux repository?

How to update Kali Linux repository. To update Kali Linux repository first log in as root or user and start the terminal. In the terminal, check the current list of apt repositories present on the system. If there are no APT repositories, paste the code below to add them.

How do I fix DPKG error in Kali Linux?

  1. Method 1: Reconfigure dpkg Database.
  2. Method 2: Force-Install the Software.
  3. Method 3: Remove Bad Software Package.
  4. Method 4: Clean Out Unused Software Packages.
  5. Method 5: Remove Post Files.
  6. Method 6: Overwrite Package File.
Читайте также:  Microsoft word and linux

Does not have a release file Kali?

E: The repository ‘http://security.kali.org/kali-security kali/updates 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.

How do I fix run missing?

  1. sudo apt-get update –fix-missing.
  2. sudo dpkg –configure -a.
  3. sudo apt-get install -f.
  4. Unlock the dpkg – (message /var/lib/dpkg/lock)
  5. sudo fuser -vki /var/lib/dpkg/lock.
  6. sudo dpkg –configure -a.

How do I update my Kali Linux repository?

In short, to optimally upgrade your Kali system, all you need to do is just configure the repositories and install updates with the “ $ sudo apt upgrade command.” It is as simple as that. Remember to be mindful when you are using third-party repositories.

What is the command to find out the IP address of Kali?

Type the command ip addr show in the terminal and press enter. As soon as you will press enter, some information will be displayed on the terminal window. From the information shown below in the terminal screen, the highlighted rectangle shows the IP address of your device beside the inet field.

How do I fix my source list?

  1. Open a terminal and run sudo gedit `/etc/apt/sources.list` I am not sure if gedit is installed by default. .
  2. Save the file, close the editor and run sudo apt-get update.
  3. You should now be able to install iceweasel with this command: sudo apt-get install iceweasel.

How do I get rid of Ppas?

  1. Launch Software & Updates.
  2. Click the “Other Software” tab.
  3. Select (click) the PPA you want to delete.
  4. Click “Remove” to remove it.

How do I get dpkg?

Simply type dpkg followed by –install or –i option and the . deb file name. Also, the dpkg will not install the package and will leave it in an unconfigurable and broken state.

What does sudo dpkg mean?

dpkg is the software that forms the low-level base of the Debian package management system. It is the default package manager on Ubuntu. You can use dpkg to install, configure, upgrade or remove Debian packages, and retrieve information of these Debian packages.

How do you fix errors encountered while processing?

  1. Solved by executing this command: sudo dpkg-reconfigure -phigh -a Thank you. – R9TySix Feb 15 ’12 at 18:09.
  2. sudo apt-get -f install helps if there are unmet dependencies – Stan Aug 11 ’16 at 0:21.
  3. Do sudo apt purge man-db , then install it again. – Mohammad Kholghi Jun 25 ’19 at 20:23.

How to Install Heat Sinks on the Raspberry Pi

Raspberry

How do you attach a heatsink to a Raspberry Pi?Where does heat sink go on Raspberry Pi?Do you need heatsink on Raspberry Pi?Does Raspberry Pi 4 need a.

How to Use Regex with the 'awk' Command

Patterns

Can you use regex in awk?What is awk regex?What is expression in awk?How do you match patterns with awk?How do you escape quotes in awk?How do you use.

How to Install IntelliJ IDEA on Ubuntu 18.04

Intellij

The steps to install IntelliJ on Ubuntu 18.04 are as follows:Download IntelliJ for Ubuntu 18.04 – Go to IntelliJ IDEA download page and download the L.

Latest news, practical advice, detailed reviews and guides. We have everything about the Linux operating system

Источник

Оцените статью
Adblock
detector