与此 repoquery 命令等效的 debian 是什么?
repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg
--qf %{NAME}_%{VERSION}_%{RELEASE}_%{ARCH}_%{BUILDTIME}_%{PACKAGER}_%{LOCATION}
Run Code Online (Sandbox Code Playgroud)
这将忽略 /etc/yum.repos.d 下指定的任何存储库,并在 repofrompath 中指定的存储库中列出 mypkg 最新可用版本的请求信息。
到目前为止,我已经找到了
apt-cache showpkg mypkg
Run Code Online (Sandbox Code Playgroud)
但我不确定如何使用 -c config-file 选项来模拟上面 repofrompath 的效果。