Bug 773 - Invalid rpm flag specified in urpm-reposync
: Invalid rpm flag specified in urpm-reposync
Status: RESOLVED INVALID
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Marathon
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-17 15:06 MSD by Anton Kirilenko
Modified: 2012-10-08 12:13 MSD (History)
1 user (show)

See Also:
RPM Package: urpm-tools-2.1-2-rosa.lts2012.0
ISO-related:
Bad POT generating:
Upstream:
vladimir.potapov: qa_verified-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kirilenko 2012-09-17 15:06:46 MSD
Description of problem:

Traceback (most recent call last):
   File "/usr/bin/urpm-reposync", line 1221, in <module>
     Main()
   File "/usr/bin/urpm-reposync", line 1132, in Main
     install_packages()
   File "/usr/bin/urpm-reposync", line 809, in install_packages
     ts.setVSFlags(rpm.RPMVSF_NOHDRCHK|rpm.RPMVSF_NOSHA1HEADER|rpm.RPMVSF_NODSAHEADER|rpm.RPMVSF_NORSAHEADER|rpm.RPMVSF_NOMD5|rpm.RPMVSF_NODSA|rpm.RPMVSF_NORSA|rpm._RPMVSF_NODIGESTS|rpm._RPMVSF_NOSIGNATURES)
 AttributeError: 'module' object has no attribute '_RPMVSF_NODIGESTS'

The same problem was with mock-urpm (#503), fix will be the same.


Version-Release number of selected component (if applicable):

rpm -qa | egrep '(rpm-5|urpm-tools)'
rpm-5.4.9-10-rosa2012.1.x86_64
python-rpm-5.4.9-10-rosa2012.1.x86_64
urpm-tools-2.1-2-rosa.lts2012.0.noarch


Steps to Reproduce:
1. run urpm-reposync on the system with the same rpm version
2. Confirm package updating/downgrading and watch the result
Comment 1 Anton Kirilenko 2012-09-17 15:11:52 MSD
Advisory:
Bug #773 have been fixed.


i586:   https://abf.rosalinux.ru/build_lists/717305
x86_64: https://abf.rosalinux.ru/build_lists/717306
Comment 2 Vladimir Potapov 2012-09-20 11:44:33 MSD
Actual packages form 2012LTS:
python-rpm-5.3.12-0.20110712.7-rosa.lts2012.0.i586
rpm-5.3.12-0.20110712.7-rosa.lts2012.0.i586
urpm-tools-2.1-2-rosa.lts2012.0.noarch

No errors. Attention! In you system present packets from 2012.1!
Comment 3 Anton Kirilenko 2012-10-08 12:13:28 MSD
Yes, with the correct rpm version works well. With non-lts rpm version an appropriate urpm-tools have to be installed.