Package: debian-goodies Version: 0.60 Severity: normal Hi,
When fetching a nonexisting package, debget silently fails: ------------------------------------------------------------ $ debget nonexistent-package $ ------------------------------------------------------------ There is code in /usr/bin/debget to print an error message, but it is never reached due to the -e flag in "#!/bin/sh -e" header line. Without -e: ------------------------------------------------------------ $ sh /usr/bin/debget nonexistent-package ERROR: There is no 'nonexistent-package' package. Sorry. If you believe the package exists then consider updating your. package database using 'apt-get update' ------------------------------------------------------------ The relevant part of code is ------------------------------------------------------------ apt-get -q2 --print-uris --reinstall install "$pkgspec" 2>/dev/null >/dev/null if [ $? -ne 0 ] ; then ------------------------------------------------------------ Where the second line is, of course, never reached due to -e if the apt-get command fails. Sami -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.4.0 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages debian-goodies depends on: ii curl 7.26.0-1 ii dctrl-tools [grep-dctrl] 2.22.2 ii dialog 1.1-20120215-2 ii perl 5.14.2-11 ii python 2.7.3~rc2-1 ii whiptail 0.52.14-10 Versions of packages debian-goodies recommends: ii lsof 4.86+dfsg-1 Versions of packages debian-goodies suggests: ii popularity-contest 1.55 ii xdg-utils 1.1.0~rc1+git20111210-6 ii zenity 3.4.0-2 -- no debconf information
signature.asc
Description: Digital signature