libsnmp-base: Please provide a more clear warning that downloading MIBs can take hours

Bug #490683 reported by BavarianPH
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
net-snmp (Debian)
Fix Released
Unknown
net-snmp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Karmic Koala cannot update Libsnmp-base,

MIBs, iana (?) do not install.

I ended the trap by <Ctrl> c.

Since snmp only effected a firewall, and seems to

have no other purpose, I simply deleted it.

The gtk failure is a bigger problem, pk-gtk-module

not found, etc., may effect libsnmp.

I simply do not know enough about Linux to be of

much help.

BavarianPH,

Ubuntu forever!

ProblemType: Package
Architecture: i386
Date: Mon Nov 30 22:40:36 2009
DistroRelease: Ubuntu 10.04
ErrorMessage: subprocess installed post-installation script killed by signal (Interrupt)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091120)
Package: libsnmp-base 5.4.2.1~dfsg-3ubuntu2
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.32-4.5-generic
SourcePackage: net-snmp
Title: package libsnmp-base 5.4.2.1~dfsg-3ubuntu2 failed to install/upgrade: subprocess installed post-installation script killed by signal (Interrupt)
Uname: Linux 2.6.32-4-generic i686

Revision history for this message
BavarianPH (bavarianph) wrote :
Revision history for this message
BavarianPH (bavarianph) wrote :

addenum: libsnmp-base 5.4.2.1~dfsg-3ubuntu2 bug

resides on my 3rd harddrive: (I'm running too many OSs)

on Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091120)

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

I also had the same problem on lucid amd64 and had to ctrl+c it too.

Revision history for this message
Curtis Lee Bolin (curtisleebolin) wrote :

I ran "sudo dpkg --configure -a" afterwards. It finished but took at least 10 minutes.

sudo dpkg --configure -a
Setting up libsnmp-base (5.4.2.1~dfsg-3ubuntu2) ...

Downloading RFCs and IANA documents and extracting MIB files.
This will take some minutes.

In case this process fails, it can always be repeated later by executing
cd /usr/share/mibs
make -f Makefile.mib

[ -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 http://www.rfc-editor.org rfc $rfc $mibs; \
    fi; \
  done
NOTE: SMUX: ignored.
NOTE: FIZBIN-MIB: ignored.
NOTE: : ignored.
NOTE: : ignored.
NOTE: IANA-PRINTER-MIB: ignored.
NOTE: IANA-FINISHER-MIB: ignored.
NOTE: IANA-ITU-ALARM-TC-MIB: ignored.
NOTE: IANA-GMPLS-TC-MIB: ignored.
NOTE: IANA-MAU-MIB: ignored.
patch -d /usr/share/mibs/ietf.orig < rfcmibs.diff; \
 rm -f /usr/share/mibs/ietf.orig/*orig
patching file ADSL-LINE-MIB
patching file DLSW-MIB
patching file DSA-MIB
patching file FDDI-SMT73-MIB
patching file HPR-MIB
patching file MIP-MIB
patching file Modem-MIB
patching file PPP-LCP-MIB
patching file RDBMS-MIB
patching file RFC1414-MIB
patching file SNA-NAU-MIB
patching file TCPIPX-MIB
patching file UPS-MIB
patching file SMUX-MIB
rm -fr /usr/share/mibs/iana
rm -fr /usr/share/mibs/ietf
mkdir /usr/share/mibs/iana
mkdir /usr/share/mibs/ietf
cp /usr/share/mibs/iana.orig/* /usr/share/mibs/iana
cp /usr/share/mibs/ietf.orig/* /usr/share/mibs/ietf
rm -fr *orig

Setting up libsnmp15 (5.4.2.1~dfsg-3ubuntu2) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Revision history for this message
Steffen Neumann (sneumann) wrote :

I object that this is a duplicate of #490843 "Confusing debconf question":
here two people report that they'd hit Ctrl-C after a perceived freeze
of the upgrade/installation.

My lucid-alpha1 installation is sitting at libsnmp-base for >30 minutes now,
and only a ps on a second console showed that is was wget'ting RFCs.

1) This bug implies that we need some kind of progress bar here.

2) Or even better handle this task at a later stage (don't ask me how),
    because lycid reviews will be writing how long the installation takes,
    where (I guess) 5/4 of the time are spent in libsmnp-base.

Yours,
Steffen

Revision history for this message
Steffen Neumann (sneumann) wrote : Re: Installing libsnmp-base appears to hang when downloading RFCs [was: failed to install/upgrade: subprocess installed post-installation script killed by signal (Interrupt)]

I have changed title and duplicate status.
Apparently this does not show in the comment list.

Yours,
Steffen

summary: - package libsnmp-base 5.4.2.1~dfsg-3ubuntu2 failed to install/upgrade:
- subprocess installed post-installation script killed by signal
- (Interrupt)
+ Installing libsnmp-base appears to hang when downloading RFCs [was:
+ failed to install/upgrade: subprocess installed post-installation script
+ killed by signal (Interrupt)]
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The extreme slowness is due to ftp.ietf.org being overloaded.
This as been fixed in Debian by using http instead.

summary: - Installing libsnmp-base appears to hang when downloading RFCs [was:
- failed to install/upgrade: subprocess installed post-installation script
- killed by signal (Interrupt)]
+ libsnmp-base: Please provide a more clear warning that downloading MIBs
+ can take hours
Changed in net-snmp (Ubuntu):
status: New → Confirmed
Changed in net-snmp (Debian):
status: Unknown → Fix Released
Revision history for this message
Chuck Short (zulcss) wrote :

This should be fixed for lucid now.

Regards
chuck

Changed in net-snmp (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.