Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to schedule updates on my ubuntu servers, but would like to test the updates first on a test server. I'd like to run all updates on the test box at the beginning of a development cycle, giving QA time to test our code changes + ubuntu package updates. So, my question is, how do I ensure that I get the same package versions when go do an apt-get upgrade on my production boxes, given that it may be a week or two later?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Set up a local Ubuntu repository and update your systems from that. Then you can only update the repository when you want to, and you'll know your production boxes will get the same code as development.

Check out tools such as apt-mirror, and apt-cacher.

share|improve this answer
    
looks good, I'll look into how to implement these... can u point me in the direction of a good howto? –  Nick P. Jun 22 '11 at 21:09
    
Never done it, but a random google search turns up howtoforge.com/local_debian_ubuntu_mirror and popey.com/blog/2006/10/24/… –  EightBitTony Jun 22 '11 at 21:32

The only way to ensure this is by running your own apt mirror. This way you can do your test update from the same mirror where you know your production systems will be doing the update.

share|improve this answer
    
Thanks for ur reply; accepted EightBit's answer because he included links :) –  Nick P. Jun 22 '11 at 21:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.