AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1308226
Accepted
Mahir
Mahir
Asked: 2021-01-16 01:58:09 +0800 CST2021-01-16 01:58:09 +0800 CST 2021-01-16 01:58:09 +0800 CST

无法安装 WICD 网络管理器

  • 772

我遇到了 Wifi 和以太网连接突然断开等问题。所以,我在谷歌上搜索了这个问题,发现了这篇关于解决我遇到的问题的帖子一条评论说卸载 GNOME 的网络管理器并安装 WICD 网络管理器可以解决这个问题,他还分享了安装 WICD 网络管理器的命令,但这些命令不起作用只是因为这些命令在 Ubuntu 18.04 或更早版本中可用。

阅读这篇文章后,我意识到由于 Python 2 弃用,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. 

而且我不知道如何解决这个问题。

注意:我使用的是 Ubuntu 20.10。

networking
  • 1 1 个回答
  • 1301 Views

1 个回答

  • Voted
  1. Best Answer
    N0rbert
    2021-01-16T06:37:12+08:002021-01-16T06:37:12+08:00

    上述错误输出意味着您需要在 Ubuntu 20.10 上手动安装更多依赖项wicd:

    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 configuration
    
    • 1

相关问题

  • 如何设置 VLAN 转发?

  • 如何将主机 Ubuntu 上的 VPN (tun0) 网络适配器映射到 VirtualBox 来宾 Windows?

  • 如何限制下载/上传带宽?

  • 如何通过 Windows 网络共享文件?

  • 面板小程序以文本形式显示当前网络流量?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve