fixing "dpkg: warning: files list file for package 'x' missing"
for package in $(apt-get upgrade 2>&1 | grep "warning: files list file for package '" | grep -Po "[^'\n ]+'" | grep -Po "[^']+"); do apt-get install --reinstall "$package"; done
Written by Philipp Haußleiter
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Apt
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#