Backup/Restore debian package

2005-08-16 Thread [EMAIL PROTECTED]
Is there is a way to save/backup debian installed package ?

For example i have installed package 'test version 1.0' and i have
installed package 'test version 1.1'. For some reasons i want to
restore to 'test version 1.0' but i have not 'test.deb' file 'version
1.0'.
How can i backup 'test version 1.0' for restore purpose after if needed.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup/Restore debian package

2005-08-16 Thread Oliver Elphick
On Tue, 2005-08-16 at 04:02 -0700, [EMAIL PROTECTED] wrote:
 Is there is a way to save/backup debian installed package ?
 
 For example i have installed package 'test version 1.0' and i have
 installed package 'test version 1.1'. For some reasons i want to
 restore to 'test version 1.0' but i have not 'test.deb' file 'version
 1.0'.
 How can i backup 'test version 1.0' for restore purpose after if needed.

Old package versions can possibly be recovered from http://snapshot.debian.net/

-- 
Oliver Elphick  olly@lfix.co.uk
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup/Restore debian package

2005-08-16 Thread [EMAIL PROTECTED]
I meaned my own deb packages that are not on the Internet.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup/Restore debian package

2005-08-16 Thread Oliver Elphick
On Tue, 2005-08-16 at 06:09 -0700, [EMAIL PROTECTED] wrote:
 I meaned my own deb packages that are not on the Internet.

In that case, if you didn't keep copies of old debs, no-one else can
help.
-- 
Oliver Elphick  olly@lfix.co.uk
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup/Restore debian package

2005-08-16 Thread Alvin Oga


On 16 Aug 2005, [EMAIL PROTECTED] wrote:

 Is there is a way to save/backup debian installed package ?

if you do your own stuff... you should create your own *.deb pkg

if you create pkg.lst BEFORE you apply apt-get update/apt-get upgrade,
than you will always have the state before any pkg that crashed
your system

- to backup your existing deb box
dpkg --get-selections *  /mnt/floppy/pkg.lst 

save your config files separately ( /etc, /usr/local/etc )
and any place else you modified config files

- to restore your system to a previous state
install a minimal system 
dpkg --set-selections  /mnt/floppy/pkg.lst 

restore your config files

\\\ all that is 1 or 2 command lines

== opinion
== if you have to restore your system, you're doing something wrong
==
== ie, do NOT test on critical systems that you need to recover when
== it breaks, esp if you cannot recover to any random day at any
== time to simulate that your backup/restore is working right
==
== /opinion

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup/Restore debian package

2005-08-16 Thread [EMAIL PROTECTED]
What about hold options in dpkg?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup/Restore debian package

2005-08-16 Thread Joey Hess
[EMAIL PROTECTED] wrote:
 Is there is a way to save/backup debian installed package ?
 
 For example i have installed package 'test version 1.0' and i have
 installed package 'test version 1.1'. For some reasons i want to
 restore to 'test version 1.0' but i have not 'test.deb' file 'version
 1.0'.
 How can i backup 'test version 1.0' for restore purpose after if needed.

dpkg-repack.

-- 
see shy jo


signature.asc
Description: Digital signature