你可以尝试这样的事情:
dpkg -L --list-all-package-files | grep "^/usr" > dpkg-files.dat **(don't know the dpkg option "--list-all-package-files", read mand dpkg)**
find /usr -type f -o -type l > all-usr-files.dat
sort dpkg-files.dat all-usr-files.dat | uniq -c | grep " 1 "
Run Code Online (Sandbox Code Playgroud)
这样您将获得 /usr 中的所有文件,但不是任何包文件。作为第一次尝试,这可能会对您有所帮助。