On 27/02/14 08:38, Kirt Odle wrote: > I am very new to Debian ( and any other linux ) and I'm trying to install > tshark. > > I've downloaded tshark and have run the command ... dpkg -i > tshark_1.8.2-5wheezy9_i386.deb > > This printed out a lot of errors and listed missing libraries and other > dependencies. > > However, I am very confused on how to figure out which dependency files I > need to download for my i386 and which ones I don't need. > > This seems to be very labor intensive, and I'm wondering if I can somehow get > Wheezy to automatically determine, download and install all the dependencies > based on the version of Debian and tshark I have. > > Please help if you can. I am fairly computer literate, but not linux at all. > This is my first attempt. > > thanks > > Kirt Odle > >
At this point tshark is installed, but not configured (as it lack dependencies. To finish installing it you need the dependencies installed, and everything configured. That's simple:- # apt-get -f install NOTE: the # means run as root. Either:- $ sudo apt-get -f install (if you have sudo installed) OR:- $ su -c "apt-get -f install" (if you don't have sudo installed) If one of the resulting actions is to "remove tshark" just continue, and when "apt-get -f install" is finished:- # apt-get install tshark (tshark will not need to be downloaded again as it'll be sitting in /etc/cache/apt/archives). *What you did*:- # dpkg -i tshark*.debSelecting previously unselected package tshark. (Reading database ... 177857 files and directories currently installed.) Unpacking tshark (from tshark_1.8.2-5wheezy9_i386.deb) ... dpkg: dependency problems prevent configuration of tshark: tshark depends on libpcap0.8 (>= 0.9.8); however: Package libpcap0.8:i386 is not installed. tshark depends on libwireshark2 (>= 1.8.0~rc1-1); however: Package libwireshark2 is not installed. tshark depends on wireshark-common (= 1.8.2-5wheezy9); however: Package wireshark-common is not installed. dpkg: error processing tshark (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: tshark *What you need to do*:- # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libpcap0.8 libwireshark-data libwireshark2 wireshark-common Suggested packages: wireshark-doc The following NEW packages will be installed: libpcap0.8 libwireshark-data libwireshark2 wireshark-common 0 upgraded, 4 newly installed, 0 to remove and 6 not upgraded. 1 not fully installed or removed. Need to get 12.8 MB of archives. After this operation, 49.9 MB of additional disk space will be used. Do you want to continue [Y/n]? y <snipped> *What you'll get*:- $ tshark -v TShark 1.8.2 Copyright 1998-2012 Gerald Combs <ger...@wireshark.org> and contributors. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled (32-bit) with GLib 2.32.4, with libpcap, with libz 1.2.7, with POSIX capabilities (Linux), with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python, with GnuTLS 2.12.20, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP. Running on Linux 3.2.0-4-686-pae, with locale en_AU.UTF-8, with libpcap version 1.3.0, with libz 1.2.7. Built using gcc 4.7.2. Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/530eb52e.7010...@gmail.com