我dpkg -L *
给出了这个结果:
Package `20140123_002246.mp4' is not installed.
Package `20140123_002246.mpg' is not installed.
Package `anu' is not installed.
Package `anu.cpp' is not installed.
Package `anu.sh' is not installed.
Package `anu.zip' is not installed.
Package `aplikasi' is not installed.
Package `aplikasi.tar.gz' is not installed.
Package `archives.tar.gz' is not installed.
Package `compizconfig.png' is not installed.
dpkg-query: error: package name in specifier 'Daurah Tegar di Atas Sunnah di Masa Fitnah - Al Ustadz Muhammad Umar As Sewed - Sesi 1.MP3' is illegal: character ` ' not allowed (only letters, digits and characters `-+._')
这是不正常的。我不知道这怎么会发生。如何解决?谢谢。
PS:作为比较,我正常的 dpkg -L 结果是这样的:
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/dhcp3-server
/usr/share/doc/dhcp3-server/copyright
/usr/share/doc/dhcp3-server/README.Debian
/usr/share/doc/dhcp3-server/changelog.Debian.gz
答案1
第一个命令将遍历当前目录中的所有文件,并将dpkg
它们视为包名称。这是因为 bash 将 解析为当前目录中的所有文件或目录。您需要指定一个包名称*
来代替。*