网络管理器无法安装,依赖性问题

网络管理器无法安装,依赖性问题

我意外安装了 connmanager,它删除了我的 network-manager 和 network-manager-gnome。现在我无法连接到我的 wifi 和以太网连接。我尝试从源代码(最新版本)安装 network-manager,但它存在依赖性问题。现在,当我通过 usb 调制解调器连接互联网时。但我仍然无法安装 network-manager 和 network-manager-gnome,使用apt-get -f 它显示以下错误:

apt-get -f install network-manager network-manager-gnome

Reading package lists... Done
Building dependency tree       
Reading state information... Done

network-manager is already the newest version.
The following package was automatically installed and is no longer required:
  libllvm2.8
Use 'apt-get autoremove' to remove them.

Suggested packages:
  network-manager-openvpn-gnome network-manager-vpnc-gnome
The following packages will be upgraded:
  network-manager-gnome
1 upgraded, 0 newly installed, 0 to remove and 728 not upgraded.
1 not fully installed or removed.
Need to get 0 B/404 kB of archives.
After this operation, 3,214 kB disk space will be freed.
Do you want to continue [Y/n]? y

dpkg: dependency problems prevent configuration of network-manager-gnome:
 network-manager-gnome depends on libgnome-bluetooth7 (>= 2.27.8); however:
  Package libgnome-bluetooth7 is not installed.

 network-manager-gnome depends on libnm-glib2 (>= 0.8~rc2~git.20091229t135236.302e62d); however:
  Package libnm-glib2 is not installed.

 network-manager-gnome depends on libnm-util1 (>= 0.8~a~git.20090930t162132.866d48b); however:
  Package libnm-util1 is not installed.

 network-manager-gnome depends on libnotify1 (>= 0.4.5); however:
  Package libnotify1 is not installed.

 network-manager-gnome depends on libnotify1-gtk2.10; however:
  Package libnotify1-gtk2.10 is not installed.
 network-manager (0.9.4.0-0ubuntu4.3) breaks network-manager-gnome (<< 0.8.99) and is installed.
  Version of network-manager-gnome to be configured is 0.8-0ubuntu3.1.

 libnm-gtk0 (0.9.4.1-0ubuntu2) breaks network-manager-gnome (<< 0.9.1.90-0ubuntu2) and is installed.

  Version of network-manager-gnome to be configured is 0.8-0ubuntu3.1.
 gnome-bluetooth (3.2.2-0ubuntu5) breaks network-manager-gnome (<< 0.9.0-3) and is installed.

 Version of network-manager-gnome to be configured is 0.8-0ubuntu3.1.
 libnm-gtk-common (0.9.4.1-0ubuntu2) breaks network-manager-gnome (<< 0.9.1.90-0ubuntu2) and is installed.

  Version of network-manager-gnome to be configured is 0.8-0ubuntu3.1.
dpkg: error processing network-manager-gnome (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                           Errors were encountered while processing:
 network-manager-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)

ifconfig显示:

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:152 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12592 (12.5 KB)  TX bytes:12592 (12.5 KB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:100.101.120.10  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:12852 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12958 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:10903035 (10.9 MB)  TX bytes:1972515 (1.9 MB)

我怎样才能恢复我的系统?

我正在使用 Ubuntu 12.04 32 位。

答案1

libnotify1 的依赖项是什么?尝试 sudo apt-get install libnotify1。对 libgnome-bluetooth7、libnm-glib2、libnm-util1 执行相同操作

相关内容