一个好友的国外VPS由于操作不当,结果装软件的时候总是提示dpkg: warning: files list file for package `***' missing, assuming package has no files currently installed,导致无法安装任何软件,结果百度+Google了好多教程,最后找到的解决办法如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1...
一个好友的国外VPS由于操作不当,结果装软件的时候总是提示dpkg: warning: files list file for package `***' missing, assuming package has no files currently installed,导致无法安装任何软件,结果百度+Google了好多教程,最后找到的解决办法如下: #!/bin/bashset-e # Cleanout/var/cache/apt/archives apt-ge...
dpkg -L <package> 或dpkg --list-files <package> 代码语言:javascript 代码运行次数:0 复制Cloud Studio 代码运行 $ dpkg -L fping /. /usr /usr/bin /usr/bin/fping /usr/share /usr/share/bug /usr/share/bug/fping /usr/share/doc /usr/share/doc/fping /usr/share/doc/fping/NEWS.Debian.gz...
1.dpkg: warning: files list file missing; assuming package has no files currently installed 解决办法:将错误信息放入reinstall.txt,然后运行下面脚本,重新安装这些包 #!/bin/bash for package in $(cat reinstall.txt | grep "dpkg: warning: files list file for package " | grep -Po "'[^']*'" ...
for deb in /var/cache/apt/archives/*.deb do # Move to working directory cd "$DIR" # Create DEBIAN directory mkdir -p DEBIAN # Extract control files dpkg-deb -e "$deb" # Extract file list, fixing up the leading ./ and turning / into /. ...
purge - Remove packages and their configuration files recommends - List missing recommended packages for a particular package rdepends - Show reverse dependency information for a package reinstall - Download and (possibly) reinstall a currently installed package ...
报错: dpkg: warning: files list file for package 'autopoint' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'ros-melodic-moveit-re…
--control-list package-name :从包名列出安装到系统的控制文件(自dpkg 1.16.5起)。 --control-show package-name control-file :将安装到系统的控制文件从包名打印到标准输出(从dpkg 1.16.5开始)。 -S, --search filename-search-pattern... : 搜索拥有与给定模式(动态链接库)对应的文件的包。 -p, --...
So, we saved the list of installed packages into a file named instPacks.txt. Subsequently, we can view the content using the cat command: $ cat instPack.txt Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?
-l, --list package-name-pattern... List packages matching given pattern. -s, --status package-name... Report status of specified package. -L, --listfiles package-name... List files installed to your system from package-name. -S, --search filename-search-pattern... ...