Install the software always prompt dpkg:warning:files list file for the package ' * * * * * * * * * missing, assuming packages has no files currently installed, resulting Unable to install any software, the results of Baidu +google a lot of tutorials, and finally found the solution is as follows: (Lose no credulous others can only reinstall the system to solve) #!/bin/bashset-e # clean Out/var/cache /apt/archivesapt-get clean# Fill it with all the. Debs we needapt-get--reinstall-dy install $ (dpkg--get-selections | gr EP ' [[: Space:]]install ' | CUT-F1) dir=$ (mktemp-d-t info-xxxxxx) for Deb in/var/cache/apt/archives/*.debdo # Move To working directory cd "$DIR" # Create DEBIAN directory mkdir-p debian # Extract Control files dpkg-deb-e "$deb" & nbsp; # Extract file list, fixing up the leading./And Turning/into/. dpkg-deb -C "$deb" | awk ' {print $NF} ' | cut-c2-| Sed-e ' s/^\/$/\/./' > debian/list # figure out Binary package NAME &Nbsp; deb=$ (basename "$deb" | cut-d_-f1) # Copy each control file into Place &nbs P;  CD debian for file in * do cp-a "$file"/var/lib/dpkg/info/"$DEB". " $file " done # clean up cd.     RM-RF debiandonermdir "$DIR" the principle is to re-download all installed packages, and then extract the file list from the information copied to the Info folder. (so please use when the Internet is better)
Problems with Ubuntu Apt-get