Differences between version 36 and predecessor to the previous major change of DebianNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 36 | Last edited on Thursday, July 6, 2006 2:52:46 pm | by CraigBox | Revert |
Older page: | version 35 | Last edited on Monday, May 15, 2006 11:51:05 am | by CraigBox | Revert |
@@ -1,5 +1,4 @@
-
!!! Package-related Notes
!! Rate-limiting apt-get
@@ -61,8 +60,14 @@
!! Reinstalling all packages on a system
<verbatim>
dpkg --get-selections | awk '$2 == "install" { print $1 }' | xargs apt-get -y --reinstall install
+</verbatim>
+
+!! Removing all packages marked as 'deinstall'
+
+<verbatim>
+dpkg --get-selections | grep deinstall | cut -f1 | xargs dpkg --purge
</verbatim>
!! Irritations using dpkg -l '*glob*'