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

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

    <bug>
          <bug_id>3091</bug_id>
          
          <creation_ts>2003-10-02 11:46:27 +0400</creation_ts>
          <short_desc>apt-shell doesn&apos;t work with --reinstall</short_desc>
          <delta_ts>2020-08-19 14:03:03 +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>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>4707</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly A. Ostanin">vyt</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>mouse</cc>
    
    <cc>placeholder</cc>
    
    <cc>radyus</cc>
    
    <cc>shakirov</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9967</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly A. Ostanin">vyt</who>
    <bug_when>2003-10-02 11:46:27 +0400</bug_when>
    <thetext>apt-shell:

apt&gt; install mozilla --reinstall
...
Запуск RPM (/bin/rpm -Uvh --fancypercent --oldpackage)...
...
пакет mozilla-1.4-alt5 уже установлен
Присутствуют пакеты с нарушенными зависимостями.

apt-get:

apt-get install mozilla --reinstall
Запуск RPM (/bin/rpm -Uvh --fancypercent --oldpackage --replacepkgs
--replacefiles)...
нормально переустановил.

apt-0.5.5cnc4.1-alt7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11298</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-01-16 21:43:50 +0300</bug_when>
    <thetext>Same with new apt-0.5.15cnc5-alt1 :( 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16521</commentid>
    <comment_count>2</comment_count>
    <who name="Kachalov Anton">mouse</who>
    <bug_when>2004-07-05 18:25:59 +0400</bug_when>
    <thetext>какая же это глюкалка:
1. у меня иногда вилится на автодополнении, например, для install &lt;TAB&gt;
2. если commit обламался, то по следующей любой команде валится

проблема с --reinstall примерно такова (строчки из основного цикла чтения команд
apt-shell):
// Make our own copy of the configuration.
delete _config;
_config = new Configuration(GlobalConfig);

они каждый раз парсят аргументы и создают конфиг.
в след. сборке, думаю, это будет исправлено ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113502</commentid>
    <comment_count>3</comment_count>
    <who name="Lenar Shakirov">shakirov</who>
    <bug_when>2010-10-10 23:36:21 +0400</bug_when>
    <thetext>apt-0.5.15lorg2-alt29 воспроизводится</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113521</commentid>
    <comment_count>4</comment_count>
    <who name="Lenar Shakirov">shakirov</who>
    <bug_when>2010-10-11 14:27:03 +0400</bug_when>
    <thetext>Виноват патч apt-0.5.15lorg2-alt-apt-shell-resetconfig.patch из коммита e97a90dec9beeebd327a70b378a47c98d8947d76.

В сборке apt без этого патча опция --reinstall в apt-shell работает нормально.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113829</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-10-16 12:24:11 +0400</bug_when>
    <thetext>Опять эти альтовские патчи... :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>