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

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

    <bug>
          <bug_id>7514</bug_id>
          
          <creation_ts>2005-07-29 11:41:09 +0400</creation_ts>
          <short_desc>Отсутствует зависимость от getopt</short_desc>
          <delta_ts>2005-10-20 14:20:32 +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>alternatives</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yauhen Kharuzhy">y.kharuzhy</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27847</commentid>
    <comment_count>0</comment_count>
    <who name="Yauhen Kharuzhy">y.kharuzhy</who>
    <bug_when>2005-07-29 11:41:09 +0400</bug_when>
    <thetext>/usr/bin/alternatives-upgrade использует getopt, но пакет alternatives не
зависит от пакета getopt.
Steps to Reproduce:
1. (Делалось в scratchbox) Установить на чистую систему пакеты setup,
interactivesystem.
2. apt-get install gcc3.4
3.
Actual Results:  
gcc3.4                   ########################################### [ 72%]
/usr/bin/alternatives-upgrade: line 1: getopt: command not found
Usage: alternatives-upgrade [options] 

The alternatives-upgrade program converts alternatives config files from old
format (XML based) to new.
This utility process only files from /etc/alternatives/packages.d directory.

Valid options are:
  -h, --help    display help screen
  -v, --version display version information
                                     
Report bugs to &lt;inger@altlinux.org&gt;
/usr/bin/alternatives-install: line 1: getopt: command not found
Usage: alternatives-install [options] &lt;configs..&gt;
.....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31915</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-10-15 02:38:55 +0400</bug_when>
    <thetext>Стас, и правда есть проблема:

$ rpmquery -l alternatives |fgrep bin/ |xargs -r grep -w getopt
/usr/bin/alternatives-auto:TEMP=`getopt -n $PROG -o h,v -l help,version -- &quot;$@&quot;`
|| print_usage
/usr/bin/alternatives-config:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/bin/alternatives-display:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/bin/alternatives-install:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/bin/alternatives-list:TEMP=`getopt -n $PROG -o h,v -l help,version -- &quot;$@&quot;`
|| print_usage
/usr/bin/alternatives-manual:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/bin/alternatives-uninstall:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/bin/alternatives-update:TEMP=`getopt -n $PROG -o h,v,g -l
help,version,ignore -- &quot;$@&quot;` || print_usage
/usr/bin/alternatives-upgrade:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/bin/alternatives-validate:TEMP=`getopt -n $PROG -o h,v -l help,version --
&quot;$@&quot;` || print_usage
/usr/sbin/alternatives-update:TEMP=`getopt -n $PROG -o h,v,g -l
help,version,ignore -- &quot;$@&quot;` || print_usage
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32227</commentid>
    <comment_count>2</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2005-10-20 14:20:32 +0400</bug_when>
    <thetext>добавлено</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>