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

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

    <bug>
          <bug_id>36890</bug_id>
          
          <creation_ts>2019-06-13 05:59:52 +0300</creation_ts>
          <short_desc>double version postfix is printed for allow-duplicated packages when selecting them</short_desc>
          <delta_ts>2020-08-19 14:03:54 +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>apt</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</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>182368</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2019-06-13 05:59:52 +0300</bug_when>
    <thetext>The line:

Version kernel-image-std-def#3:4.4.86-alt0.M80C.2#3:4.4.86-alt0.M80C.2 for kernel-image-std-def=4.4.86-alt0.M80C.2 is already installed

has a double version postfix in the example below:

[root@localhost .in]# apt-get remove kernel-image-std-def=4.4.86-alt0.M80C.2
Reading Package Lists... Done
Building Dependency Tree... Done
Version kernel-image-std-def#3:4.4.86-alt0.M80C.2#3:4.4.86-alt0.M80C.2 for kernel-image-std-def=4.4.86-alt0.M80C.2 is already installed
The following packages will be REMOVED:
  kernel-image-std-def#3:4.4.86-alt0.M80C.2
0 upgraded, 0 newly installed, 1 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 50.6MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
[root@localhost .in]# rpm -q apt --lastchange
* Fri May 31 2019 Aleksei Nikiforov &lt;darktemplar@altlinux.org&gt; 0.5.15lorg2-alt53.M80C.2
- Ported https support from Debian via https method to apt-https package.
- Dropped processing Realm name in http/https methods.
[root@localhost .in]# 

The same applies to p8 and Sisyphus:

[root@prodesk /]# apt-get remove kernel-image-un-def=5.0.19-alt1
Reading Package Lists... Done
Building Dependency Tree... Done
Version kernel-image-un-def#1:5.0.19-alt1:sisyphus+230627.100.1.3@1559075615#1:5.0.19-alt1:sisyphus+230627.100.1.3@1559075615 for kernel-image-un-def=5.0.19-alt1 is already installed

...
[root@prodesk /]# rpm -q apt --lastchange
* Ср июн 05 2019 Ivan Zakharyaschev &lt;imz@altlinux.org&gt; 0.5.15lorg2-alt67
- Add disttag to VerStrs (used by APT to identify package versions).

This was noticed by Александр Макеенков. It doesn&apos;t affect the correctness of APT&apos;s work.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>