LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 10-22-2011, 01:36 AM   #1
shanky
Member
 
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
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
 
Old 10-22-2011, 01:44 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
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.
 
Old 10-22-2011, 01:49 AM   #3
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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??
 
Old 10-22-2011, 01:56 AM   #4
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
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..
 
Old 10-22-2011, 01:59 AM   #5
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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 !!
 
Old 10-22-2011, 02:07 AM   #6
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
fukawi1, by using yum erase it would not erase all the dependencies, would it ??
 
Old 10-22-2011, 02:12 AM   #7
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
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.
 
Old 10-22-2011, 02:26 AM   #8
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
thanks a lot for your help !!
 
Old 10-22-2011, 02:50 AM   #9
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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 ??
 
Old 10-22-2011, 03:02 AM   #10
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
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.
 
Old 10-22-2011, 03:15 AM   #11
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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 ??
 
Old 10-22-2011, 03:21 AM   #12
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
i checked the version ..it shows me 1.3.2 ..now i stuck ..how do i get to run the newer version??
 
Old 10-22-2011, 03:56 AM   #13
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
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.
 
Old 10-22-2011, 04:06 AM   #14
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
thats ok..thanks though will try it out and update the thread soon..
 
Old 10-22-2011, 04:20 AM   #15
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wireshark rpm installation thru yum on RHEL5 g.navink Linux - Software 3 11-25-2009 04:27 AM
wireshark installation in slackware 12.2 ruzvay Linux - Software 11 11-25-2009 03:51 AM
Wireshark Install Problems krimzen85 Linux - Software 5 08-20-2009 01:30 PM
Wireshark .deb file installation process - No internet krimzen85 Linux - Software 5 08-17-2009 11:18 AM
wireshark problems pr0n Linux - Networking 4 06-01-2009 05:20 PM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration