Page 1 of 1

Are updates safely transferrable?

Posted: 11. Mar 2010, 13:48
by zaen
Hello,

I have just updated Salix in my laptop, the latest being pidgin 2.6.6. So far, so good. I have quite a collection of updates already. (This is a well-behaved, elegant distro and I have yet to encounter any problem in my laptop even after updates.)

Correct me if I'm wrong. Salix stores all the updates and additional programs at /var/slapt-get, right? If so, can I "tar" this directory, keep the resulting file somewhere and transfer it ("untar" it) to another instance of Salix safely, without breaking anything in the target Salix installation? Is there something I should be aware of to do this process correctly?

I figured its a pity to just throw away these updates when they could be used should I need to install Salix again.

Thanks.

Re: Are updates safely transferrable?

Posted: 11. Mar 2010, 14:12
by JRD
Yes you can tar this directory if you want. I see no problem in doing this. You could use this technique to save bandwith for example :)

Re: Are updates safely transferrable?

Posted: 11. Mar 2010, 16:10
by thenktor
Yes, that's possible. You even could share this directory over the network via nfs.
But you have to make sure one thing: Don't mix different architectures (32/64 bit) :P

Re: Are updates safely transferrable?

Posted: 11. Mar 2010, 21:09
by zaen
That's very good news. Thanks again guys!

Have a nice day everyone.

Re: Are updates safely transferrable?

Posted: 12. Mar 2010, 11:36
by toothandnail
I share the slapt-get cache between two machines - I use a USB drive for that purpose. All you need to do is edit /etc/slapt-get/slapt-getrc to point to the USB device. In my case, like this:

Code: Select all

WORKINGDIR=/var/slapt-get
gets changed to

Code: Select all

WORKINGDIR=/media/DataTrans/slapt-get
My USB drive (DataTrans) is formatted xfs. The only problem with doing things this way is remembering to plug the drive in before running a slapt-get or Gslapt update.

Paul.