maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   How Do I Revert Back To A Back-Up? (https://talk.maemo.org/showthread.php?t=24365)

iTab 2008-10-17 03:34

How Do I Revert Back To A Back-Up?
 
Before Updating My Browser, I Backed-Up My Device... Something Isn't Working Right. How Do I Get Back To My Previous Browser That I Backed-Up?

Benson 2008-10-17 05:34

Re: How Do I Revert Back To A Back-Up?
 
First, capitalizing every word doesn't inspire anyone to help...

As for your question, I'm pretty sure backups don't work that way. The backup includes a list of packages, but I don't think it has the version information. If the information is there, it's not used, else restoring a backup after an upgrade would downgrade all the packages.

To check what versions of a package are available from your repos, do an apt-cache search <package>; if the version you want is available, you can do (as root) an apt-get install <package>=<version> to install that version.

iTab 2008-10-17 13:01

Re: How Do I Revert Back To A Back-Up?
 
Quote:

Originally Posted by Benson (Post 234200)
First, capitalizing every word doesn't inspire anyone to help...

As for your question, I'm pretty sure backups don't work that way. The backup includes a list of packages, but I don't think it has the version information. If the information is there, it's not used, else restoring a backup after an upgrade would downgrade all the packages.

To check what versions of a package are available from your repos, do an apt-cache search <package>; if the version you want is available, you can do (as root) an apt-get install <package>=<version> to install that version.

Where do I find out the name/number of the older version?

I typed in what I thought it was, but it didn't work out.

vinc17 2008-10-17 15:46

Re: How Do I Revert Back To A Back-Up?
 
Quote:

Originally Posted by iTab (Post 234263)
Where do I find out the name/number of the older version?

"dpkg -l" gives you the list of installed packages (with version numbers and some other useful information). Note: redirect the output e.g. to a file, so that package names and version numbers are not truncated to fit in the terminal window. You need to do that before reflashing, otherwise I fear this is too late.

FYI, when I restored my backup, the packages were not reinstalled (I don't remember, but perhaps I had asked not to save package names in the backup).

Benson 2008-10-17 15:58

Re: How Do I Revert Back To A Back-Up?
 
The available versions are listed by apt-cache policy <package>. If that's showing inaccessible packages, you can do an apt-get update to refresh the cache.


All times are GMT. The time now is 09:27.

vBulletin® Version 3.8.8