相关疑难解决方法(0)

添加 PPA 后如何解决未满足的依赖项?

有时,当我安装东西时,我会收到如下错误:

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:
 package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

package-management apt ppa dependencies software-installation

617
推荐指数
10
解决办法
119万
查看次数

升级到 18.04,现在有许多损坏的包和未满足的依赖项

我犯了一个可怕的错误并升级到 18.04,而没有通过执行以下操作在不同的分区中进行备份:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt-get autoremove
sudo apt install update-manager-core
sudo do-release-upgrade -d
Run Code Online (Sandbox Code Playgroud)

然后我在重启后做了更新和升级命令。现在存在许多sudo apt-get -f install命令无法修复的未满足的依赖项和损坏的包问题。更新 sudo apt install -f 错误日志输出的第一部分是:

    Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... failed.
The following packages have unmet dependencies:
 gnome-calendar : Depends: gsettings-desktop-schemas (>= 3.21.2) but 3.18.1-1ubuntu1 is installed
 gnome-session : Depends: gnome-shell (>= 3.25.91-0ubuntu4~) but it is not installed
                 Depends: gnome-session-bin (>= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed …
Run Code Online (Sandbox Code Playgroud)

upgrade package-management apt dependencies

19
推荐指数
3
解决办法
8万
查看次数

如何在 ubuntu 14.04.3LTS 64 位上修复安装 wine

我知道有很多问题,wine但我无法找到或解决这些问题的答案。有人可以帮我修复有关 Wine 的安装吗?

以下是尝试修复它时的命令输出:

  1. sudo dpkg --add-architecture i386

    sudo apt-get dist-upgrade

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    Run Code Online (Sandbox Code Playgroud)
  2. sudo apt-get update

  3. sudo apt-get install wine

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable …
    Run Code Online (Sandbox Code Playgroud)

package-management apt wine software-installation 14.04

9
推荐指数
1
解决办法
2万
查看次数

得到“E:无法纠正问题,您持有破损的包裹。”

这个问题不是骗人的。我在这里收到了我想要的答案:https : //unix.stackexchange.com/a/411530/3285

以前,当我只是尝试更新时会收到此错误。我相信这个问题与VLC PPA有关,它在 Ubuntu 上一直是彻头彻尾的垃圾rm为了清除*vlc*包,我实际上必须删除受包控制的文件。现在,我删除了那个文件,我可以相对轻松地删除 vlc 包。我想这会让我回到开始,我可以再次尝试安装,但是当我这样做时,我收到了这个错误,

sudo apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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 …
Run Code Online (Sandbox Code Playgroud)

package-management apt ppa dependencies vlc

-1
推荐指数
1
解决办法
1万
查看次数