maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   For Safekeeping: Downloading Apps/Dependencies (N8**) (https://talk.maemo.org/showthread.php?t=94512)

jakfish 2015-01-24 16:09

For Safekeeping: Downloading Apps/Dependencies (N8**)
 
Greetings from a new and happy N810 owner

I always arrive late to these parties, but my N810 came this week and I'm having a fine time with it.

Since my app installations are few, rather than clone, I'd like to download/ save these debs and their dependencies. Except for Foreca-Weather-Applet, these apps all come from:

http://repository.maemo.org/extras-d...iablo/install/

Abiword 2.8.1; Advanced SystemUI, gFTP; GPE Calendar; homememfree; Midnight Commander; Opera Mobile; PortaBase; rootsh

What would be the surest way to have these debs safely stored off-line in case of a broken repository or other acts of God?

Many thanks for any advice,
Jake

nokiabot 2015-01-24 16:25

Re: For Safekeeping: Downloading Apps/Dependencies
 
Add n800 to your thread title that way it should be better

jakfish 2015-01-24 17:00

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
Thank you for the advice--I changed the title.

Jake

pichlo 2015-01-24 17:37

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
This script (and small improvements provided by various members in follow-up posts) should do the backup for you.

http://talk.maemo.org/showthread.php...48#post1455848

jakfish 2015-01-24 19:36

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
Your link and your work are very helpful. In the most current sh, were I to substitute "http://repository.maemo.org/extras-devel/dists/diablo/install/" in place of "nokia.com" would that work?

Or do I need to edit more?

Thanks again,
Jake

pichlo 2015-01-24 19:54

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
That depends on what exactly you want to achieve. The scrpt's intended purpose is to make a backup of .deb files hosted on Nokia servers for fear of those servers going offline in an unspecified but possibly near future. For that purpose, you do not need to change anything at all.

Maemo.org repositories are not that likely to disappear any time soon so the backup is not that important. But if you want to backup Maemo repositories, all you need to change is nokia.com to maemo.org. Similarly, if you want to backup literally everything, skip the grep part altogether or simply replace nokia.com with *.

jakfish 2015-01-24 20:14

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
This is great! So if I make the substitutions you suggest, your script will examine the deb needs of my 10 installed apps, and download just those files by examining the repos of maemo.org? Or does it download everything from maemo repos? (the latter would be difficult given so few installed apps on my device)

Actually, when I think it over, I've also manually installed some debs to get the Diablo Turbo kernel up and running. Those debs did not come from maemo.org Will that make the script complain?

What a helpful forum,
Jake

pichlo 2015-01-24 20:29

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
The script downloads the .deb files ("install files") for all the packages installed on your phone at the time of running the script.

Just run dpkg -l to get the list of your currently installed packages. The script uses the same list, only performing some string manipulation to get the source of each package.

jakfish 2015-01-24 21:02

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
Thank you for the clear instructions. I'll edit the script now, try it out, and post back.

A final thing--getnokiadebs.txt, from your post at http://talk.maemo.org/showthread.php?t=94272&page=2

Is that the script you would recommend?

Thank you,
Jake

pichlo 2015-01-24 21:20

Re: For Safekeeping: Downloading Apps/Dependencies (N8**)
 
Quote:

Originally Posted by jakfish (Post 1457975)
Is that the script you would recommend?

Of course! It's mine ;)


All times are GMT. The time now is 12:42.

vBulletin® Version 3.8.8