|
Page 2 of 2 |
|
Prev |
1 2
|
Re: extract deb file from n900
dpkg-repack
but be carefull with (post|pre)-install scripts ... the generated package is not exactly the same as the original one. I think you can get dpkg-repack from debian repository (it's a perl script) |
Re: extract deb file from n900
Why not jsut use BackupMenu, then? it's made for the purpose and it's easy to use. But i think there is a way to repackage everything using dpkg-deb...
|
Re: extract deb file from n900
what about a simple :
Code:
cp /var/cache/apt/archives/*.deb /home/user/MyDocs/my_packages/However, this doesn't explicitly group applications with their dependencies, but they are still there, and can be installed via Code:
dpkg -i ...and, great link Drexxx |
Re: extract deb file from n900
Initially I used dpkg-repack but that won't include manpages for instance for all the installed debs. I also made a simple script to do all that as well but I found out red pill mode gives an option for one to disable cleaning apt cache which would leave all the downloaded debs in /home/user/MyDocs/.apt-archive-cache/ as per wiki states.
Though using this would only be effective for HAM (Hildon Application Manager), which meant that if say for example you used apt-get or FAM (Faster Application Manager) those deb files for instance would be saved in /var/cache/apt/archives. Needless to say is that you can optify /var/cache/apt but for making /home/user/MyDocs/.apt-archive-cache the only place for downloaded debs to go you will need to add a line into your /etc/apt/apt.conf.d/00maemo: Code:
Dir::Cache::Archives "/home/user/MyDocs/.apt-archive-cache";As for installing debs and its dependencies automatically, dpkg does not natively do that. For getting it to work you'll need to create a small apt repository (and ideally not on your device as reflashing will make you lose your setup). |
Re: extract deb file from n900
thanks to all of you, helped me alot
I don't mind if someone came up with a more affective way |
Re: extract deb file from n900
Quote:
|
Re: extract deb file from n900
Quote:
|
Re: extract deb file from n900
I'd guess Harmattan does not keep a cache for store packages simply because that would enable people easily to redistribute paid / non-free stuff.
|
| All times are GMT. The time now is 18:46. |
Page 2 of 2 |
|
Prev |
1 2
|
vBulletin® Version 3.8.8