2005年6月8日 星期三

dpkg -S

[lang_zh]
之前要查一個檔案在那一個 package 裡面都用 apt-file,它有個壞處是要手動更新 package 的資訊(麻煩,且導致 apt-file 跟 package system 不同步)。剛才發現原來 dpkg -S 可以做到同樣的事情!
[/lang_zh]

[lang_en]
I used to use apt-file to search which file is in which package. But the disadvantage is you have to upda the package information manually (annoying, also causing the asynchronization to the package system).

I just found the dpkg -S can do the same thing. Since it use the same database as the package system, there's not the same problem!
[/lang_en]
張貼留言