Wireshark mailing list archives
Re: FW: [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..)..
From: "Sandor, Todd (Todd)" <todd.sandor () alcatel-lucent com>
Date: Mon, 10 Jan 2011 14:52:43 -0600
Thanks for the reply ... I tried installing "snmp-mibs-downloader" and it fails (same/similar error a with the smi libs...). I tried to resolve it with " sudo dpkg --configure -a" as I found via a google, it also failed with a similar error. As you suggest, my ubuntu must be broken. I send an email on the ubuntu users group to see if I can get this resolved first ... --- sudo apt-get install wireshark snmp-mibs-downloader Reading package lists... Done Building dependency tree Reading state information... Done snmp-mibs-downloader is already the newest version. The following extra packages will be installed: wireshark-common The following NEW packages will be installed: wireshark wireshark-common 0 upgraded, 2 newly installed, 0 to remove and 85 not upgraded. 2 not fully installed or removed. Need to get 14.5MB of archives. After this operation, 60.2MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://ca.archive.ubuntu.com/ubuntu/ lucid/universe wireshark-common 1.2.7-1 [13.7MB] Get:2 http://ca.archive.ubuntu.com/ubuntu/ lucid/universe wireshark 1.2.7-1 [794kB] Fetched 14.5MB in 12s (1,175kB/s) Preconfiguring packages ... Selecting previously deselected package wireshark-common. (Reading database ... 173004 files and directories currently installed.) Unpacking wireshark-common (from .../wireshark-common_1.2.7-1_amd64.deb) ... Selecting previously deselected package wireshark. Unpacking wireshark (from .../wireshark_1.2.7-1_amd64.deb) ... Processing triggers for man-db ... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_CA.utf8.cache... Processing triggers for python-support ... Setting up postfix (2.7.0-1) ... adduser: No UID is available in the range 100-999 (FIRST_SYS_UID - LAST_SYS_UID). adduser: The user `postfix' was not created. dpkg: error processing postfix (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of bsd-mailx: bsd-mailx depends on default-mta | mail-transport-agent; however: Package default-mta is not installed. Package postfix which provides default-mta is not configured yet. Package mail-transport-agent is not installed. Package postfix which provides mail-transport-agent is not configured yet. dpkg: error processing bsd-mailx (--configure): dependency problems - leaving unconfigured Setting up wireshark-common (1.2.7-1) ... No apport report written because the error message indicates its a followup error from a previous failure. Setting up wireshark (1.2.7-1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place /sbin/ldconfig.real: /usr/lib32/libMrm.so.3 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/libXm.so.3 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/libUil.so.3 is not a symbolic link Errors were encountered while processing: postfix bsd-mailx E: Sub-process /usr/bin/dpkg returned an error code (1) --- Cheers ... -----Original Message----- From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Balint Reczey Sent: Monday, January 10, 2011 12:00 PM To: wireshark-dev () wireshark org Subject: Re: [Wireshark-dev] FW: [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..).. Hi, On 01/10/2011 04:27 PM, Sandor, Todd (Todd) wrote:
To reach a wider audience, sending this to the dev email as well ... *From:* wireshark-users-bounces () wireshark org [mailto:wireshark-users-bounces () wireshark org] *On Behalf Of *Sandor, Todd (Todd) *Sent:* Monday, January 10, 2011 10:14 AM *To:* wireshark-users () wireshark org *Subject:* [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..).. (had errors in previous email, sending again) ... Hi - need some help getting wireshark with SMI (for decoding snmp via MIBs) working on ubuntu 10.04 LTS.
Wireshark shipped is compiled with SMI support: https://launchpad.net/ubuntu/lucid/amd64/wireshark-common/1.2.7-1
I can not find a package that includes wireshark with SMI ready for install, so I googled and found:
"apt-get install wireshark snmp-mibs-downloader" should make the trick. ...
::/usr/local/wireshark(504)$ sudo apt-get install libsmi2-common libsmi2-dev libsmi2ldbl Reading package lists... Done Building dependency tree Reading state information... Done
....
adduser: No UID is available in the range 100-999 (FIRST_SYS_UID - LAST_SYS_UID). adduser: The user `postfix' was not created. dpkg: error processing postfix (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of bsd-mailx: bsd-mailx depends on default-mta | mail-transport-agent; however: Package default-mta is not installed. Package postfix which provides default-mta is not configured yet. Package mail-transport-agent is not installed. Package postfix which provides mail-transport-agent is not configured yet. dpkg: error processing bsd-mailx (--configure): dependency problems - leaving unconfigured Setting up libsmi2-common (0.4.8+dfsg2-2) ... No apport report written because the error message indicates its a followup error from a previous failure. Setting up libsmi2ldbl (0.4.8+dfsg2-2) ... Setting up libsmi2-dev (0.4.8+dfsg2-2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place /sbin/ldconfig.real: /usr/lib32/libMrm.so.3 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/libXm.so.3 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/libUil.so.3 is not a symbolic link Errors were encountered while processing: postfix bsd-mailx E: Sub-process /usr/bin/dpkg returned an error code (1)
Your system is broken, you should fix it first. Please ask for help on ubuntu users list.
I assume if I can get this SMI stuff installed, that if I follow the rest of the compile/install that wireshark (below) with SMI will work...? After installing "devscripts" via Synaptic Package Manager (so could use the "dpkg-buildpackage" command) I was able to get verion 1.2.7 of wireshark installed/working using the command below, but when I go into Preferences Name Resolution, the options to configure the MIB paths/modules are not available. sudo apt-get build-dep wireshark cd wireshark-1.2.7/ dpkg-buildpackage -rfakeroot -b -uc cd .. sudo dpkg -i tshark_1.2.7-1_amd64.deb wireshark-common_1.2.7-1_amd64.deb wireshark_1.2.7-1_amd64.deb
You don't need to do this. The official packages should work.
But, I can't decode smmp mibs when I run this wireshark:
You need to install snmp-mibs-downloader as descibed in /usr/share/doc/wireshark-common/README.Debian . Cheers, Balint ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- FW: [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..).. Sandor, Todd (Todd) (Jan 10)
- Re: FW: [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..).. Balint Reczey (Jan 10)
- Re: FW: [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..).. Sandor, Todd (Todd) (Jan 10)
- Re: FW: [Wireshark-users] wireshark (with SMI) install on ubuntu issues ...(sending again ..).. Balint Reczey (Jan 10)