首页 > 解决方案 > Linux 依赖错误(无法安装 Stella)

问题描述

我正在尝试在 Ubuntu 20.04 上安装 Stella Atari 模拟器,以完成我正在学习的课程。

我收到以下错误:

sudo dpkg -i stella_6.5.3_amd64.deb 
Selecting previously unselected package stella.
(Reading database ... 202707 files and directories currently installed.)
Preparing to unpack stella_6.5.3_amd64.deb ...
Unpacking stella (6.5.3) ...
dpkg: dependency problems prevent configuration of stella:
 stella depends on libsdl2-2.0-0 (>= 2.0.14); however:
  Version of libsdl2-2.0-0:amd64 on system is 2.0.10+dfsg1-3.

dpkg: error processing package stella (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 stella

我一直在试图找出一种方法来安装此安装所需的特定版本的 libsdl2,但我无法弄清楚如何获得 2.0.14 版本。有什么建议么?

我试过了

sudo apt-get install libsdl2-2.0-0=2.0.14

和没有运气的类似命令。

标签: linuxubuntusdlapt-getdpkg

解决方案


您下载的版本与您的 Ubuntu 版本stella的官方数据包版本不兼容。libsdl2如果您只想使用stella,可以通过以下方式安装为兼容版本apt

apt install stella

推荐阅读