Package: aptitude
Version: 0.8.13-5
Severity: normal

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.

Note that the wireshark package now has:

Replaces: wireshark-gtk (<< 3.0.0~), wireshark-qt
Breaks: wireshark-gtk (<< 3.0.0~), wireshark-qt

That's why wireshark-qt is no longer useful and could be safely
removed.

For instance, with the command line:

# aptitude install wireshark
The following NEW packages will be installed:
  libnghttp3-3{a} libopencore-amrnb0{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-wayland{a} 
The following packages will be REMOVED:
  wireshark-qt{a} 
The following packages will be upgraded:
  libwireshark-data wireshark{b} wireshark-doc 
3 packages upgraded, 24 newly installed, 1 to remove and 74 not upgraded.
Need to get 48.7 MB of archives. After unpacking 172 MB will be used.
The following packages have unmet dependencies:
 wireshark : Depends: wireshark-common (= 4.2.0-1) but 4.0.11-1 is installed 
and it is kept back
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     wireshark [4.0.11-1 (now)]                         
2)     wireshark-qt [4.0.11-1 (now, unstable)]            

Accept this solution? [Y/n/q/?]

BTW, concerning the unmet dependency

 wireshark : Depends: wireshark-common (= 4.2.0-1) but 4.0.11-1 is installed 
and it is kept back

why doesn't aptitude propose to upgrade wireshark-common?
That's the obvious solution!

Indeed, the following works:

# aptitude install wireshark wireshark-common
The following NEW packages will be installed:
  libnghttp3-3{a} libopencore-amrnb0{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-wayland{a} 
The following packages will be REMOVED:
  libwireshark16{u} libwiretap13{u} libwsutil14{u} wireshark-qt{a} 
The following packages will be upgraded:
  libwireshark-data wireshark wireshark-common wireshark-doc 
4 packages upgraded, 24 newly installed, 4 to remove and 73 not upgraded.
Need to get 49.4 MB of archives. After unpacking 57.3 MB will be used.
Do you want to continue? [Y/n/?] 

and so does

# aptitude install wireshark wireshark-qt-
The following NEW packages will be installed:
  libnghttp3-3{a} libopencore-amrnb0{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-wayland{a} 
The following packages will be REMOVED:
  libwireshark16{u} libwiretap13{u} libwsutil14{u} wireshark-qt 
The following packages will be upgraded:
  libwireshark-data wireshark wireshark-common wireshark-doc 
4 packages upgraded, 24 newly installed, 4 to remove and 73 not upgraded.
Need to get 49.4 MB of archives. After unpacking 57.3 MB will be used.
Do you want to continue? [Y/n/?] 

-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /bin/aptitude

aptitude version information:
aptitude 0.8.13
Compiler: g++ 12.1.0
Compiled against:
  apt version 6.0.0
  NCurses version 6.3
  libsigc++ version: 2.10.8
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.4.20231121
  cwidget version: 0.5.18
  Apt version: 6.0.0

aptitude linkage:
        linux-vdso.so.1 (0x00007ffdb77dd000)
        libgtk3-nocsd.so.0 => /lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 
(0x00007f8a75fd5000)
        libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 
(0x00007f8a75600000)
        libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 
(0x00007f8a75f9b000)
        libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 
(0x00007f8a75f66000)
        libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 
(0x00007f8a75f5d000)
        libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 
(0x00007f8a75e69000)
        libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 
(0x00007f8a75890000)
        libboost_iostreams.so.1.74.0 => 
/lib/x86_64-linux-gnu/libboost_iostreams.so.1.74.0 (0x00007f8a75e51000)
        libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 
(0x00007f8a75200000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007f8a75e4c000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007f8a74e00000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8a75521000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007f8a75e26000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8a74c1e000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8a75e21000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8a75871000)
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x00007f8a7585e000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f8a7582e000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f8a754fb000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f8a7543a000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f8a751ce000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 
(0x00007f8a750ed000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 
(0x00007f8a74ad7000)
        libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 
(0x00007f8a750da000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8a76004000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f8a75824000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f8a750ce000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 
(0x00007f8a750a5000)

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-5
ii  libapt-pkg6.0             2.7.7
ii  libboost-iostreams1.74.0  1.74.0+ds1-23
ii  libc6                     2.37-12
ii  libcwidget4               0.5.18-6
ii  libgcc-s1                 13.2.0-7
ii  libncursesw6              6.4+20231121-1
ii  libsigc++-2.0-0v5         2.12.1-1
ii  libsqlite3-0              3.44.2-1
ii  libstdc++6                13.2.0-7
ii  libtinfo6                 6.4+20231121-1
ii  libxapian30               1.4.22-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.1
ii  sensible-utils  0.0.20

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.53
ii  aptitude-doc-en [aptitude-doc]  0.8.13-5
pn  debtags                         <none>
ii  tasksel                         3.73

-- no debconf information

-- 
Vincent Lefèvre <vinc...@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)

Reply via email to