LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wireshark Install Problems (https://www.linuxquestions.org/questions/linux-software-2/wireshark-install-problems-749022/)

krimzen85 08-20-2009 09:05 AM

Wireshark Install Problems
 
Hey All,

As I had a feeling, I am having problems getting Wireshark installed and unpackaged in Ubuntu. Here is the procedure I've taken:

(Note: I DO NOT have internet on the Linux machine yet)

1. Downloaded i386 .deb file onto my Windows desktop and threw the .deb file onto USB stick. Site: http://packages.ubuntu.com/jaunty/i3...shark/download

2. Plugged USB into the drive, mounted it without a problem

3. Sudo dpkg -i wireshark_1.0.7-1ubuntu1_i386.deb

Following error message given:

pam_mount(pam_mount.c:100): unknown pam_mount option "use_first_pass"
dpkg: error processing wireshark_1.0.7-1ubuntu1_i386.deb (--install):
cannot access archive: no such file or directory
Errors were encountered while processing:
wireshark_1.0.7-1ubuntu1_i386.deb


Any ideas?

MS3FGX 08-20-2009 09:11 AM

Well that first issue appears to be a bug in Ubuntu. Though it shouldn't have anything to do with the current problem.

The error is saying that either the file doesn't exist, or you don't have adequate permissions to read/access it. Did you make sure to "cd" into the proper directory where the flash drive was mounted before running the command?

krimzen85 08-20-2009 09:27 AM

I did not.

I'm still learning how all of the different directories work and what not. How can I find the directory that the USB is mounted? (it mounted itself automatically)

krimzen85 08-20-2009 09:42 AM

Nevermind, I found the directory by clicking the cruzer's properties.

Here are the remaining issues:

cd /media/Cruzer

sudo dpkg -i wireshark_1.0.7-1ubuntu1_i386.deb

I get errors stating that the dependencies are not installed.

Needs:

libadns1
liblua5.1-0
wireshark-common

Do you know where I can find them?

krimzen85 08-20-2009 10:22 AM

Yeah I haven't had much luck trying to find the dependencies on google.

So I went to Wireshark.org and downloaded the source code (tar.bz2) to my USB and threw it onto my Linux machine.

I unpacked it without a problem with:

cd media/Cruzer

sudo tar xvfj wireshark-1.2.1.tar.bz2

Now it is done unpacking, is there anything I have to do to get it to run now? Because it is now just sitting at the command line waiting for a command after the unpack.

MS3FGX 08-20-2009 01:30 PM

You would have to build the source code into an installable binary package, which involves a whole other slew of commands and procedures you would need to learn. It also wouldn't help your present situation, since the libraries Wireshark depends on aren't installed on your machine anyway (or at least, aren't sufficiently up-to-date).

The libraries you need are on the same site as the Wireshark package you downloaded, under Libs.


All times are GMT -5. The time now is 12:02 PM.