Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
debian:clean-i386-packages-from-amd64-system [2014/08/20 11:35]
wadmin
debian:clean-i386-packages-from-amd64-system [2014/08/20 11:37] (current)
wadmin
Line 21: Line 21:
 </​file>​ </​file>​
  
-// reinstall ​all but i386 packages //+// Reinstall ​all but i386 packages //
 <​file>​ <​file>​
 grep -v ':​i386'​ < installed.txt.old | cut -d: -f1 | cut -f1 | xargs -n1 apt-get -f -o Dpkg::​Options::​="​--force-overwrite"​ install --reinstall grep -v ':​i386'​ < installed.txt.old | cut -d: -f1 | cut -f1 | xargs -n1 apt-get -f -o Dpkg::​Options::​="​--force-overwrite"​ install --reinstall
 </​file>​ </​file>​
  
-// reinstall all packages if no i386 packages are installed //+// Alternatively you can reinstall all packages if no i386 packages are installed. This is good for those that are just wanting to get the box back in shape after disaster has struck. ​//
 <​file>​ <​file>​
 cut -d: -f1 < installed.txt | cut -f1 | xargs -n1 apt-get -f -o Dpkg::​Options::​="​--force-overwrite"​ install --reinstall cut -d: -f1 < installed.txt | cut -f1 | xargs -n1 apt-get -f -o Dpkg::​Options::​="​--force-overwrite"​ install --reinstall
 </​file>​ </​file>​
/var/customers/webs/cw01/wiki/data/pages/debian/clean-i386-packages-from-amd64-system.txt ยท Last modified: 2014/08/20 11:37 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki