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 / 问题 / 528148
Accepted
Find Me In The Woods
Find Me In The Woods
Asked: 2014-09-25 16:54:41 +0800 CST2014-09-25 16:54:41 +0800 CST 2014-09-25 16:54:41 +0800 CST

Unity 在 Gnome 3 上重新安装时出现“Damaged Packages”

  • 772

当我通过 Unity 安装 Gnome 时,登录时我无法选择返回到标准 Unity 桌面。每次我尝试简单的

sudo apt-get install ubuntu-desktop 

我得到错误

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:

ubuntu-desktop : Depends: ubuntu-session but it is not going to be installed
  Depends: unity-control-center but it is not going to be installed
  Depends: unity-settings-daemon but it is not going to be installed
  Recommends: xul-ext-webaccounts but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我已经尝试了一切,但 Unity 拒绝重新安装,我不想完全重新安装 Ubuntu。我使用 Ubuntu 14.04。请帮忙!!!

unity
  • 2 2 个回答
  • 911 Views

2 个回答

  • Voted
  1. Best Answer
    lemonsqueeze
    2014-10-07T23:55:17+08:002014-10-07T23:55:17+08:00

    看起来出了点问题,现在包依赖关系被破坏了。完成我如何解决未满足的依赖项
    中 的步骤 以使事情恢复正常。

    基本上就是这样

    sudo apt-get clean
    sudo apt-get update
    sudo apt-get -f install
    sudo apt-get -f install ubuntu-desktop
    

    确保保留这些命令的输出。如果在那之后它仍然坏了,它将提供有关正在发生的事情的有价值的信息。

    • 1
  2. ton
    2015-06-12T11:19:31+08:002015-06-12T11:19:31+08:00

    我解决了这个问题,禁用所有 gnome3-staging 存储库(在软件中心)并重新安装所有包依赖项。

    在尝试安装每个依赖项(及其子依赖项)后apt-get install,它向我展示了一些库的一些更新版本。

    为了解决这个问题,我删除并安装了这些较新版本中的每一个。

    • 0

相关问题

  • 如何将 Web 应用程序放入 Unity Launcher?

  • Ubuntu 上网本 10.10 中没有 Alt+F2?

  • Unity 中的 gnome-do 样式键盘快捷键

  • 在哪里提交 Unity 的错误/愿望清单?

  • Unity 启动器——它可以作为单独的包提供吗?

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