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

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

    <bug>
          <bug_id>3804</bug_id>
          
          <creation_ts>2004-03-08 16:22:00 +0300</creation_ts>
          <short_desc>&quot;apt-get install --reinstall&quot; creates duplicated packages</short_desc>
          <delta_ts>2006-08-29 20:54:24 +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>apt</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Vlasov">vsu</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>mouse</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>12187</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2004-03-08 16:22:00 +0300</bug_when>
    <thetext>При использовании apt-get install --reinstall для пакетов, попадающих в
Allow-Duplicates (kernel-image-*, kernel-modules-*), появляются дублирующиеся
записи в базе rpm.

Steps to Reproduce:
# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
# rpm -q kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1
warning: package kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1 is not installed
# apt-get install kernel-modules-fglrx-std-up\#1.0.3.7.0-alt4.1
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  kernel-modules-fglrx-std-up#1.0.3.7.0-alt4.1
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/87.5kB of archives.
After unpacking 249kB of additional disk space will be used.
Committing changes...
Preparing...                
###############################################################################################
[100%]
1:
kernel-modules-fglrx-std-u###############################################################################################
[100%]
Done.
# rpm -q kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1
kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1
# apt-get install --reinstall kernel-modules-fglrx-std-up\#1.0.3.7.0-alt4.1
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 removed and 0 not upgraded.
Need to get 0B/87.5kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] 
Committing changes...
Preparing...                
###############################################################################################
[100%]
1:
kernel-modules-fglrx-std-u###############################################################################################
[100%]
Done.
# rpm -q kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1
kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1
kernel-modules-fglrx-std-up-1.0.3.7.0-alt4.1
# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16294</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-07-02 16:25:50 +0400</bug_when>
    <thetext>Мне кажется, что тут ничего хорошего придумать невозможно:
если есть несколько версий одного пакета (из-за Allow-Duplicates), то reinstall
должен либо установить ещё одну версию (дубликат), либо удалить старые.
Последнее недопустимо из-за Allow-Duplicates.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>