[Aptitude-devel] Bug#1056959: aptitude: can't upgrade wireshark to 4.2.0-1 without explicitly upgrading wireshark-common or removing wireshark-qt
Vincent Lefevre
vincent at vinc17.net
Mon Nov 27 10:09:56 GMT 2023
On 2023-11-27 10:43:01 +0100, Vincent Lefevre wrote:
> With the aptitude TUI or command line, it is not possible to upgrade
> wireshark to 4.2.0-1 without explicitly upgrading wireshark-common
> too or removing wireshark-qt. With both interfaces, the proposed
> default is to keep both wireshark and wireshark-qt at their current
> version, and for the alternative actions, aptitude never proposes to
> upgrade wireshark.
Oops, in the 3rd proposed solution, aptitude proposes
Upgrade the following packages:
1) wireshark-common [4.0.11-1 (now) -> 4.2.0-1 (testing, unstable)]
and wireshark will be upgraded (I initially go confused by
not seeing a line about wireshark, but that's implied due to
previous information).
Anyway, this should have been the first solution. And on another
machine (with similar config), this is the first solution:
# aptitude install wireshark
The following NEW packages will be installed:
libb2-1{a} libnghttp3-3{a} libqt6core5compat6{a} libqt6core6{a}
libqt6dbus6{a} libqt6gui6{a} libqt6multimedia6{a} libqt6network6{a}
libqt6opengl6{a} libqt6printsupport6{a} libqt6qml6{a} libqt6qmlmodels6{a}
libqt6quick6{a} libqt6waylandclient6{a} libqt6waylandcompositor6{a}
libqt6waylandeglclienthwintegration6{a}
libqt6waylandeglcompositorhwintegration6{a} libqt6widgets6{a}
libqt6wlshellintegration6{a} libts0{a} libwireshark17{a} libwiretap14{a}
libwsutil15{a} qt6-gtk-platformtheme{a} qt6-qpa-plugins{a}
qt6-translations-l10n{a} qt6-wayland{a}
The following packages will be REMOVED:
libwireshark16{u} libwiretap13{u} libwsutil14{u} wireshark-common{u}
wireshark-qt{a}
The following packages will be upgraded:
libwireshark-data wireshark{b} wireshark-doc
3 packages upgraded, 27 newly installed, 5 to remove and 101 not upgraded.
Need to get 52.1 MB of archives. After unpacking 75.5 MB will be used.
The following packages have unmet dependencies:
wireshark : Depends: wireshark-common (= 4.2.0-1) but it is not going to be installed
The following actions will resolve these dependencies:
Upgrade the following packages:
1) wireshark-common [4.0.11-1 (now) -> 4.2.0-1 (unstable)]
This is better, but I don't see why aptitude doesn't want to upgrade
wireshark-common by default (like, e.g., wireshark-doc).
Note that this solution doesn't break any Recommends.
I've attached the compressed /var/lib/aptitude/pkgstates file for
of the first machine.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgstates.xz
Type: application/x-xz
Size: 689668 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20231127/eb824a1d/attachment-0001.xz>
More information about the Aptitude-devel
mailing list