rollback options

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

rollback options

Postby theKbStockpiler » Aug 14th, '14, 17:36

I'm looking for a method to re-install/save old packages so if a serious bug is introduced I can rollback. I tried a old mandriva version of urpmi.recover but I think only the help file installed correctly because it is not functional. I have gotten a version of rpmrebuild installed but I have not tried it out yet. Is there any commands I'm not aware of I could investigate?

Thanks!
theKbStockpiler
 
Posts: 7
Joined: Apr 30th, '11, 05:23

Re: rollback options

Postby jkerr82508 » Aug 14th, '14, 18:39

Have you tried
Code: Select all
urpmi --downgrade

https://bugs.mageia.org/show_bug.cgi?id=6655#c16

(Older package versions for stable releases are always available in the repo's.)

You can also save packages that are installed by editing /etc/urpmi/urpmi.cfg and adding at the top of the file:
Code: Select all
{
   no-clean
}

By default the packages will be saved in /var/cache/urpmi/rpms

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: rollback options

Postby jiml8 » Aug 18th, '14, 09:47

I do a daily backup using rsync in a cron job. I have described my mechanism on the "wizard suggests" forum sometime last fall.

On those occasions when I need to roll back (and it HAS happened), I simply rsync from the backup into my system with the --delete option set. No muss, no fuss, no bother, and only one line of commands.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron