linux - 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
和没有运气的类似命令。
解决方案
您下载的版本与您的 Ubuntu 版本stella
的官方数据包版本不兼容。libsdl2
如果您只想使用stella
,可以通过以下方式安装为兼容版本apt
:
apt install stella
推荐阅读
- excel - 使用 VBA 代码插入电子表格公式
- c - 更改数组中的变量时出现分段错误
- node.js - 猫鼬连接中的 DeprecationWarning 尽管将其设置为 true
- node.js - yarn install 失败(使用 node-gyp 构建主角)
- javascript - 未找到模块:错误:在角度应用程序中解析的递归
- clickhouse - 分布式 Clickhouse 表中的重复数据删除
- r - RSelenium::remDr$open() 实际上是假设打开浏览器窗口吗?
- environment-variables - 如何在页面中输出 AWS Elastic Beanstalk 环境变量
- python - 无法捕获 IndexError 并打印语句,还循环回输入
- python - Python:如何创建循环遍历文件夹中的 csv 文件的代码