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

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

    <bug>
          <bug_id>11527</bug_id>
          
          <creation_ts>2007-04-17 10:23:53 +0400</creation_ts>
          <short_desc>apt-get не возвращает код ошибки</short_desc>
          <delta_ts>2008-03-01 14:57:17 +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>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>11526</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>php-coder</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>48946</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2007-04-17 10:23:53 +0400</bug_when>
    <thetext>В случае ошибочной транзакции apt-get не возвращает код ошибки:
# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
  dev
1 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/1134kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] 
Committing changes...
Preparing...                          
###################################################################################################
[100%]
** Cannot install dev package: mounted udev detected.
** This is no problem, but to avoid side-effects with
** stopping and starting it automatically, please do:
service udevd umount
apt-get install dev
service udevd start
** Note that some services like syslogd might need
** restart after this, too.
error: execution of %pre scriptlet from dev-3.3.1-alt18 failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping dev-3.3.1-alt18
W: Some errors occurred while running transaction
# echo $?
0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48947</commentid>
    <comment_count>1</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2007-04-17 10:25:39 +0400</bug_when>
    <thetext>Соотв. все честные программы, которые надеются на код ошибки, типа alterator-apt
не выдают никакой диагностики.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49119</commentid>
    <comment_count>2</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2007-04-19 01:34:50 +0400</bug_when>
    <thetext>Fixed in 0.5.15lorg2-alt11-1-g50c8f02.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53440</commentid>
    <comment_count>3</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2007-08-01 16:50:52 +0400</bug_when>
    <thetext>Mark as FIXED</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>