Penguin

Differences between version 28 and previous revision of DebianNotes.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 28 Last edited on Thursday, July 14, 2005 12:50:57 am by MattBrown Revert
Older page: version 27 Last edited on Thursday, March 17, 2005 4:49:26 am by SkliaroukArieh Revert
@@ -56,14 +56,14 @@
 <verbatim> 
 cd /var/lib/dpkg/info/ 
 for PKG in *.list ; do 
  while read FILE ; do 
- [ [ -r "$FILE" ] && continue 
+ [ -r "$FILE" ] && continue 
  echo "${PKG%%.list}" 
  break 
  done < "$PKG" 
 done \ 
-| xargs apt-get install --reinstall 
+| xargs apt-get -y install --reinstall 
 </verbatim> 
  
 It will look at your installed packages to see what files should be installed, then reinstall any packages for which files are missing.