我遇到了像Wifi和以太网连接都突然中断的问题。所以,我在谷歌上搜索了这个问题,发现这篇关于解决我的问题的帖子我尽力跟踪帖子和评论来解决我的问题,但是它没有解决我的问题,然后我有一段评论说卸载GNOME的网络管理器和安装WICD网络管理器可以解决这个问题,他还分享了安装WICD网络管理器的命令,但是这些命令并不是因为这些命令在Ubuntu18.04或更早的版本中可用。
我开始意识到阅读这个职位时,wicd由于Python2的弃用而被从存储库中删除。在此之后,我遵循了这个帖子,即这一个,并试图通过下载包并手动安装WICD来安装WICD,这里有以下命令
mkdir -p ~/Downloads/wicd
cd ~/Downloads/wicd
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-6_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wicd/python-wicd_1.7.4+tb2-6_all.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wicd/wicd-daemon_1.7.4+tb2-6_all.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wicd/wicd-gtk_1.7.4+tb2-6_all.deb
sudo apt-get install ./*.deb
sudo apt-get install ./*.deb # second time for correct configuration为了手动安装WICD,我运行了所有命令,但是当我运行命令sudo apt-get install ./*.deb时,终端看起来如下所示
lmao@lol:~/Downloads/wicd$ sudo apt-get install ./*.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-glade2' instead of './python-glade2_2.24.0-6_amd64.deb'
Note, selecting 'python-gtk2' instead of './python-gtk2_2.24.0-6_amd64.deb'
Note, selecting 'python-wicd' instead of './python-wicd_1.7.4+tb2-6_all.deb'
Note, selecting 'wicd-daemon' instead of './wicd-daemon_1.7.4+tb2-6_all.deb'
Note, selecting 'wicd-gtk' instead of './wicd-gtk_1.7.4+tb2-6_all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python-gtk2 : Depends: python-cairo (>= 1.0.2-1.1) but it is not installable
Depends: python-gobject-2 (>= 2.21.3) but it is not installable
wicd-daemon : Depends: python-dbus but it is not installable
Depends: python-gobject-2 but it is not installable
E: Unable to correct problems, you have held broken packages. 我不知道怎么解决这个问题。
注意:我使用的是Ubuntu20.10。
发布于 2021-01-15 14:37:12
上面的错误输出意味着您需要在wicd的Ubuntu20.10上手动安装更多的依赖项:
mkdir -p ~/Downloads/wicd
cd ~/Downloads/wicd
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-6_amd64.deb
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wicd/python-wicd_1.7.4+tb2-6_all.deb
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wicd/wicd-daemon_1.7.4+tb2-6_all.deb
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wicd/wicd-gtk_1.7.4+tb2-6_all.deb
# for 20.10
wget -c http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pycairo/python-cairo_1.16.2-2ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/d/dbus-python/python-dbus_1.2.16-1build1_amd64.deb
sudo apt-get update
sudo apt-get install ./*.deb
sudo apt-get install ./*.deb # second time for correct configurationhttps://askubuntu.com/questions/1308226
复制相似问题