rpm 5.x in Th

Jeffrey Johnson n3npq at me.com
Sat Sep 22 20:39:03 CEST 2012


On Sep 22, 2012, at 12:59 PM, Łukasz Chrustek <lukasz at chrustek.net> wrote:

> 
> I have problem with rollback option in latest rpm:
> 
> # export LANG=en_EN.UTF-8;rpm -Uvh --rollback '20 minutes ago'
> Rollback goal:  Sat Sep 22 18:35:29 2012 (0x505de8d1)
> BDB2053 Freeing read locks for locker 0xf1: 13697/3061184384
> BDB2053 Freeing read locks for locker 0xf2: 13697/3061184384
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> BDB2017 Freeing mutex for process: 13697/0
> rpm: rpmdb.c:2742: rpmmiInit: Assertion `keylen == sizeof(he->p.ui32p[0])' failed.
> zsh: abort      rpm -Uvh --rollback '20 minutes ago'
> 

Are you actually using --rollback? If so, you are the
only person on the planet using --rollback.

There are no plans to support the previous --rollback
mechanism @rpm5.org: WYSIWYG (and the entire mechanism
is too cumbersome to use, you can find my analysis
on some Mancoosi WP3 mailing list a couple years ago
if so inclined).

Much better is/was possible/planned in rpm-5.3.x. Sadly
the Mancoosi project decided to "fix" apt instead of rpm
and --rollback efforts with TPPM in RPM were never finished.

These days BTRFS! BTRFS! BTRFS! snapshot management
(which isn't --rollback transactional package management) is likely
what most users want/need/expect. Inserting the necessary
BTRFS ioctls is a very simple implementation waiting
for BTRFS to become usefully/stably deployed in linux.

73 de Jeff
> # rpm -q rpm
> rpm-5.4.10-0.17.i686
> 
> 
> 
> -- 
> Regards,
> brushek
> 
> _______________________________________________
> pld-devel-en mailing list
> pld-devel-en at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-devel-en



More information about the pld-devel-en mailing list