English 中文(简体)
如何宣布不依赖一揽子办法?
原标题:how do i declare a non .deb binary dependency on a .deb package?

i m 形成一套折合办法,一等到我能够表达大多数依赖点。 不幸的是,有一些依赖者认为,目前还没有一套.子(例如 w夫,或uch子, file子的档案太落后,而新版本的档案还未存在),但可以暂时确定。

表达这种一揽子依赖的最佳方式是什么? 存放装置?

http://www.debian.org/doc/debian-policy/ch-relationships.html

问题回答

适当的解决办法是,为缺失的部件制定折中办法,或许只是在你私人存放处。 还有<代码>equivs,使你能够建立质素包,例如满足有问题的依赖,即基本“我知道我正在做些什么;只是假设这一包件得到适当安装”。 对于一次性工作,您也可援引<编码>dpkg和-force-depends,以取得相同结果。

Assuming the required missing packages aren t in backports or elsewhere, the best solution is to create Debian Packages for packages which don t already exist.

如你所期望的那样,该法官将测试邮局卷宗的组合部分中的成套材料,例如,如果你的职位是<代码>#!/bin/bash:

REQUIREDPACKAGE= python 
REQUIREDVERSION= Python 2.6.6 
if [ -z "$(which $REQUIREDPACKAGE)" -o "$($REQUIREDPACKAGE --version 2>&1)" != "$REQUIREDVERSION" ]; then
  echo "$REQUIREDPACKAGE @$REQUIREDVERSION is required"
  exit 99;
fi

如果你使用判决,你应在README中增加所有必要的非bian包,并可能的话,在有安装指示的INSTALL档案中添加。





相关问题
Preferred method of packaging Windows Mobile apps?

Is there a preferred method of packaging Windows Mobile apps? Visual Studio creates an .exe file from the source, but the MSDN website mentions a CAB wizard. Can either work if it is just a standalone ...

How to run installed python script?

I used distutils to install my python package, with this setup.py : import distutils.core args = { name : plugh , version : 1.0 , scripts : [ "scripts/...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

How do I package my linux application using MonoDevelop?

I have a hobby project that is written in C# using MonoDevelop. I ve been trying for some time now to get my head around linux packaging, but I keep coming away feeling frustrated and overwhelmed. My ...

Including dependencies in a jar with Maven

Is there a way to force maven(2.0.9) to include all the dependencies in a single jar file? I have a project the builds into a single jar file. I want the classes from dependencies to be copied into ...

热门标签