Bug 3870 - urpmi.recover don't rollback
: urpmi.recover don't rollback
Status: RESOLVED WORKSFORME
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-22 23:19 MSK by Postnikov Dmitry
Modified: 2014-05-13 23:33 MSD (History)
1 user (show)

See Also:
RPM Package: urpmi.recover
ISO-related:
Bad POT generating:
Upstream:


Attachments
vs1.png (261.21 KB, image/png)
2014-03-27 23:53 MSK, Postnikov Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Postnikov Dmitry 2014-03-22 23:19:51 MSK
Description of problem:
urpmi.recover don't rollback

My point return:
================
                    drakxtools-http-14.46-2-rosa2012.1.x86_64
2014-03-21 23:03:01 dovecot-config-standalone-2.2.12-1-rosa2012.1.x86_64
                    dovecot-plugins-sieve-2.2.12-1-rosa2012.1.x86_64
                    dovecot-2.2.12-1-rosa2012.1.x86_64
                    dovecot-plugins-ldap-2.2.12-1-rosa2012.1.x86_64
                    dovecot-plugins-gssapi-2.2.12-1-rosa2012.1.x86_64
                    dovecot-plugins-mysql-2.2.12-1-rosa2012.1.x86_64
2014-03-21 23:12:50 netkit-telnet-0.17-15-rosa2012.1.x86_64
2014-03-21 23:52:11 smartmontools-6.2-5-rosa2012.1.x86_64
[root@mindlife-k64 pastordi]# 
================

[root@mindlife-k64 pastordi]# urpmi.recover --rollback "2014-03-21 23:03:01"
Откат до 2014-03-21 23:03:01...

Rollback goal:  Fri Mar 21 23:03:01 2014 (0x532c8ce5)
rpm: rpmdb.c:2720: rpmmiInit: Проверочное утверждение «keylen == sizeof(he->p.ui32p[0])» не выполнено.
Аварийный останов (слепок снят)
[root@mindlife-k64 pastordi]#
================
Comment 1 Postnikov Dmitry 2014-03-22 23:28:23 MSK
I checked many time. But after urpmi.recover --chekhpoint don't create "point return" in /var/spool/repackage

My step by step:

1. urpmi.recover --checkpoint
2. urpmi <xxx.rpm>
3. urpmi.recover --rollback "time xxxx"

But this steps don't work.
Comment 2 Denis Silakov 2014-03-23 23:10:29 MSK
(In reply to comment #0)
> Description of problem:
> urpmi.recover don't rollback
> 
> My point return:
> ================
>                     drakxtools-http-14.46-2-rosa2012.1.x86_64
> 2014-03-21 23:03:01 dovecot-config-standalone-2.2.12-1-rosa2012.1.x86_64
>                     dovecot-plugins-sieve-2.2.12-1-rosa2012.1.x86_64
>                     dovecot-2.2.12-1-rosa2012.1.x86_64
>                     dovecot-plugins-ldap-2.2.12-1-rosa2012.1.x86_64
>                     dovecot-plugins-gssapi-2.2.12-1-rosa2012.1.x86_64
>                     dovecot-plugins-mysql-2.2.12-1-rosa2012.1.x86_64
> 2014-03-21 23:12:50 netkit-telnet-0.17-15-rosa2012.1.x86_64
> 2014-03-21 23:52:11 smartmontools-6.2-5-rosa2012.1.x86_64
> [root@mindlife-k64 pastordi]# 
> ================
> 
> [root@mindlife-k64 pastordi]# urpmi.recover --rollback "2014-03-21 23:03:01"
> Откат до 2014-03-21 23:03:01...
> 
> Rollback goal:  Fri Mar 21 23:03:01 2014 (0x532c8ce5)
> rpm: rpmdb.c:2720: rpmmiInit: Проверочное утверждение «keylen ==
> sizeof(he->p.ui32p[0])» не выполнено.
> Аварийный останов (слепок снят)
> [root@mindlife-k64 pastordi]#
> ================

Are ypu sure you have the latest urpmi installed (6.71-56)? The error you mentioned appears in olded urpmi which tried to invoke "rpm --rollback".

As for /var/spool/repackage content - note that 'urpmi.recover --checkpoint' will not create anything in this folder. 'urpmi <xxx.rpm>' will create a subfolder there only in case when you update an already installed package (in this case, old version of the package will be stored there).
Comment 3 Postnikov Dmitry 2014-03-27 23:31:36 MSK
(In reply to comment #2)
> Are ypu sure you have the latest urpmi installed (6.71-56)? The error you
> mentioned appears in olded urpmi which tried to invoke "rpm --rollback".
> 

With urpmi-6.71-56 and 6.71-58 work OK.
Comment 4 Postnikov Dmitry 2014-03-27 23:53:03 MSK
Created attachment 2736 [details]
vs1.png

(In reply to comment #3)
> (In reply to comment #2)
> > Are ypu sure you have the latest urpmi installed (6.71-56)? The error you
> > mentioned appears in olded urpmi which tried to invoke "rpm --rollback".
> > 
> 
> With urpmi-6.71-56 and 6.71-58 work OK.

But in new urpmi-6.71-58 strange output in the console.
Comment 5 Denis Silakov 2014-03-28 11:41:17 MSK
Well, this is expected:) First, urpmi.recover saves old versions of packages, and during this process you get messages like '-/7 [repackaging]'

Maybe the messages could be smarter...