View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#2
Edit: I am not quite sure what you are trying to do.

EITHER install dpkg-repack
Code:
apt-get update && apt-get install dpkg-repack
to get your applications converted to .deb files. You have to know the exact name of the package to repackage it. Do not forget the hundreds of dependency libs that are necessary to rebuilt the OS.

OR
To get a list of all the packages installed
Code:
dpkg -l|awk '/^ii/{ print $2 }' > apps_installed.txt
To download the packages into /var/cache/apt/archives aka. /opt/var/cache/apt/archives
Code:
apt-get update && apt-get install -dy --reinstall --force-yes$(<apps_installed.txt)
Save this directory to some place. To install later, change into this directory
Code:
dpkg *.deb
There will be a couple of missing dependency errors, but after a dozen or so runs the command will get it sorted out. Those extra commands also try to sort out problems
Code:
dpkg--configure -a
and if things get not sorted you need an internet connection to do
Code:
apt-get install -f

Last edited by michaaa62; 2011-09-27 at 19:19.
 

The Following 4 Users Say Thank You to michaaa62 For This Useful Post: