<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>26769</bug_id>
          
          <creation_ts>2012-01-02 18:36:03 +0400</creation_ts>
          <short_desc>rpm -i fails to install some Mandriva source rpms (rpm5.org src.rpms?)</short_desc>
          <delta_ts>2016-12-26 14:37:07 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://mirror.yandex.ru/mandriva/devel/2011/SRPMS/contrib/backports/abcm2ps-6.5.15-1.src.rpm</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>n3npq</cc>
    
    <cc>peroyvind</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>128026</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2012-01-02 18:36:03 +0400</bug_when>
    <thetext>$ wget -c &apos;http://mirror.yandex.ru/mandriva/devel/2011/SRPMS/contrib/backports/abcm2ps-6.5.15-1.src.rpm&apos;
 $ rpm -i abcm2ps-6.5.15-1.src.rpm 
ошибка: невозможно получить исключительную блокировку на /var/lib/rpm/Packages
ошибка: невозможно открыть индекс Packages используя db3 -  (-1)
ошибка: не могу открыть базу данных Packages в /var/lib/rpm
$ rpm -q
rpm-4.0.4-alt100.43

Выглядит так, как будто rpm принимает их за бинарные пакеты.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128051</commentid>
    <comment_count>1</comment_count>
    <who name="Jeff Johnson">n3npq</who>
    <bug_when>2012-01-03 03:03:25 +0400</bug_when>
    <thetext>tracked at https://bugs.launchpad.net/rpm/+bug/911021</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129892</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2012-03-19 21:43:51 +0400</bug_when>
    <thetext>(In reply to comment #0)
&gt; $ wget -c
&gt; &apos;http://mirror.yandex.ru/mandriva/devel/2011/SRPMS/contrib/backports/abcm2ps-6.5.15-1.src.rpm&apos;
&gt;  $ rpm -i abcm2ps-6.5.15-1.src.rpm 
&gt; ошибка: невозможно получить исключительную блокировку на /var/lib/rpm/Packages
&gt; ошибка: невозможно открыть индекс Packages используя db3 -  (-1)
&gt; ошибка: не могу открыть базу данных Packages в /var/lib/rpm
&gt; $ rpm -q
&gt; rpm-4.0.4-alt100.43
&gt; 
&gt; Выглядит так, как будто rpm принимает их за бинарные пакеты.

exactly, they _are_ binary packages:
$ od -A n -N 16 -t x1 -- abcm2ps-7.0.3-1.src.rpm 
 ed ab ee db 03 00 00 00 00 00 00 00 00 00 00 00</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129894</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2012-03-19 22:58:12 +0400</bug_when>
    <thetext>:( the whole dir
http://mirror.yandex.ru/mandriva/devel/2011/SRPMS/contrib/backports/
contains those &apos;srpms&apos; with RPMVERSION=5.3.12.
What does it mean?
is rpm 5.3 compatible with our rpm 4.0+ no more?
or is it just local Mandriva bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129895</commentid>
    <comment_count>4</comment_count>
    <who name="Jeff Johnson">n3npq</who>
    <bug_when>2012-03-19 23:27:23 +0400</bug_when>
    <thetext>Relax: Per Oyvind added a tracking dependency, now reverted.

The change totally screwed not only Mandriva&apos;s build system *twice*
but also ROSA&apos;s.

Packages produced by rpm-5.3.12 SHOULD be compatible in
format almost everywhere. The issue is vendor divergence, not
upstream incompatibilities.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129896</commentid>
    <comment_count>5</comment_count>
    <who name="viy">viy</who>
    <bug_when>2012-03-19 23:59:05 +0400</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; Relax: Per Oyvind added a tracking dependency, now reverted.
&gt; 
&gt; The change totally screwed not only Mandriva&apos;s build system *twice*
&gt; but also ROSA&apos;s.
&gt; 
&gt; Packages produced by rpm-5.3.12 SHOULD be compatible in
&gt; format almost everywhere. The issue is vendor divergence, not
&gt; upstream incompatibilities.

thanks! that&apos;s good news.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129918</commentid>
    <comment_count>6</comment_count>
    <who name="Per Øyvind Karlsen">peroyvind</who>
    <bug_when>2012-03-20 18:09:50 +0400</bug_when>
    <thetext>(In reply to comment #4)
&gt; Relax: Per Oyvind added a tracking dependency, now reverted.
Not related at all (and it only affected a few packages in cooker for a few days)..

Judging by Dmitry&apos;s comment, a better guess would be that the issue is that rpmlead is being used to determine whether src.rpm or not..</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>