/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..> .....
Стас, и правда есть проблема: $ 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
добавлено