View Issue Details

IDProjectCategoryView StatusLast Update
0007697Kali LinuxTool Upgrade Requestpublic2022-05-09 02:06
Reportermichaelinzo Assigned Tosbrun  
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionwon't fix 
Product Version2022.1 
Summary0007697: Stuck on Connecting to android-mirror.bugly.qq.com (android-mirror.bugly.qq.com)|0.0.0.1|:8080... When Upgrading
Description

I can't upgrade my Kali Linux Operating System I tried it all like deleting sources and extras also this android-mirror.bugly.qq.com it death screen my original Kali Linux System. I'm now using a back up OS. I have this problem for almost a year now, I upgraded my system before by doing several steps but I still comeback with this error when upgrading and I can't fully upgrade my system. I'll wait for several hours but still nothing.
This is the whole terminal:

michael@Raze:~$ sudo apt-get update
[sudo] password for michael:
Hit:1 https://download.docker.com/linux/debian stretch InRelease
Ign:3 http://http.kali.org/kali kali InRelease
Err:4 http://http.kali.org/kali kali Release
404 Not Found [IP: 192.99.200.113 80]
Hit:5 https://deb.nodesource.com/node_0.10 jessie InRelease
Ign:6 http://security.kali.org/kali-security kali/updates InRelease
Get:7 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease [3,956 B]
Get:8 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid/main amd64 Packages [419 B]
Get:9 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid/main i386 Packages [417 B]
Get:2 http://kali.download/kali kali-rolling InRelease [30.6 kB]
Get:10 http://kali.download/kali kali-rolling/main Sources [14.6 MB]
Ign:6 http://security.kali.org/kali-security kali/updates InRelease
Get:11 http://kali.download/kali kali-rolling/non-free Sources [129 kB]
Get:12 http://kali.download/kali kali-rolling/main i386 Packages [18.0 MB]
Ign:6 http://security.kali.org/kali-security kali/updates InRelease
Get:13 http://kali.download/kali kali-rolling/main amd64 Packages [18.2 MB]
Get:14 http://kali.download/kali kali-rolling/main amd64 Contents (deb) [42.0 MB]
Err:6 http://security.kali.org/kali-security kali/updates InRelease
Something wicked happened resolving 'security.kali.org:http' (-5 - No address associated with hostname)
Get:15 http://kali.download/kali kali-rolling/main i386 Contents (deb) [41.3 MB]
Get:16 http://kali.download/kali kali-rolling/non-free amd64 Packages [214 kB]
Get:17 http://kali.download/kali kali-rolling/non-free i386 Packages [178 kB]
Get:18 http://kali.download/kali kali-rolling/non-free i386 Contents (deb) [956 kB]
Get:19 http://kali.download/kali kali-rolling/non-free amd64 Contents (deb) [1,006 kB]
Reading package lists... Done
W: https://download.docker.com/linux/debian/dists/stretch/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
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'
E: The repository 'http://http.kali.org/kali kali 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.
W: https://deb.nodesource.com/node_0.10/dists/jessie/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://downloads.metasploit.com/data/releases/metasploit-framework/apt/dists/lucid/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
michael@Raze:~$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
michael@Raze:~$ sudo dpkg --configure -a
Setting up google-android-build-tools-installer (23.0.3+r1) ...
make: Entering directory '/var/cache/google-android-build-tools-installer'
cd /var/cache/google-android-build-tools-installer && \
su nobody -s /bin/sh -c "wget --continue http://android-mirror.bugly.qq.com:8080/android/repository/build-tools_r23.0.3-linux.zip"
--2022-05-06 12:13:16-- http://android-mirror.bugly.qq.com:8080/android/repository/build-tools_r23.0.3-linux.zip
Resolving android-mirror.bugly.qq.com (android-mirror.bugly.qq.com)... 0.0.0.1
Connecting to android-mirror.bugly.qq.com (android-mirror.bugly.qq.com)|0.0.0.1|:8080... failed: Connection timed out.
Retrying.

--2022-05-06 12:15:27-- (try: 2) http://android-mirror.bugly.qq.com:8080/android/repository/build-tools_r23.0.3-linux.zip
Connecting to android-mirror.bugly.qq.com (android-mirror.bugly.qq.com)|0.0.0.1|:8080...

Steps To Reproduce

sudo apt-get update
michael@Raze:~$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
michael@Raze:~$ sudo dpkg --configure -a
Setting up google-android-build-tools-installer (23.0.3+r1) ...
make: Entering directory '/var/cache/google-android-build-tools-installer'
cd /var/cache/google-android-build-tools-installer && \
su nobody -s /bin/sh -c "wget --continue http://android-mirror.bugly.qq.com:8080/android/repository/build-tools_r23.0.3-linux.zip"
--2022-05-06 12:13:16-- http://android-mirror.bugly.qq.com:8080/android/repository/build-tools_r23.0.3-linux.zip
Resolving android-mirror.bugly.qq.com (android-mirror.bugly.qq.com)... 0.0.0.1
Connecting to android-mirror.bugly.qq.com (android-mirror.bugly.qq.com)|0.0.0.1|:8080... failed: Connection timed out.
Retrying.

Additional Information

I want help I'm crying and dying inside with this problem. I love Kali Linux, Linux/GNU etc.

Attached Files

Activities

michaelinzo

michaelinzo

2022-05-06 09:21

reporter   ~0016128

This issue is categorized as Kali Package Bug

michaelinzo

michaelinzo

2022-05-08 12:23

reporter   ~0016131

Update can't do anything with this BUG BUGLY

arnaudr

arnaudr

2022-05-09 02:05

manager   ~0016134

Heya, I read your report. This is definitely not a bug in Kali.

The line that matters is:

<pre>
michael@Raze:~$ sudo dpkg --configure -a
Setting up google-android-build-tools-installer (23.0.3+r1) ...
...
</pre>

The problem is the package "google-android-build-tools-installer". Something is wrong with this package, as you can see the failure happens when apt tries to setup THIS particular package. Just remove it with "apt remove google-android-build-tools-installer" and that will help.

Other than that, I can see that your apt sources.list are misconfigured, in particular:

<pre>
Ign:6 http://security.kali.org/kali-security kali/updates InRelease
</pre>

There's no such repository, so please remove this repo.

Other than that, I see that you added a lot of custom repositories to your apt sources.list (download.docker.com, download.metasploit.com, deb.nodesource.com). Throwing in third-party reopsitories in your apt config is a great way to break your install, unless you know very well what you're doing. I hope you know what you're doing.

In any case, if you need help, please head to https://forums.kali.org, this is the place for community support.

Issue History

Date Modified Username Field Change
2022-05-06 09:20 michaelinzo New Issue
2022-05-06 09:20 michaelinzo Status new => assigned
2022-05-06 09:20 michaelinzo Assigned To => sbrun
2022-05-06 09:20 michaelinzo File Added: AndroidbuglyScreenshot 2022-05-06 121908.png
2022-05-06 09:21 michaelinzo Note Added: 0016128
2022-05-08 12:23 michaelinzo File Added: FireScreenshot 2022-05-08 151955.png
2022-05-08 12:23 michaelinzo Note Added: 0016131
2022-05-09 02:05 arnaudr Note Added: 0016134
2022-05-09 02:06 arnaudr Status assigned => closed
2022-05-09 02:06 arnaudr Resolution open => won't fix