[
Date Prev
][
Date Next
] [
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
如何找到某个文件的宿主包?
To
: "Debian Chinese GB" <
debian-chinese-gb@lists.debian.org
>
Subject
: 如何找到某个文件的宿主包?
From
: "Vern Sun" <
s5unty@gmail.com
>
Date
: Sat, 3 Mar 2007 18:29:51 +0800
Message-id
: <
[🔎]
3b6bb5f10703030229i56a49deft12a18ef7d6ecc99d@mail.gmail.com
>
因为我要找的不是本机上安装的deb包,所以dpkg -S是不行的。
假设在/sun目录下多个deb包,其中一个含有文件somefile,我用
find -type f -exec dpkg -c "{}" \; | less +/somefile,能找到该文件。但是dpkg -c不会列出包名,所以我还是不知道somefile属于哪个包?
不用脚本能否实现,如果要写脚本,应该怎样写?谢谢!
Reply to:
debian-chinese-gb@lists.debian.org
Vern Sun (on-list)
Vern Sun (off-list)
Follow-Ups
:
Re: 如何找到某个文件的宿主包?
From:
"Vern Sun" <s5unty@gmail.com>
Prev by Date:
Re: 用什么命令能实现这样的处理
Next by Date:
Re: 如何找到某个文件的宿主包?
Previous by thread:
Re: 用什么命令能实现这样的处理
Next by thread:
Re: 如何找到某个文件的宿主包?
Index(es):
Date
Thread