如何使debian软件包安装依赖关系 [英] how to make debian package install dependencies

查看:323
本文介绍了如何使debian软件包安装依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个简单的debian软件包来安装一个依赖于Qt4 libs的简单工具。

I want to make a simple debian package to install a simple tool that depends on Qt4 libs.

在控制文件中,我已经定义它依赖于Qt4 libs ,当我测试包裹时,它表示依赖不能满足。

In control file I have defined that it depends on Qt4 libs however, by the time I'm testing the package it says that the dependency could not be met.

问题:

如何使Debian触发器也可以安装依赖关系?

How can I make Debian trigger apt to install the dependencies as well?

找不到文档,但是我知道apt-get这样做。 p>

Can't find that the documentation however I know that apt-get does that.

推荐答案

如果您想避免创建本地APT存储库,可以执行以下操作:

If you want to avoid creating a local APT repository, you can do:

dpkg -i mypackage.deb
apt-get install --fix-missing

如果您要创建本地存储库,可以使用 reprepro 为此。

If you do want to create a local repository, you can use reprepro for this.

这篇关于如何使debian软件包安装依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆