Penguin

Differences between current version and predecessor to the previous major change of DpkgNotes.

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

Newer page: version 2 Last edited on Thursday, March 22, 2007 10:27:19 am by DavidLeaver
Older page: version 1 Last edited on Tuesday, February 20, 2007 7:45:14 pm by BenStaz Revert
@@ -2,4 +2,14 @@
  
 *ls -lat /var/lib/dpkg/info | head -20 
  
 This was very handy for me when I knew that a package I had recently installed had wreaked havoc on my machine but I just could not remember its name so that I could remove it! 
+  
+!!Clone packages from one machine to another.  
+To install the same packages you have on machine A on machine B, do the following:  
+  
+*A: dpkg --get-selections > list  
+* _copy the file to machine b_  
+*B: dpkg --set-selections < list  
+*B: apt-get dselect-upgrade  
+  
+It should list all the packages and install them.