[Pkg-net-snmp-devel] Bug#556778: libsnmp-base: Please give an informational message instead of a shell script on STDOUT during install

Dennis Jørgensen dnj at x.dtu.dk
Tue Nov 17 19:02:43 UTC 2009


Package: libsnmp-base
Version: 5.4.2.1~dfsg-2
Severity: normal

This output:

Setting up libsnmp-base (5.4.2.1~dfsg-2) ...
[ -d /usr/share/mibs/iana.orig ] || mkdir /usr/share/mibs/iana.orig
cat ianalist | while read file mibs; \
                do \
                  if [ "$file" != "#" ]; \
                  then \
                    ./mibfetch -d /usr/share/mibs/iana.orig -x
http://www.iana.org assignments $file $mibs; \
                  fi; \
                done
[ -d /usr/share/mibs/ietf.orig ] || mkdir /usr/share/mibs/ietf.orig
cat rfclist | while read rfc mibs; \
                do \
                  if [ "$rfc" != "#" ]; \
                  then \
                    ./mibfetch -d /usr/share/mibs/ietf.orig
ftp://ftp.ietf.org rfc $rfc $mibs; \
                  fi; \
                done


Would be much better written as (for example):

"Downloading MIBs, this will take a very long time"


The current output could lead one to believe that part of post-install gets
printed instead of run.


Kind regards


  Dennis Jørgensen

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsnmp-base depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
pn  gawk                          <none>     (no description available)
ii  wget                          1.12-1.1   retrieves files from the web

libsnmp-base recommends no packages.

libsnmp-base suggests no packages.

-- debconf information:
* libsnmp-base/download_mibs: true





More information about the Pkg-net-snmp-devel mailing list