Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot upgrade wireshark
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jimmij
n00b
n00b


Joined: 02 Dec 2008
Posts: 56

PostPosted: Tue Jul 31, 2012 2:50 pm    Post subject: Cannot upgrade wireshark Reply with quote

Code:
> emerge -uDNav world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-analyzer/wireshark-1.8.1 [1.6.8] USE="caps gtk ipv6 pcap python ssl zlib -adns -ares -doc -doc-pdf -gcrypt -geoip -kerberos -lua -portaudio -profile (-selinux) -smi (-threads%)" 23,561 kB
[blocks B      ] <net-analyzer/wireshark-1.8.0 ("<net-analyzer/wireshark-1.8.0" is blocking net-analyzer/wireshark-1.8.1)

Conflict: 1 block (1 unsatisfied)

Do I need to uninstall old wireshark and only then install the new one?
It's strange that the new version of package is blocked by the old one...
_________________
jimmij
Back to top
View user's profile Send private message
dataking
n00b
n00b


Joined: 20 Apr 2005
Posts: 51

PostPosted: Tue Jul 31, 2012 6:51 pm    Post subject: Re: Cannot upgrade wireshark Reply with quote

jimmij wrote:
Code:
> emerge -uDNav world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-analyzer/wireshark-1.8.1 [1.6.8] USE="caps gtk ipv6 pcap python ssl zlib -adns -ares -doc -doc-pdf -gcrypt -geoip -kerberos -lua -portaudio -profile (-selinux) -smi (-threads%)" 23,561 kB
[blocks B      ] <net-analyzer/wireshark-1.8.0 ("<net-analyzer/wireshark-1.8.0" is blocking net-analyzer/wireshark-1.8.1)

Conflict: 1 block (1 unsatisfied)

Do I need to uninstall old wireshark and only then install the new one?
It's strange that the new version of package is blocked by the old one...


Not sure why this scenario exists either, but uninstalling the old then installing the new should work fine.

Code:

emerge -Ca wireshark
emerge -uDNav wireshark

_________________
-= the D@7@k|n& =-
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1307

PostPosted: Tue Jul 31, 2012 7:25 pm    Post subject: Reply with quote

jimmij, dataking ...

This happens because "!!<net-analyzer/wireshark-1.8.0" is defined in DEPENDS ... 1.8.0 and bellow having a security vunerability. The reason probably being that wireshark has a plugin infrastructure and some of this may not be managed by the package manager, so the developer may be intending to revert to a pristine state.

best ... khay
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7678

PostPosted: Wed Aug 01, 2012 1:53 am    Post subject: Reply with quote

Historically, this blocker is present because the Wireshark build system searched directories in the wrong order. Without that block, the version you build would link to libraries provided by the version you had previously installed. Portage would then remove those libraries as it installed the new version, resulting in a broken new version. In short, this is a bug in the Wireshark build system and the blocker is there to protect you. I do not know if the Wireshark build system has been fixed in the interim. Blockers are sometimes left around after they are no longer necessary, if no one thinks to remove it. If you think this blocker is wrong, please test and file a bug if it can be removed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum