From peter.surda at realexpayments.com Thu Jan 11 05:25:32 2007 From: peter.surda at realexpayments.com (Peter Surda) Date: Thu, 11 Jan 2007 10:25:32 +0000 Subject: Repackage AKA RPM transactions Message-ID: <45A6109C.4070709@xxxxxxxxxxxxxxxxxx> Hello, I implemented repackaging within swup. What does it do? When you do all your upgrades and erases with this option, it will allow you rollbacks to any previous state. Such as you upgraded a package, and then realise it's broken. Without repackaged transactions, you have to do use --oldpackage. It gets nasty when there are dependencies. With repackaging, you simply do a rpm -Uvh --rollback "10 minutes ago" and it will do the job. So now you can tell swup to automatically use repackaging, which will allow you to do rollbacks. There is a new config-file option "repackage" (which can be "yes" or "no") and commandline options "--repackage" and "--norepackage" to override it. Attached please find a diff against 2.7.16. -- Peter ?urda Infrastructure Developer peter.surda at realexpayments.com Realex Payments www.realexpayments.com The Forum, 29/31 Glasthule Rd, Glasthule, Co Dublin, Ireland t: +353 1 2808559 | f: +353 1 2808538 | UK National: 0870 7352880 This mail and any documents attached are classified as confidential and are intended for use by the addressee(s) only unless otherwise indicated. If you are not an intended recipient of this email, you must not use, disclose, copy, distribute or retain this message or any part of it. If you have received this email in error, please notify us immediately and delete all copies of this email from your computer system(s). -------------- next part -------------- A non-text attachment was scrubbed... Name: swup-repackage.dif Type: application/vnd.ms-excel Size: 7515 bytes Desc: not available Url : http://lists.trustix.org/pipermail/swup-dev/attachments/20070111/26b86537/swup-repackage.xlb