![在 Kali 上将软件包降级到旧版本](https://linux22.com/image/216023/%E5%9C%A8%20Kali%20%E4%B8%8A%E5%B0%86%E8%BD%AF%E4%BB%B6%E5%8C%85%E9%99%8D%E7%BA%A7%E5%88%B0%E6%97%A7%E7%89%88%E6%9C%AC.png)
从各个论坛的错误报告中,我得出的结论是,降级 wpa 请求者可能是解决我的连接问题的方法。我需要降级 wpasupplicant(2.10 是当前版本)才能连接我的学校网络。我现在使用 Kali Linux,不知道如何将 wpasupplicant 降级到某些旧版本,例如 2.9。
https://forum.endeavouros.com/t/cannot-connect-to-wifi-network-after-wpa-supplicant-upgrade/23207/18
https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1958267
https://bugs.archlinux.org/task/73495?project=1&order=dateopened&sort=desc
我努力了
sudo apt install --allow-downgrades wpasupplicant=2:2.10-2
但出现错误
E: Version '2:2.10-2' for 'wpasupplicant' was not found
另外,在关于此问题的另一个问题(下面的链接)中据说添加了降级所需的存储库。但我再次需要这部分的帮助。 https://askubuntu.com/questions/1046810/cannot-downgrade-wpa-supplicant-to-fix-wi-fi-connection-to-a-corporate-network
对于不同版本的 wpasupplicant 我发现
https://repology.org/project/wpa-supplicant/versions 但我不知道如何使用这些存储库降级。
答案1
我对 wpa_supplicant v2.10 也有很多问题 - 对我来说,我无法创建一个根本可用的 wifi 热点。我在 ubuntu 上遇到了同样的问题,所以这里是 Kali Linux 的答案(已确认工作):
# add in old (sadly unsigned) source list
deb http://old.kali.org/kali 2021.1 main contrib non-free
# since the source list doesn't include a .gpg file, we need to manually allow it
apt-get update --allow-insecure-repositories
# match the version of wpasupplicant that was in the old repo
sudo apt --allow-downgrades install wpasupplicant=2:2.9.0-17
# prevent the package from being upgraded
sudo apt-mark hold wpasupplicant
# check is working with
wpa_supplicant -v
# wpa_supplicant v2.9
# Copyright (c) 2003-2019, Jouni Malinen <[email protected]> and contributors
(以上所有内容的灵感来自于包含 ubuntu 说明的博客文章)