Thread
:
extract deb file from n900
View Single Post
tuxsavvy
2011-10-07 , 06:39
Posts: 502 | Thanked: 366 times | Joined on Jun 2010 @ /dev/null
#
14
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";
This of course will not work in cases like using aptitude download where it will just download the deb file into your pwd (present working directory).
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).
__________________
IRC
handle: psycho_oreos
3 x Nokia N900
| 2 x 32GB TopRAM microSDHC class 10 inserted in two devices | 2 x SIM cards inserted in two devices.
N900/ Nokia N900 is not a phone/smartphone! its an internet tablet with phone functionality - so quit assuming its still a phone/smartphone when it isn't!!
Help fight spam together!
WANTED: Token/Karma system staff
Quote & Reply
|
tuxsavvy
View Public Profile
Send a private message to tuxsavvy
Visit tuxsavvy's homepage!
Find all posts by tuxsavvy