Find the answer to your Linux question:
Results 1 to 7 of 7
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    38

    Wireshark Install / dpkg 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: Ubuntu -- Error

    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?

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    This looks to be a bug in libpam-mount rather than Wireshark. You can try to remove the pam_mount line in /etc/pam.d/common-pammount as described on https://bugs.launchpad.net/ubuntu/+s...nt/+bug/332833
    Linux User #453176

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    38
    Actually I've made some progress, but I am still being halted.

    I wasn't in the USB directory when I ran the previous command, so I went to cd /media/Cruzer, and I ran the same command, and now:

    I get errors stating that the Wireshark dependencies are not installed.

    Needs:

    libadns1
    liblua5.1-0
    wireshark-common

    Do you know where I can find them?

  4. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    Go to Ubuntu -- Ubuntu Packages Search

    Paste the name of the each dependency in to the search box. If it can't find any then try Google. If still no luck then give us a shout. Each dependency way require more packages so this process may take some time!
    Linux User #453176

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    38
    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.

  6. #6
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    The source code will need compiling. You may not have the required packages to compile yet but let's give it a go anyway...

    EDIT: Make sure you cd into the directory that now exists after your tar command. It's probably called wireshark followed by the version number.

    Most source code can be compiled automatically with 3 commands:

    Code:
    ./configure
    make 
    sudo make install
    If you get any errors it's probably going to be during ./configure and be because there is no compiler. In that case install build-essential first
    Linux User #453176

  7. #7
    Just Joined!
    Join Date
    Aug 2009
    Posts
    38
    Yeah I'm having a difficult time with it. I am going to put a new post up because I went a different route, and now I am stuck again, lol

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •