相关疑难解决方法(0)

How to download packages from a command-line given repository?

It is not about the common download & install thing, what apt (aptitude, etc) does, it is a scripted download a package file.

I found the dget tool for this task, which works quite well. But, unfortunately, it doesn't have any option to specify a different repository URL as it is given in the /etc/apt/sources.list.

它以某种方式可能吗?实际上,类似dget功能是最好的,我也可以在其中指定 repo URL。


Ps 非常感谢你的脚本,但我更喜欢一个 debian 工具来完成这个非常 简单的任务。它将成为构建脚本的一部分,供外部使用,任何不必要的复杂性都会带来无法忍受的附带成本。它必须由 debian 工具完成。

ps2。最后我通过更新系统范围的存储库解决了这个问题,并使用dget. 非常感谢脚本!

debian dpkg

4
推荐指数
1
解决办法
6529
查看次数

标签 统计

debian ×1

dpkg ×1