Are updates safely transferrable?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
zaen
Posts: 48
Joined: 6. Mar 2010, 11:01

Are updates safely transferrable?

Post 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.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Are updates safely transferrable?

Post 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 :)
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Are updates safely transferrable?

Post 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
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
zaen
Posts: 48
Joined: 6. Mar 2010, 11:01

Re: Are updates safely transferrable?

Post by zaen »

That's very good news. Thanks again guys!

Have a nice day everyone.
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: Are updates safely transferrable?

Post 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.
Post Reply