从 10.04 升级到 12.04 后,我尝试安装不同的软件包。例如 ia32-libs 和 Skype (4.0)。
尝试安装这些时,我收到“无法纠正问题,您保存了损坏的软件包”错误消息。
命令的输出:
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)
运行后:
sudo dpkg --configure -a
foo@foo:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud) 我一直在按照 wine 的步骤安装winehq,但尽管我似乎已经尽我所能,但我仍然收到此错误:
The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan Release' does not have a Release file.
E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
Run Code Online (Sandbox Code Playgroud)
如果有人能说明我应该从这里去哪里,我将不胜感激。谢谢。
这是更新后的输出,在我尝试了以下建议之后:
antonio@mclinux:~$ sudo dpkg --add-architecture i386
antonio@mclinux:~$ wget -nc -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
OK
antonio@mclinux:~$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
Hit:1 http://br.archive.ubuntu.com/ubuntu eoan InRelease
Hit:2 http://ppa.launchpad.net/ricotz/unstable/ubuntu eoan InRelease
Hit:3 http://br.archive.ubuntu.com/ubuntu eoan-updates …Run Code Online (Sandbox Code Playgroud) 我正在尝试将 wine 安装到 Ubuntu 18.04,但出现错误:
The following packages have unmet dependencies:
Run Code Online (Sandbox Code Playgroud)
wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not going to be installed
Run Code Online (Sandbox Code Playgroud)
即使当我尝试构建它时,我也会收到一条警告,说我需要 flex,当我尝试安装 flex 时,我再次收到完全相同的错误。
我在网上看到有几个人提到我可能用错误的 Ubuntu 版本或第三方弄乱了更新存储库,我需要找到它然后清理它。但是,我对此一点都不熟悉,我列出了所有存储库,但我不知道应该删除哪个存储库以及如何删除它。
由于字符长度限制,此输出被删除
编辑:根据要求,grep -v ^# /etc/apt/sources.list
deb http://tr.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://tr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://tr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://tr.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://tr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://tr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://tr.archive.ubuntu.com/ubuntu/ bionic-backports …Run Code Online (Sandbox Code Playgroud)