LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wireshark installation problems (https://www.linuxquestions.org/questions/linux-newbie-8/wireshark-installation-problems-909470/)

shanky 10-22-2011 01:36 AM

Wireshark installation problems
 
hii
i installed wireshark 1.3.2 (i know a very old version) for studying mesh packets but later found out that 1.6.2 has been released with all the bugs fixed ..i am trying to uninstall 1.3.2 with

make uninstall wireshark1.3.2

but i keep getting

make: *** No rule to make target `uninstall'. Stop.

how do i uninstall it if this is not the way !! please suggest a method !!
thanks

fukawi1 10-22-2011 01:44 AM

Doesn't sound like an uninstall feature was included in the makefile, can you install the newer version over the top via package management, or source?

Try sticking to package management (apt/yum/pacman/etc) if available, as it handles uninstalling/upgrading packages much better than compiling from source.

shanky 10-22-2011 01:49 AM

hii
i did try yum and pacman.With pacman i get bash:command pacman not found and with yum it shows me the list of commands ,i went through the list for any commands involving uninstalling, all i cud see was erase and remove ,but they only remove the package not uninstall right??

fukawi1 10-22-2011 01:56 AM

Sorry, i should have seen that you are using Fedora, pacman/apt wont be there..
Removing will depend on how you installed it in the first place, if you built in from source originally, yum probably wont be able to uninstall it..
Code:

yum erase $packagename
will uninstall $packagename remove, is just an alias for erase.

I just checked my FC15 box, and the current version of wireshark is 1.4.9, so the following wont get you 1.6.2.
Code:

yum install wireshark
but it may fix (some of) the bugs in 1.3.2.

I think you SHOULD be able to download the latest source, and compile it, and it should overwrite the existing version..

shanky 10-22-2011 01:59 AM

but the latest version is 1.6.2 i think infact i did download that file and configuring it right now...probably it'll overwrite !! or else i am probably in trouble !!

shanky 10-22-2011 02:07 AM

fukawi1, by using yum erase it would not erase all the dependencies, would it ??

fukawi1 10-22-2011 02:12 AM

According to man, yes it would..
But I doubt it would remove any dependencies that are also linked to other packages. The manpage isn't exactally clear on that.

Quote:

remove or erase
Are used to remove the specified packages from the system as
well as removing any packages which depend on the package being
removed. remove operates on groups, files, provides and
filelists just like the "install" command.(See Specifying pack‐
age names for more information)

Note that "yum" is included in the protected_packages configura‐
tion, by default. So you can't accidentally remove yum itself.

shanky 10-22-2011 02:26 AM

thanks a lot for your help !! :)

shanky 10-22-2011 02:50 AM

problem again..
what i did was i installed wireshark 1.6.2 and then thought would uninstall 1.3.2 (i know kind of dumb )..after wireshark 1.6.2 has been installed i did as you told me, i used

yum erase wireshark1.3.2

but all i get is

Loaded plugins: refresh-packagekit
Setting up Remove Process
No Match for argument: wireshark-1.3.2
No Packages marked for removal

i used yum remove wireshark1.3.2 ,but get the same thing..what do i do ??

fukawi1 10-22-2011 03:02 AM

If you didnt install wireshark 1.3.2 via yum, it wont be able to uninstall it.
Run wireshark and check the version, if it is 1.6.2, i would say it has overwritten the existing 1.3.2 version.

shanky 10-22-2011 03:15 AM

i installed 1.3.2 using a tarball..so it will not uninstall is it ??
how do i get to the wireshark1.6.2 to run in my system ??

shanky 10-22-2011 03:21 AM

i checked the version ..it shows me 1.3.2 ..now i stuck ..how do i get to run the newer version??

fukawi1 10-22-2011 03:56 AM

I just had a go at building 1.3.2 from source, but it barfed a bunch of errors while making.
But 1.6.2 compiled perfectly.
So i cant replicate the problem here in a VM

Sorry pal.

shanky 10-22-2011 04:06 AM

thats ok..thanks though :) will try it out and update the thread soon..

shanky 10-22-2011 04:20 AM

wireshark 1.3.2 and 1.6.2 in my system!!
 
hii
i wanted to study some pcap files for my project so installed the old version 1.3.2 (long story ..dont ask why ) but it needed a patch to understand the mesh packets ,so instead i thought i would install the latest version 1.6.2 ,in which most of the bugs have been fixed.
So i installed 1.6.2 thinking it would overwrite 1.3.2 but that didnt happen and when i open wireshark it still shows version 1.3.2 .I tried using yum erase wireshark1.3.2 and yum remove wireshark1.3.2 ,but both these do not work apparently because i didnt install them using yum,used tarball.
So now how do i remove the older version 1.3.2 and get the newer version 1.6.2 to run in my system.

Sorry about the long post ,didnt want to sound vague !!

Thanks


All times are GMT -5. The time now is 03:44 PM.