我正在尝试将 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)