Bug#400271: [Pkg-net-snmp-devel] Bug#400271: /usr/share/snmp/mibs/.index file is empty

Jochen Friedrich jochen at scram.de
Sat Nov 25 15:33:39 CET 2006

_Hi Carlos,

> After further investigation, I found that the cause of this problem is
> some error with the package  currenly in etch, that installs an empty
> "/usr/share/snmp/mibs/.index" file.
> Populating this file like this...
>   for i in *.txt; do echo $(basename $i .txt) $i>>.index; done
> ...fixed the problem.

Could you reexecute /var/lib/dpkg/info/libsnmp-base.postinst? It has some
similar code but it extracts the module name from the MIB file instead of
guessing it from the filename.


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