Reply
Thread Tools
Posts: 8 | Thanked: 6 times | Joined on Jun 2011
#1
Hi.
Is it possible to backup our current applications separately in the .deb format so that we don't have to keep downloading them after a format?

I don't mean backing up the whole OS image, just the apps.

I saw a similar thread but the method used didn't work for me.

Any input is appreciated.
 
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:
Posts: 8 | Thanked: 6 times | Joined on Jun 2011
#3
thanks a lot! i'll give it a try & see how it goes.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#4
Code:
maemo-list-user-packages | awk '{print $1}' | xargs  > apps_installed.txt
might be a bit more useful if you only need user/ packages
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:47.