[SOLVED] Dependency problem with installing Wireshark in Linux Mint 17.3
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dependency problem with installing Wireshark in Linux Mint 17.3
Hi, I am trying to install Wireshark on my Linux Mint 17.3 machine, but when I attempt to do so, I get the following errors for dependencies:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
wireshark : Depends: wireshark-qt but it is not going to be installed or
wireshark-gtk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
When I try to install each one of these dependencies, it tells me that it depends on another and it eventually gets down to "libwireshark-data" package. When I try to install that one, it says it's the latest version.
then paste the output from the following (don't go through with the upgrade):
Code:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
gnupg gpgv libgcrypt11 libgcrypt11:i386
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,249 kB of archives.
After this operation, 0 B of additional disk space will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
gnupg gpgv libgcrypt11 libgcrypt11:i386
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,249 kB of archives.
After this operation, 0 B of additional disk space will be used.
Ok, thanks. Do it again but go ahead with the upgrade this time. Then run (and paste the output from):
Wireshark repo from the author?
The repo for dreibh wouldn't work for me on Linux Mint 17.1 Rebecca
but this one from wireshark DEVs does provide wireshark-2.0.4
Wireshark repo from the author?
The repo for dreibh wouldn't work for me on Linux Mint 17.1 Rebecca
but this one from wireshark DEVs does provide wireshark-2.0.4
I don't know the keyboard.fu to select one repo over a default one as wireshark is in the stock repos is for
Version: 1.10.6-1
but there's only one wireshark-qt and that pulls from the devs PPA.
Let us know.
When I try the commands above, I get the same error message that I did originally:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
wireshark-qt : Depends: wireshark-common (= 2.3.0+git20160818152358~fce1871d-0ubuntu1~trusty1~ppa0) but it is not going to be installed
Depends: libwireshark0 (>= 2.3.0+git20160818152358~fce1871d-0ubuntu1~trusty1~ppa0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Last edited by TheOrangeRemix; 08-19-2016 at 11:11 AM.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Ok, thanks. What we are going to do now is find out what is actually installed on your machine Wireshark-wise, uninstall it, and then uninstall any unused dependencies that are left over (if you're up for it).
Ok, thanks. What we are going to do now is find out what is actually installed on your machine Wireshark-wise, uninstall it, and then uninstall any unused dependencies that are left over (if you're up for it).
Firstly:
Code:
dpkg -l *wiresh*
All right, here we are:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
ii libwireshark-data 2.3.0+git201608051 all network packet dissection library -- data files
rc libwireshark0:amd64 2.1.1+git201606300 amd64 network packet dissection library -- shared library
un libwireshark1 <none> <none> (no description available)
un wireshark <none> <none> (no description available)
rc wireshark-common 2.1.1+git201606300 amd64 network traffic analyzer - common files
ii wireshark-doc 2.3.0+git201608051 all network traffic analyzer - documentation
un wireshark-qt <none> <none> (no description available)
Last edited by TheOrangeRemix; 08-19-2016 at 06:29 PM.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-===========
ii libwireshark-data 2.3.0+git201608051 all network packet dissection library -- data files
rc libwireshark0:amd64 2.1.1+git201606300 amd64 network packet dissection library -- shared library
un libwireshark1 <none> <none> (no description available)
un wireshark <none> <none> (no description available)
rc wireshark-common 2.1.1+git201606300 amd64 network traffic analyzer - common files
ii wireshark-doc 2.3.0+git201608051 all network traffic analyzer - documentation
un wireshark-qt <none> <none> (no description available)
Thanks. For info, ii effectively means that a package is installed, un uninstalled, and rc shows that the package is uninstalled but config files have still to be removed.
So, do the following, but if any of the commands appear to be proposing the removal of additional packages that don't look related to Wireshark then don't go through with the removal and paste the output here:
apt-get purge removes both a package and its configuration files (but usually not your personal configuration files in your home folder, although that shouldn't be a problem here).
P.S. Can you please go back and edit out a lot of those '=' characters in your previous post as they're pushing the thread beyond the width of the screen (or at least on my screen ;-))
and I believe he'll need to comment contents of or outright move/delete /etc/apt/sources.list.d/dreibh-ppa-trusty.list
as I believe it may conflict with the repo I supplied, if that is to be used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.