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

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

    <bug>
          <bug_id>29152</bug_id>
          
          <creation_ts>2013-07-07 22:52:24 +0400</creation_ts>
          <short_desc>libgmp10 not obsolete older libgmp (for compatibility with  older packages)?</short_desc>
          <delta_ts>2013-07-29 05:44:55 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libgmp10</component>
          <version>unstable</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>
          
          <blocked>29151</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</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>141363</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-07 22:52:24 +0400</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #29151 +++

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>141365</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-07 23:07:00 +0400</bug_when>
    <thetext>Correction of the workaround: 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>141367</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-08 00:22:19 +0400</bug_when>
    <thetext>Illustration -- the removal of old libgmp causes an upgrade of a lot of packages from p6, so it&apos;s desirable to be able to keep it:

apt&gt; remove libgmp#4.3.2-alt3 
Чтобы выполнить эту операцию необходимы изменения, которые не были запрошены.
Следующие пакеты будут ОБНОВЛЕНЫ:
  GConf ModemManager NetworkManager NetworkManager-glib NetworkManager-l2tp NetworkManager-openvpn NetworkManager-pptp NetworkManager-vpnc alacarte audit bacula-client bacula-common bacula-console
  bacula-director-common bacula-director-sqlite3 bacula-storage compiz dconf dhcpcd dnsmasq dropbox eiskaltdcpp-common eiskaltdcpp-gtk-data etcnet etcnet-defaults-desktop glib2 glib2-locales glxinfo
  gnome-search-tool gobject-introspection gphoto2 gpsd gsettings-desktop-schemas gst-plugins-nice hplip-PPDs hplip-common hplip-hpcups hplip-hpcups-PPDs hplip-hpijs hplip-hpijs-PPDs hplip-ps-PPDs iotop
  kde-common kde4base-runtime-common libGConf libGL libGLU libX11 libX11-locales libalsa libapr1 libaprutil1 libatk libatk-gir libatk-locales libaudit1 libauparse0 libdconf libeiskaltdcpp libexiv2 libexpat
  libfltk13 libfreerdp libgdk-pixbuf libgdk-pixbuf-gir libgdk-pixbuf-locales libgeoclue libgexiv2 libgio libglibmm libglpk libgnome-bluetooth libgnome-keyring libgnome-menus libgphoto2 libgps libgssdp
  libgtkpod libgupnp libgupnp-igd libgweather libgweather-data liblcms2 libmetis libmono libmusicbrainz3 libnautilus libnice libnumpy libpciaccess libpcre3 libpixman libpng12 libpodofo libpulseaudio libpurple
  libselinux libselinux-utils libstartup-notification libsubversion libsuitesparse libsynfig libsynfigstudio libtelepathy-glib libv8 libvte libxcb libxcbutil lshw maxima-bin-sbcl maxima-common mono
  mono-mscorlib nautilus-sendto nss_ldap openresolv openresolv-dnsmasq perl-Compress-Raw-Bzip2 perl-Compress-Raw-Zlib perl-DBI perl-DBM perl-Digest-SHA1 perl-Encode perl-HTML-Parser perl-Locale-gettext
  perl-Math-BigInt perl-Math-BigInt-FastCalc perl-Mozilla-LDAP perl-Net-SSLeay perl-Socket6 perl-Term-ReadKey perl-Term-ReadLine-Gnu perl-XML-LibXML perl-XML-Parser perl-base perl-devel perl-threads
  perl-unicore printer-drivers-base pulseaudio-utils python python-base python-dev python-module-BeautifulSoup python-module-OpenSSL python-module-Pygments python-module-Reportlab python-module-beaker
  python-module-compizconfig python-module-configobj python-module-cssutils python-module-gnome-menus python-module-imaging python-module-jinja2 python-module-jinja2-tests python-module-libasyncns
  python-module-mpmath python-module-nose python-module-numpy python-module-numpy-addons python-module-numpy-testing python-module-protobuf python-module-pygnome-desktop python-module-pyorbit
  python-module-pyxdg python-module-rope python-module-simplejson python-module-sip python-module-tempita python-modules python-modules-bsddb python-modules-compiler python-modules-ctypes
  python-modules-curses python-modules-email python-modules-encodings python-modules-hotshot python-modules-json python-modules-logging python-modules-multiprocessing python-modules-sqlite3
  python-modules-tkinter python-modules-wsgiref python-modules-xml python-strict remmina remmina-plugins sbcl service smem subversion subversion-perl transmission-common transmission-gui-common uniconvertor
  vala xorg-dri-swrast
Следующие пакеты будут ЗАМЕНЕНЫ:
  gnome-menus-common (by libgnome-menus)
Следующие пакеты будут УДАЛЕНЫ:
  389-admin 389-admin-console 389-admin-console-doc 389-ds 389-ds-devel 7colors NetworkManager-gnome NetworkManager-l2tp-gnome NetworkManager-openvpn-gnome NetworkManager-pptp-gnome NetworkManager-vpnc-gnome
  R-base R-doc-html R-tcltk Terminal Thunar TiMidity++ alsa-plugins-pulse alsa-tools alterator-auth alterator-net-shares alterator-x11 alterator-xkb anjuta2 apt-indicator audacity avahi-ui banshee
  banshee-ipod blueman branding-simply-linux-xfce-settings brasero calibre ccsm cheese chestnut-dialer chestnut-dialer-gtk2 chromium compiz-gtk easytag eiskaltdcpp-gtk emacs-maxima empathy epiphany
  epiphany-extensions evince evolution-data-server exfalso farsight2 firefox firefox-ru fslint fslint-gnome fusion-icon gajim gcalctool gdm-theme-simply gdm2.20 gecko-mediaplayer gedit gedit-plugins ghc-alex
  ghc-c2hs ghc-happy ghc-threadscope gimp gimp-plugin-exif-browser gimp-plugin-gutenprint gnome-alsamixer gnome-games-gir gnome-games-glchess gnome-games-glines gnome-games-gnect gnome-games-gnobots
  gnome-games-gnomine gnome-games-gnotravex gnome-games-gnotski gnome-games-gtali gnome-games-iagno gnome-games-sol gnome-games-sudoku gnome-libs gnome-media-common gnome-mplayer gnome-system-monitor
  gnome-vfs gst-plugins-base gst-plugins-good gthumb gtk2-theme-clearlooks gtk2-theme-simplicity gtk2-themes-xfce4 gtklp gtkpod gucharmap homebank hplip hplip-gui hplip-sane inkscape ipython kde4-kmid
  kde4base-runtime kde4base-runtime-core kde4base-workspace-core kde4edu-cantor koffice-core koffice-kword ldap-user-tools libavahi-gobject libavahi-ui-gtk3 libbonoboui libbrasero libcanberra libcanberra-gtk2
  libchamplain libchamplain-gtk libcheese libclutter-gir libclutter-gtk libevince libgdl libgkeyfile-sharp libgksu libglademm libgladeui libgluezilla libgmp#4.3.2-alt3 libgmp-devel#4.3.2-alt3 libgnome
  libgnome-panel libgnome-sharp libgnomeui libgoocanvas libgoogle-data-mono libgpod-sharp libgtk-sharp2 libgtkmm2 libgtksourceview libgudev-sharp libkeybinder libkwalletbackend4 libmetacity libmolletnetwork4
  libnepomukdatamanagement4 libnepomuksync4 libnet-snmp26 libnotify-sharp libreoffice libreoffice-gnome libreoffice-langpack-ru libsexy libtelepathy-farsight libtracker-client libunicapgtk libwebkitgtk2
  libxfce4ui libxfcegui4 libxfsm lshw-gui medit mintmenu mono-addins mono-data mono-data-sqlite mono-extras mono-wcf mono-web mono-winforms mozilla-plugin-adobe-flash mozilla-plugin-java-1.7.0-openjdk
  mozilla-plugin-vlc mplayer octave openldap2.4-servers pavucontrol perl4-compat pidgin pidgin-libnotify pitivi pulseaudio-daemon python-module-ClientForm python-module-Crypto python-module-OpenGL
  python-module-PyQt4 python-module-apt python-module-argparse python-module-avahi python-module-babel python-module-cups python-module-cupshelpers python-module-dateutil python-module-dbus
  python-module-docutils python-module-fusion-icon-gtk python-module-genshi python-module-gst python-module-html5lib python-module-kde4 python-module-libxml2 python-module-lxml python-module-mako
  python-module-matplotlib python-module-matplotlib-gtk python-module-mechanize python-module-mutagen python-module-notify python-module-numdifftools python-module-paramiko python-module-pexpect
  python-module-pyExcelerator python-module-pyalsa python-module-pycairo python-module-pygi python-module-pygnome python-module-pygnome-applet python-module-pygnome-bonobo python-module-pygnome-canvas
  python-module-pygnome-deskbar-applet python-module-pygnome-extras python-module-pygnome-gconf python-module-pygnome-gnome-vfs python-module-pygobject python-module-pygoocanvas python-module-pygtk
  python-module-pygtk-libglade python-module-pygtk_git python-module-pygtksourceview python-module-pylib python-module-pytz python-module-scikits python-module-scikits.statsmodels python-module-scipy
  python-module-serial python-module-setuptools python-module-sexy python-module-smbc python-module-sphinx python-module-sympy python-module-sympy-examples python-module-sympy-tests python-module-twisted-core
  python-module-vte python-module-webob python-module-xlwt python-module-zope python-module-zope.interface quodlibet samba-winbind seamonkey shotwell simple-ccsm sound-juicer stardict-gtk stardict-mueller7
  stardict-slovnyk_en-uk stardict-slovnyk_ru-en stardict-slovnyk_uk-en stardict-slovnyk_uk-ru sympy synaptic synaptic-usermode synfigstudio system-config-printer system-config-printer-udev telepathy-gabble
  telepathy-salut thunar-archive-plugin thunar-dropbox-plugin thunar-media-tags-plugin thunar-plugger thunar-plugger-dropbox thunar-shares-plugin thunar-volman-plugin thunderbird tracker transmission-gtk
  ucview uvcview wm-select xfcalendar xfce-utils xfce4-appfinder xfce4-battery-plugin xfce4-clipman-plugin xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-default xfce4-diskperf-plugin
  xfce4-eyes-plugin xfce4-fsguard-plugin xfce4-icon-theme xfce4-mailwatch-plugin xfce4-minimal xfce4-mixer xfce4-mount-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-notifyd xfce4-panel
  xfce4-places-plugin xfce4-power-manager xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-time-out-plugin xfce4-timer-plugin
  xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xfapplet-plugin xfce4-xkb-plugin xfdesktop xfwm4 xfwm4-themes xinit xinitrc xorg-dri-ati xorg-dri-intel xorg-dri-mga xorg-dri-nouveau
  xorg-dri-r128 xorg-dri-radeon xorg-dri-savage xorg-dri-sis xorg-dri-via xorg-drv-ati xorg-drv-cirrus xorg-drv-intel xorg-drv-joystick xorg-drv-mach64 xorg-drv-mga xorg-drv-multimedia xorg-drv-nouveau
  xorg-drv-nv xorg-drv-openchrome xorg-drv-qxl xorg-drv-r128 xorg-drv-radeon xorg-drv-s3 xorg-drv-s3virge xorg-drv-savage xorg-drv-sis xorg-drv-synaptics xorg-drv-video xorg-drv-void xorg-drv-wacom xorg-utils
  xsane xsane-gimp2 yelp zenity
Следующие НОВЫЕ пакеты будут установлены:
  at-spi2-atk at-spi2-core colord empathy-data epiphany-data firmware-crystalhd freerdp-plugins-standard frei0r-plugins gedit-data gnome-icon-theme-symbolic gnome-video-effects gsettings-desktop-schemas-data
  gst-plugins-bad1.0 gst-plugins-ugly1.0 gstreamer1.0 gthumb-data gxmessage kde4-nepomuk-core-common libXevie libarchive13 libat-spi2-core libattica0.4 libboost_system1.53.0 libbs2b libclucene-contribs-lib
  libclucene-core libclucene-shared libcolord libcrystalhd libfarstream0.2 libgavl libgdl3 libgnome-menus-gir libgnome-menus2 libgphoto2_2.4 libgst-plugins1.0 libgstreamer1.0 libgusb libgxps libiniparser
  libjson libkde4base-runtime libmbim-glib libmm-glib libmtdev libnet-snmp30 libnettle libnl3 libnm-gtk libopenblas libpcrecpp libpng15 libpoppler36 libprotobuf7 libpython libqmi-glib libraw libsecret
  libsemanage libsepol libsystemd-daemon libsystemd-login libtbb libtevent libtiff5 libudisks2 libustr libvncserver libvte3 libwayland-client libwayland-cursor libwayland-egl libwayland-server
  libwebkitgtk3-webinspector libxcbutil-keysyms libxkbcommon mono-csharp mono-devel mono-mcs monodis perl-Unicode-Normalize policycoreutils python-module-IPy python-module-audit python-module-distribute
  python-module-nss python-module-py python-module-pygobject3 python-module-selinux python-module-semanage python-module-sepolgen python-modules-unittest rpm-build-mono rpm-build-vala selinux-policy
  vapi-common xfce4-common
197 будет обновлено, 97 новых установлено, 1 пакетов будет заменено, 356 пакетов будет удалено и 0 будет сохранено.
Понадобится получить более 143MB архивов.
После распаковки будет освобождено 1544MB дискового пространства.
Продолжить? [Y/n] n
Прервано.
apt&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>141377</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2013-07-08 11:46:52 +0400</bug_when>
    <thetext>gmp-5.1.2-alt2 -&gt; sisyphus:

* Mon Jul 08 2013 Dmitry V. Levin &lt;ldv@altlinux&gt; 5.1.2-alt2
- libgmp10 shouldn&apos;t formally obsolete older libgmp (closes: #29152).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>141869</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2013-07-29 05:44:55 +0400</bug_when>
    <thetext>Thanks! It&apos;s ok now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>