rpm 5.x in Th

Jeffrey Johnson n3npq at me.com
Sun Sep 23 23:30:04 CEST 2012


On Sep 23, 2012, at 5:18 PM, Tomasz Pala wrote:

> On Sun, Sep 23, 2012 at 11:48:53 -0400, Jeffrey Johnson wrote:
> 
>> ? but triggers are executed as part of package management,
>> changing file system state, and are not simply invertible.
> 
> Thus noone expect this to work or even exists.
> 

What am I, chopped liver?

I said exactly that I do not expect --rollback to Just Work, with additional
history/context information regarding the history/rationale on a Mancoosi WP3 mailing list
when the decision was made to _NOT_ continue with the previous
implementation of --rollback.

>> I do not understand your distinction.
>> 
>> How is --rollback to be performed if operations are
>> only partially reversed?
> 
> cd /var/spool/repackage; ls | perl -ne 'use Time::Local; my ($mday,$mon,$year,$hour,$min,$sec) = split(/[\s.:]+/, "23.04.2012 12:00:00"); my $time = timelocal($sec,$min,$hour,$mday,$mon-1,$year); print if $_>=$time' | sort -r | while read dir; do rpm -Uvh --oldpackage --force $dir/*; done
> 

Hint: Your script is utterly useless when the clock isn't/wasn't correct.

73 de Jeff


More information about the pld-devel-en mailing list