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

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

    <bug>
          <bug_id>29151</bug_id>
          
          <creation_ts>2013-07-07 22:50:37 +0400</creation_ts>
          <short_desc>libgmp10 not obsolete older libgmp (for compatibility with  older packages)?</short_desc>
          <delta_ts>2013-07-29 05:53:54 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p7</product>
          <component>libgmp10</component>
          <version>не указана</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>29152</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          
          
          <qa_contact name="qa-p7@altlinux.org">qa-p7</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>141362</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-07 22:50:37 +0400</bug_when>
    <thetext>libgmp10 has no file conflicts with older libgmp (from p6), but the rpm formally obsoletes older libgmp.

If libgmp10 didn&apos;t obsolete libgmp (for example, from p6), then ti would be possible to upgrade some individual packages from p7 (or Sisyphus) in a p6 system.

I could do the following as a workaround:

rpm -ihv libgmp10-5.1.2-alt1.i586.rpm
echo &apos;RPM::Allow-Duplicated { &quot;libgmp&quot;; };&apos; &gt; /etc/apt/apt.conf.d/libgmp-compat.conf

Now:

# rpm -qa &apos;libgmp*&apos;
libgmp-4.3.2-alt3
libgmp-devel-4.3.2-alt3
libgmp10-5.1.2-alt1
# 

(What was the use of this?

After that, I was able to install ghc and rpm-build-haskell from p6 (or t6), and then switch to p7, and:

apt-get install rpm-build-haskell ghc7.6.1 pandoc

without touching the rest of the system.

Then, I could even switch to Sisyphus and apt-get install pandoc

Ultimately, I have installed the new versions of pandoc without touching much of the rest of the system:

# rpm -q rpm-build-haskell ghc7.6.1 pandoc
rpm-build-haskell-1-alt23
ghc7.6.1-7.6.1-alt5
pandoc-1.11.1-alt1
#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>141364</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-07 23:05:12 +0400</bug_when>
    <thetext>Correction: instead of

echo &apos;RPM::Allow-Duplicated { &quot;libgmp&quot;; };&apos; &gt; /etc/apt/apt.conf.d/libgmp-compat.conf

it&apos;s better to put a more precise pattern there:

echo &apos;RPM::Allow-Duplicated { &quot;^libgmp$&quot;; };&apos; &gt; /etc/apt/apt.conf.d/libgmp-compat.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>141516</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2013-07-15 15:11:30 +0400</bug_when>
    <thetext>Fixed gmp-5.1.2-alt2 is being copied from Sisyphus to p7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>141870</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-29 05:53:54 +0400</bug_when>
    <thetext>Thanks! Now it&apos;s OK in p7, too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>