The Following 4 Users Say Thank You to sultanmaideen For This Useful Post: | ||
![]() |
2010-10-29
, 10:13
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#2
|
![]() |
2010-10-29
, 10:19
|
|
Posts: 943 |
Thanked: 3,228 times |
Joined on Jun 2010
@ Zagreb
|
#3
|
![]() |
2010-10-29
, 10:28
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#4
|
![]() |
2010-10-29
, 10:36
|
|
Posts: 943 |
Thanked: 3,228 times |
Joined on Jun 2010
@ Zagreb
|
#5
|
![]() |
2010-10-29
, 12:52
|
Posts: 5 |
Thanked: 6 times |
Joined on Oct 2010
@ Kuala Lumpur, Malaysia
|
#6
|
![]() |
2010-10-29
, 14:40
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#7
|
![]() |
2010-10-29
, 15:13
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#8
|
![]() |
2010-10-29
, 15:22
|
Posts: 41 |
Thanked: 0 times |
Joined on Jun 2010
|
#9
|
![]() |
2012-05-14
, 12:59
|
Posts: 25 |
Thanked: 14 times |
Joined on May 2012
|
#10
|
One of the solutions is to keep DEB package of your favorite apps as a backup for future installation.
Tools Needed
• Terminal emulator (X Terminal or SSH)
• VIM editor (Available in Extras http://wiki.maemo.org/Extras)
Create Backup Folder to Download Apps
Openup XTerminal and create the required folders as follws:
$ mkdir -p /home/user/MyDocs/apt-archive-cache/archives/partial
Create Application List
1) Once all required applications are installed, create a new backup in your device.
2) Copy “applications.zip” found in Backup folder from your device into your PC.
3) Extract “packages.backup” file from the created backup “applications.zip”.
4) Open “packages.backup” in notepad. Remove “<backup> ” and “</pkg> ”. Both of these should be removed. Do not remove “<pkg>”. Now save the file as “download.txt”
5) Now replace all text “<pkg>” with “apt-get --force-yes -yy -d install --reinstall -o dir::cache=/home/user/MyDocs/apt-archive-cache ” then save the file.
All the rows should look like this
apt-get --force-yes -yy -d install --reinstall -o dir::cache=/home/user/MyDocs/apt-archive-cache mathjinni
6) Now rename the file “download.txt” into “download.list” then copy back into “MyDocs” folder of your device.
7) Now open this file “download.list” in notepad and save as “install.list”. Remove all “-d ” switch from this file and save it once again. (this step is for installing back all downloaded packages from the scratch)
8) Copy these two files “download.list” & “install.list” into your device MyDocs folder.
Download Apps Packages
Executing download.list script will download all the packages.
“rootsh” package should be installed in your device. If you don’t have, download and install it manually. After that, key in following commands in XTerminal.
$ sudo gainroot
/home/user # cd MyDocs (Changing the directory to MyDocs folder)
/home/user # ls (Make sure that “download.list” is found)
/home/user # sh<download.list
You should now see the downloading process running.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 213kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free 100boxes 0.5.0-4 [213kB]
Fetched 213kB in 0s (538kB/s)
Download complete and in download only mode
Depending on the size of the list, the process could take a while. Once finished, the downloaded packages can be listed using following command:
$ ls /home/user/MyDocs/apt-archive-cache/archives|grep deb
Nokia-N900-42-11:/home/user# ls /home/user/MyDocs/apt-archive-
100boxes_0.5.0-4_armel.deb
accdisplay_1.0_armel.deb
cache/archives|grep deb
ati85_1.4.1-1_armel.deb
bluetooth-dun_1.0-2_armel.deb
Copy the folder “apt-archive-cache” from your device into your PC and secure it. If you want to reinstall these apps from scratch, proceed to “Installing” step.
Installing steps would be updated soon!
Last edited by sultanmaideen; 2010-10-29 at 12:59.