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

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

    <bug>
          <bug_id>26620</bug_id>
          
          <creation_ts>2011-11-24 10:27:15 +0400</creation_ts>
          <short_desc>Не устанавливается</short_desc>
          <delta_ts>2011-11-25 17:29:01 +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>webalizer</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>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgenii Terechkov">evg</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>127163</commentid>
    <comment_count>0</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2011-11-24 10:27:15 +0400</bug_when>
    <thetext>При установке вываливает:

19: webalizer                ############################################################################## [100%]
error: execution of %post scriptlet from webalizer-2.01.10.RB23-alt1 failed, exit status 1
E: Произошли ошибки при выполнении транзакции

Видимо, разгадка в этой строчке %post:

[ -f &quot;/var/lib/webalizer/dns_cache.db&quot; ] &amp;&amp; \
        db_upgrade -v /var/lib/webalizer/dns_cache.db

Т.е. если это новая установка и такого файла нет, то test вернёт 1.

Решение тривиально: добавить &quot;||:&quot;

Заодно можно было бы и версию обновить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127185</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-11-25 13:41:31 +0400</bug_when>
    <thetext>Вообще буду благодарен, если кто заберёт -- а dns_cache.db можно не обновлять, а просто грохать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127190</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-11-25 14:04:27 +0400</bug_when>
    <thetext>webalizer-2.01.10.RB23-alt2 -&gt; sisyphus:

* Fri Nov 25 2011 Michael Shigorin &lt;mike@altlinux&gt; 2.01.10.RB23-alt2
- upgraded db_upgrade to rm -f (closes: #26620)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127195</commentid>
    <comment_count>3</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2011-11-25 17:29:01 +0400</bug_when>
    <thetext>Ну ОК.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>