Ubuntu 14.04 LTS 中的问题

Ubuntu 14.04 LTS 中的问题

最近我将 Ubuntu 从 13.04 升级到 13.10,然后又升级到 14.04。

现在我遇到了一些奇怪的问题:

  1. 当我使用常规“Ubuntu”选项从 grub 菜单启动我的机器时,我的Caps Lock按键开始闪烁,并且屏幕上出现“CALL TRACE”消息,然后它冻结了。

    因此我使用高级选项启动。

  2. 在高级选项下,我有两个 Linux 内核:其中一个是 linux-image-3.8.0-19-generic。它可以正常启动,但是当我尝试通过另一个内核启动时,我遇到了与上面的问题 1 相同的问题。

  3. 我的 Apache2 无法启动。启动时提示 apache2“错误”。

  4. E: Sub-process /usr/bin/dpkg returned an error code (1)当安装任何东西时。

  5. 当我尝试这里提到的解决方案时http://ubuntuforums.org/archive/index.php/t-985232.html我得到与上面问题 3 相同的结果。

  6. 有时我会收到此错误:由于错误太多,处理被停止。

我该如何继续?

编辑:输出uname -a

Linux abhishek-Inspiron-7520 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

编辑:输出lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty

编辑:输出sudo apt-get install linux-generic

libpango-1.0-0:amd64 depends on fontconfig (>= 2.1.91); however:
Package fontconfig is not configured yet.

dpkg: error processing package libpango-1.0-0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpango-1.0-0:i386:
 libpango-1.0-0:i386 depends on fontconfig (>= 2.1.91); however:
  Package fontconfig is not configured yet.

dpkg: error processing package libpango-1.0-0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpangoft2-1.0-0:i386:
 libpangoft2-1.0-0:i386 depends on libpango-1.0-0 (>= 1.36.0); however:
  Package libpango-1.0-0:i386 is not configured yet.

dpkg: error processing package libpangoft2-1.0-0:i386 (--configure):
 dependency proNo apport report written because the error message indicates its a followup error from a previous failure.

No apport report written because the error message indicates its a followup error from a previous failure.

etc etc, ...

dpkg: too many errors, stopping
Errors were encountered while processing:
 fontconfig
 libpango-1.0-0:amd64
 libpango-1.0-0:i386
 libpangoft2-1.0-0:i386
 libpangoft2-1.0-0:amd64
 libpangocairo-1.0-0:amd64
 libpangocairo-1.0-0:i386
 libgtk-3-0:amd64
 libgnome-control-center1
 libnautilus-extension1a
 libpeas-1.0-0
 libunity-control-center1
 libgtk-3-bin
 librsvg2-2:i386
 librsvg2-2:amd64
 librsvg2-common:amd64
 librsvg2-common:i386
 gnome-icon-theme
 gnome-icon-theme-symbolic
 deja-dup
 libgcr-ui-3-1:amd64
 gcr
 gnome-keyring
 libdbusmenu-gtk4:amd64
 libgtk2.0-0:amd64
 libgtk2.0-0:i386
 libindicator7
 libappindicator1
 libdbusmenu-gtk3-4:amd64
 libindicator3-7
 libappindicator3-1
 libatk-wrapper-java-jni:amd64
 openjdk-7-jre:amd64
 libatk-wrapper-java
 libcanberra-gtk3-0:amd64
 libcanberra-gtk0:amd64
 gnome-session-canberra
 libcogl-pango15:amd64
 libclutter-1.0-0:amd64
 libclutter-gst-2.0-0:amd64
 gstreamer1.0-clutter
 gstreamer1.0-x:amd64
 libcheese7:amd64
 libclutter-gtk-1.0-0:amd64
 libcheese-E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

由于sudo apt-get install linux-generic出现大量错误,我会执行以下操作:

  1. 进行完整的数据备份 (/home、/usr、/var)
  2. 进行完整系统备份(克隆)或插入附加硬盘
  3. 插入服务器 CD,从 CD 重新启动并重新安装(在新硬盘上)
  4. 重新安装所有应用程序
  5. 挂载旧分区
  6. 将数据从旧分区复制/恢复到新安装

答案2

也许不能解决所有问题,但对于第 7 点,请先尝试关闭 Windows。如果您使用 Windows 8 或 8.1,请尝试运行shutdown -s -t 0以完全关闭 Windows

相关内容