Bug 7514 - Отсутствует зависимость от getopt
: Отсутствует зависимость от getopt
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/alternatives)
: unstable
: all Linux
: P3 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-07-29 11:41 by
Modified: 2005-10-20 14:20 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-07-29 11:41:09
/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 <inger@altlinux.org>
/usr/bin/alternatives-install: line 1: getopt: command not found
Usage: alternatives-install [options] <configs..>
.....
------- Comment #1 From 2005-10-15 02:38:55 -------
Стас, и правда есть проблема:

$ rpmquery -l alternatives |fgrep bin/ |xargs -r grep -w getopt
/usr/bin/alternatives-auto:TEMP=`getopt -n $PROG -o h,v -l help,version -- "$@"`
|| print_usage
/usr/bin/alternatives-config:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/bin/alternatives-display:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/bin/alternatives-install:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/bin/alternatives-list:TEMP=`getopt -n $PROG -o h,v -l help,version -- "$@"`
|| print_usage
/usr/bin/alternatives-manual:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/bin/alternatives-uninstall:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/bin/alternatives-update:TEMP=`getopt -n $PROG -o h,v,g -l
help,version,ignore -- "$@"` || print_usage
/usr/bin/alternatives-upgrade:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/bin/alternatives-validate:TEMP=`getopt -n $PROG -o h,v -l help,version --
"$@"` || print_usage
/usr/sbin/alternatives-update:TEMP=`getopt -n $PROG -o h,v,g -l
help,version,ignore -- "$@"` || print_usage
------- Comment #2 From 2005-10-20 14:20:32 -------
добавлено