maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   How to save .deb file from store? (https://talk.maemo.org/showthread.php?t=87474)

minimos 2012-10-20 21:44

Re: How to save .deb file from store?
 
It works in both cases, as it activates before the 'dpkg install' operation, whether it comes from CLI or GUI.

Schturman 2012-10-20 21:48

Re: How to save .deb file from store?
 
The same do "Catch Apps" button from N9QT, or from tweak O ;)

thedead1440 2012-10-21 01:28

Re: How to save .deb file from store?
 
using the osa command:

Code:

osa --packages > packages.txt
The above would give a list of all packages installed from store...

Vesuri 2012-10-23 11:44

Re: How to save .deb file from store?
 
Quote:

Originally Posted by thedead1440 (Post 1283012)
Vesuri, is there any way to replace packagename with all packages so that all installed apps can be backed-up in one go?

Try

Code:

for package in `osa --packages | grep Package: | awk '{ print $2 }'`; do osa --get $package > $package.deb; done

thedead1440 2012-10-23 12:05

Re: How to save .deb file from store?
 
Quote:

Originally Posted by Vesuri (Post 1284409)
Try

Code:

for package in `osa --packages | grep Package: | awk '{ print $2 }'`; do osa --get $package > $package.deb; done

works flawlessly :)


Thanks!


Edit:

One last request :D,

When you do osa --packages all the packages downloaded from Store with their control files appear so maybe its possible to save as package_version.deb?


All times are GMT. The time now is 04:24.

vBulletin® Version 3.8.8