maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Re-install ALL your progs in 45 min without using restore/backup (https://talk.maemo.org/showthread.php?t=21469)

bunanson 2008-07-01 04:12

Re-install ALL your progs in 45 min without using restore/backup
 
5 Attachment(s)
If you prefer to use restore/backup to re-install your progs after flashing, you do not read no further. Have a good day.

The backup/restore menu also allows one to choose only backup/restore Application lists, I have NOT tried that one.

In general, I do NOT use restore upon upgrade.

I prefer to copy ALL the repos and re-install progs by going thru App Manager>Browse installable applications, and click my favorite progs and install them one by one. This way, I re-install ALL my progs in 45 min without even one hiccup - no dependency problems for ALL my installations.

In general, I always add repos and choose progs from app manager, that may avoid problems like this, http://www.internettablettalk.com/fo...ad.php?t=21437, almost one post said it does not work, immediately counter balance by another one said it is working.

If you are careful, I believe you can copy /var/lib/apt/lists to your SD before flashing and put it back after flashing, and then change whatever repo needs to be change. I did not do in that way, I did it the old fashion way, I typed it out in a text file, and typed it back after flash. It took only 5 mins.

Here is a list of ALL my repos, only seven, that has almost ALL my progs,
________________________________________
maemo Extra Diablo
http://repository.maemo.org/extras/
chinook diablo
free non-free

Eko one
http://eko.one.pl/maemo
bora
user

maemo chinook
http://repository.maemo.org/
chinook
free non-free

Testing maemo Extras
http://repository.maemo.org/extras-devel/
chinook
free

debfarm
http://quinput.org/debfarm
chinook
user

maemo Extras
http://repository.maemo.org/extras/
(leave this empty)
free non-free

Wardenclyffe
http://wardenclyffetower.com/maemo
chinook
user
_____________________________________________

and here are the progs that I installed, one by one, took ~45 min, with absolutely no dependency problems. And I also believe these are the most common progs that are used by average users.


bun

Underscore 2008-07-01 04:19

Re: Re-install ALL your progs in 45 min without using restore/backup
 
._.

I just reinstall them as I need them.

Scarflash 2008-07-01 05:00

Re: Re-install ALL your progs in 45 min without using restore/backup
 
i recall there being a way to backup ur filesystem and then copy and paste when u flash.

geneven 2008-07-01 05:02

Re: Re-install ALL your progs in 45 min without using restore/backup
 
The only thing I restore is my bookmarks. The others I install when I think about them. In a way, I welcome these times, because I reassess which programs I really want and really use and which I don't.

bunanson 2008-07-01 05:11

Re: Re-install ALL your progs in 45 min without using restore/backup
 
Quote:

Originally Posted by geneven (Post 197978)
The only thing I restore is my bookmarks. The others I install when I think about them. In a way, I welcome these times, because I reassess which programs I really want and really use and which I don't.

Totally agree.

Another point I tried to stress, is go with repos, not progs. Add repos 1st then the progs, usually will avoid dependency problems as well as, not working right etc.

On this Diablo update, dont forget the magic commands if you encounter problems,

apt-get -f install


bun

Scarflash 2008-07-01 05:14

Re: Re-install ALL your progs in 45 min without using restore/backup
 
Is anyone experiencing problems with efp and modest not updating.

Scarflash 2008-07-01 05:15

Re: Re-install ALL your progs in 45 min without using restore/backup
 
i also agree with geneven. Some apps i download just to try out, and some apps i download just become useless.

bunanson 2008-07-01 05:29

Re: Re-install ALL your progs in 45 min without using restore/backup
 
Is there anything I can do for you, Scarflash :p ?

Your addition "I love Bunanson" made me feels like I finally did something right, for a change.....:)

bun

Scarflash 2008-07-01 06:01

Re: Re-install ALL your progs in 45 min without using restore/backup
 
Quote:

Originally Posted by bunanson (Post 197992)
Is there anything I can do for you, Scarflash :p ?

Your addition "I love Bunanson" made me feels like I finally did something right, for a change.....:)

bun

No i'm fine :p.
Ur name in my signature makes me feel technologically safe.

TheGogmagog 2008-07-02 09:02

Re: Re-install ALL your progs in 45 min without using restore/backup
 
Quote:

Originally Posted by bunanson (Post 197964)
If you are careful, I believe you can copy /var/lib/apt/lists to your SD before flashing and put it back after flashing, and then change whatever repo needs to be change.

I have a problem getting 'lock' copied to the new flash.
1: what is the path to the external mmc?
2: chmod -x lock didn't seem to help.

I copied the rest of the files, and it didn't recognise the catalogues. Perhaps, this won't work or is too risky, guessing that lock file is important.

here.david 2008-07-02 15:24

Re: Re-install ALL your progs in 45 min without using restore/backup
 
WOW.....thank you! I also added:


Ricky Bent
Web address: http://rickybrent.com/maemo/debs
Distribution: chinook
Components: free non-free



for abiword...

the only unresolved issue (currently...:eek:...) is Maemo-recorder keeps asking to be updated yet when I run it it will not update...however, it works so it has been a very low priority....

iamthewalrus 2008-07-11 17:21

Re: Re-install ALL your progs in 45 min without using restore/backup
 
I haven't tried this with the tablets, only my Ubuntu notebook, but with dpkg you can make a list of installed packages manually and import it again in one go. I think application manager does something similar.

Backup (assuming /media/mmc1 is a memory card):

Code:

sudo gainroot
# backup repository list
cp /etc/apt/sources.list.d/hildon-application-manager.list /media/mmc1/
# backup list of installed packages
dpkg --get-selections | grep "\binstall" > /media/mmc1/installed_packages.txt

Restore:

Code:

sudo gainroot
cp  /media/mmc1/hildon-application-manager.list  /etc/apt/sources.list.d/
apt-get update
dpkg --set-selections < /media/mmc1/installed_packages.txt
apt-get -u dselect-upgrade

edit:Correction..with Maemo the sources aren't stored in /etc/apt/sources.list, but
/etc/apt/sources.list.d/hildon-application-manager.list .

Benson 2008-07-11 17:32

Re: Re-install ALL your progs in 45 min without using restore/backup
 
We have dpkg here; that looks like it should work.

iamthewalrus 2008-07-11 21:04

Re: Re-install ALL your progs in 45 min without using restore/backup
 
I just did a fresh Diablo reflash with R&D mode of my N800, added all repositories in the 1st post of this thread + rickybrent to the default repositories in application manager and did:

Code:

sudo gainroot
apt-get update

and got:

Code:

Failed to fetch http://rickybrent.com/maemo/debs/dists/chinook/non-free/binary-armel/Packages.gz  301 Moved Permanently
W: GPG error: http://tuomas.kulve.fi chinook Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94D0694709064463
W: Conflicting distribution: http://catalogue.tableteer.nokia.com diablo Release (expected diablo but got )
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


bunanson 2008-07-11 21:48

Re: Re-install ALL your progs in 45 min without using restore/backup
 
Quote:

Originally Posted by iamthewalrus (Post 201928)
I just did a fresh Diablo reflash with R&D mode of my N800, added all repositories in the 1st post of this thread + rickybrent to the default repositories in application manager and did:

Code:

sudo gainroot
apt-get update

and got:

Code:

Failed to fetch http://rickybrent.com/maemo/debs/dists/chinook/non-free/binary-armel/Packages.gz  301 Moved Permanently
W: GPG error: http://tuomas.kulve.fi chinook Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94D0694709064463
W: Conflicting distribution: http://catalogue.tableteer.nokia.com diablo Release (expected diablo but got )
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


Thanks for the info. I did not do an apt-get update. I typed the repos, and then I go to browse installable apps and pick and install each particular progs ONE BY ONE. I did try restore only the apps, just for fun to try it out, it did install most of the apps automatically, somewhat, I still had to press a key for each single apps, and the whole process took more than 30 min, not much faster than if I picked the program one by one and chose by myself. That is NOT the end of the stories. After restoration, only apps backup and restore, the tablet functioned very very very slow. For example, on gnumeric, you ususally click open file, it will open the file, but no, it gave a long pause, a blank screen for 1 min or more, it then loaded the file, so did the browser or other apps. Well, that was just a test. I then reflashed the whole thing and installed apps one by one, everything has been running very smooth ever since. I did not report this, as I did not understand it and felt like I am saying something really stupid.


bun

Benson 2008-07-11 22:14

Re: Re-install ALL your progs in 45 min without using restore/backup
 
apt-get update just gets the new lists; it's the same as a "refresh catalog" or whatever in app manager.

That error's indicating that the URL given for the rickybrent repo is wrong; you'd get the same thing in the app manager.


All times are GMT. The time now is 20:11.

vBulletin® Version 3.8.8