安装DEB包同时安装依赖文件
来源:互联网 发布:python scala 编辑:程序博客网 时间:2024/06/05 04:22
在安装deb文件的时候,常见的安装方式为
sudo dpkg -i xxx.deb
但是,有些deb文件是有依赖文件的,如果本地没有安装这些依赖文件,则导致的结果常常是安装失败。
如我在安装remarkable的时候,提示:
Selecting previously unselected package remarkable.(Reading database ... 325261 files and directories currently installed.)Preparing to unpack remarkable_1.87_all.deb ...Unpacking remarkable (1.87) ...dpkg: dependency problems prevent configuration of remarkable: remarkable depends on python3-markdown; however: Package python3-markdown is not installed. remarkable depends on gir1.2-webkit-3.0; however: Package gir1.2-webkit-3.0 is not installed. remarkable depends on wkhtmltopdf; however: Package wkhtmltopdf is not installed.dpkg: error processing package remarkable (--install): dependency problems - leaving unconfiguredProcessing triggers for mime-support (3.59ubuntu1) ...Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...Rebuilding /usr/share/applications/bamf-2.index...Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key.Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...Errors were encountered while processing: remarkable
解决方法
- 执行完
dpkg
命令后,执行sudo apt-get -f install
1; - 安装
gdebi,之后执行
sudo gdebi package.deb`会自动安装上依赖文件2。
参考文献
- https://doneaz.com/install-deb/ ↩
- https://askubuntu.com/questions/40011/how-to-let-dpkg-i-install-dependencies-for-me ↩
阅读全文
0 0
- 安装DEB包同时安装依赖文件
- dpkg 安装 deb 包依赖
- Ubuntu安装.deb包与依赖包
- ubuntu跳过依赖关系安装deb包
- ubuntu 16.04 dpgk安装deb包因缺少依赖文件失败
- UBUNTU 安装 删除 卸载 Deb 包文件
- 安装 删除 卸载 Deb 包文件
- Ubunt 安装删除卸载Deb包文件
- 安装 删除 卸载 Deb 包文件
- ubuntu 安装 删除 卸载 Deb 包文件
- 安装 删除 卸载 Deb 包文件
- DEB安装包制作方法
- ubuntu 安装deb包
- 安装 deb包
- ubuntu deb包安装
- 安装deb包
- ubuntu安装deb包
- Ubuntu安装deb及依赖
- Android Studio2.0的逆天功能Instant Run
- [MTK软件原创] [I2C]如何在lk和preloader阶段进行i2c通讯
- 二叉树
- 前情回顾#static_thread
- 如何用vncview查看xvfb里面的画面呢
- 安装DEB包同时安装依赖文件
- 比较两个list集合的值是否相等
- 创建svn版本库
- Python3 中把txt数据文件读入到矩阵中
- PyCharm使用技巧:Compare With(文件比较工具)
- locals()和globals()
- idea 激活
- [DFT] OCC(On-Chip Clocking)电路的实现
- git 初次接触需要知道的代码