[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119668: apt wants to install a lot of Recommends packages when doing full-upgrade



Control: tag -1 moreinfo

On Thu, Oct 30, 2025 at 09:36:22AM +0100, Daniel Kozar wrote:
> Package: apt
> Version: 3.1.11
> Severity: important
> X-Debbugs-Cc: dkk089@gmail.com
> 
> After upgrading to apt 3.1.11, "apt full-upgrade" wants to install a bunch of
> packages as dependencies. However, those packages appear to be Recommends of
> a certain package as adding --no-install-recommends to the commandline makes
> it behave normally.
> 
> The issue does not occur when using apt 3.1.9.
> 
> Here's a dump :
> 
> # apt full-upgrade 
> Installing dependencies:        
>   accountsservice               libhandy-1-0
>   anacron                       libharfbuzz-icu0
>   blueman                       libharfbuzz-subset0
>   bluez                         libhidapi-hidraw0
>   bluez-obexd                   libhyphen0
>   bubblewrap                    libical3t64
>   catdoc                        libieee1284-3t64
>   cinnamon                      libimobiledevice-1.0-6
>   cinnamon-common               libimobiledevice-glue-1.0-0
>   cinnamon-control-center       libjavascriptcoregtk-4.1-0
>   cinnamon-control-center-data  libjavascriptcoregtk-6.0-1
>   cinnamon-core                 libjim0.83
>   cinnamon-desktop-data         libjxl-gdk-pixbuf
>   cinnamon-l10n                 libkeybinder-3.0-0
>   cinnamon-screensaver          libmanette-0.2-0
>   cinnamon-session              libmbim-glib4
>   cinnamon-session-common       libmbim-proxy
>   cinnamon-settings-daemon      libmbim-utils
>   cjs                           libmm-glib0
>   colord                        libmozjs-128-0
>   colord-data                   libmsgraph-1-1
>   cracklib-runtime              libmspack0t64
>   cups-pk-helper                libmtp-common
>   desktop-base                  libmtp-runtime
>   docbook-xml                   libmtp9t64
>   evolution-data-server         libmuffin0t64
>   evolution-data-server-common  libnautilus-extension4
>   evolution-ews-core            libndp0
>   exif                          libnemo-extension1
>   file-roller                   libnl-route-3-200
>   fonts-dejavu                  libnm0
>   fonts-dejavu-extra            libnma-common
>   fonts-quicksand               libnma0
>   gcr                           libopenfec1
>   gcr4                          libpam-gnome-keyring
>   geocode-glib-common           libpcsclite1
>   gir1.2-accountsservice-1.0    libphonenumber8
>   gir1.2-camel-1.2              libpipewire-0.3-modules
>   gir1.2-caribou-1.0            libplist-2.0-4
>   gir1.2-cinnamondesktop-3.0    libplymouth5
>   gir1.2-cmenu-3.0              libpulsedsp
>   gir1.2-cvc-1.0                libpwquality-common
>   gir1.2-ecal-2.0               libpwquality1
>   gir1.2-edataserver-1.2        libqmi-glib5
>   gir1.2-gck-1                  libqmi-proxy
>   gir1.2-gcr-3                  libqmi-utils
>   gir1.2-gkbd-3.0               libqrtr-glib0
>   gir1.2-graphene-1.0           librest-1.0-0
>   gir1.2-gsound-1.0             libroc0.4
>   gir1.2-ical-3.0               libsane-common
>   gir1.2-json-1.0               libsane1
>   gir1.2-keybinder-3.0          libsimdutf27
>   gir1.2-meta-muffin-0.0        libsnmp-base
>   gir1.2-nemo-3.0               libsnmp40t64
>   gir1.2-nm-1.0                 libstemmer0d
>   gir1.2-nma-1.0                libteamdctl0
>   gir1.2-notify-0.7             libtimezonemap-data
>   gir1.2-polkit-1.0             libtimezonemap1
>   gir1.2-timezonemap-1.0        libupower-glib3
>   gir1.2-upowerglib-1.0         libusbmuxd-2.0-7
>   gir1.2-xapp-1.0               libvte-2.91-0
>   gir1.2-xkl-1.0                libvte-2.91-common
>   gir1.2-xmlb-2.0               libwebkit2gtk-4.1-0
>   gkbd-capplet                  libwebkitgtk-6.0-4
>   gnome-backgrounds             libwireplumber-0.5-0
>   gnome-disk-utility            libwoff1
>   gnome-keyring                 libxapp-gtk3-module
>   gnome-keyring-pkcs11          libxapp1
>   gnome-online-accounts         libxcb-res0
>   gnome-online-accounts-gtk     libxdo3
>   gnome-terminal                libxklavier16
>   gnome-terminal-data           libxml++2.6-2v5
>   gstreamer1.0-libav            libxmlb2
>   gvfs-backends                 libyelp-1-0
>   gvfs-fuse                     mate-icon-theme
>   html2text                     metacity-common
>   hwdata                        mobile-broadband-provider-info
>   id3                           modemmanager
>   inxi                          muffin
>   ipp-usb                       muffin-common
>   iso-flags-png-320x240         nautilus-extension-gnome-terminal
>   libaccountsservice0           nemo
>   libadwaita-1-0                nemo-data
>   libappstream5                 nemo-fileroller
>   libavahi-glib1                network-manager
>   libbluetooth3                 network-manager-l10n
>   libcairo-script-interpreter2  nm-connection-editor
>   libcamel-1.2-64t64            p11-kit
>   libcanberra-gtk3-0            p11-kit-modules
>   libcanberra-gtk3-module       pinentry-gnome3
>   libcanberra-pulse             pipewire
>   libcanberra0                  pipewire-bin
>   libcaribou-common             pipewire-pulse
>   libcaribou0                   plymouth
>   libcinnamon-control-center1   plymouth-label
>   libcinnamon-desktop4t64       pnp.ids
>   libcinnamon-menu-3-0          ppp
>   libcjs0                       pulseaudio
>   libcolorhug2                  pulseaudio-module-bluetooth
>   libconfig++11                 pulseaudio-utils
>   libcrack2                     python-tinycss2-common
>   libcvc0t64                    python3-dbus
>   libdbusmenu-glib4             python3-pampy
>   libdbusmenu-gtk3-4            python3-pexpect
>   libebackend-1.2-11t64         python3-ptyprocess
>   libebook-1.2-21t64            python3-pytz
>   libebook-contacts-1.2-4t64    python3-setproctitle
>   libecal-2.0-3                 python3-tinycss2
>   libedata-book-1.2-27t64       python3-tz
>   libedata-cal-2.0-2t64         python3-xapp
>   libedataserver-1.2-27t64      python3-xlib
>   libedataserverui-1.2-4t64     python3-xlrd
>   libexempi8                    rtkit
>   libffado2                     sane-airscan
>   libfyaml0                     sane-utils
>   libgail-3-0t64                sgml-data
>   libgck-1-0                    sound-theme-freedesktop
>   libgcr-base-3-1               untex
>   libgcr-ui-3-1                 update-inetd
>   libgee-0.8-2                  upower
>   libgeocode-glib-2-0           usb-modeswitch
>   libglibmm-2.4-1t64            usb-modeswitch-data
>   libgnomekbd-common            usbmuxd
>   libgnomekbd8                  user-session-migration
>   libgoa-1.0-0b                 wireless-regdb
>   libgoa-1.0-common             wireplumber
>   libgoa-backend-1.0-2          wpasupplicant
>   libgphoto2-6t64               xapp-sn-watcher
>   libgphoto2-l10n               xapps-common
>   libgphoto2-port12t64          xdg-dbus-proxy
>   libgsf-1-114                  xdg-desktop-portal
>   libgsf-1-common               xdg-desktop-portal-gtk
>   libgsound0t64                 xdg-desktop-portal-xapp
>   libgtk-4-1                    xdg-terminal-exec
>   libgtk-4-bin                  yelp
>   libgtk-4-common               yelp-xsl
>   libgusb2                      zenity
>   libgweather-4-0t64            zenity-common
>   libgweather-4-common
> 
> Suggested packages:
>   gnome-control-center          libusbmuxd-tools
>   rsyslog                       pcscd
>   | system-log-daemon           hplip
>   tk                            snmp-mibs-downloader
>   | wish                        gstreamer1.0-alsa
>   cinnamon-desktop-environment  eog
>   cinnamon-doc                  evince
>   python3-opencv                | pdf-viewer
>   colord-sensor-argyll          totem
>   gnome                         | mp3-decoder
>   | kde-standard                libteam-utils
>   | xfce4                       pinentry-doc
>   | wmaker                      libspa-0.2-bluetooth
>   docbook                       plymouth-themes
>   docbook-defguide              pavumeter
>   docbook-dsssl                 pavucontrol
>   docbook-xsl                   paprefs
>   evolution                     python-dbus-doc
>   arj                           python-pexpect-doc
>   lha                           python-tinycss2-doc
>   lzop                          unpaper
>   ncompress                     perlsgml
>   rpm2cpio                      w3-recs
>   rzip                          opensp
>   squashfs-tools                comgt
>   unace                         wvdial
>   unalz                         libspa-0.2-libcamera
>   unar                          wireplumber-doc
>   zoo                           wpagui
>   wsdd                          libengine-pkcs11-openssl
>   libxml-dumper-perl            mate-xapp-status-applet
>   gphoto2                       xdg-desktop-portal-gnome
> 
> I have tried running apt with -oDebug::pkgAutoRemove=1 and followed the chain
> of the cinnamon package. It seems like the installation of this package is
> triggered as a dependency of the "cinnamon-session" package, which is triggered
> by "xinit" 's dependency on "x-session-manager" :

This isn't useful as it debugs the autoremover, not the solver.

You'll want to pass -o Debug::APT::Solver=3 (or 2,1).

Particularly have a look at the line

Install:<name>

for packages you don't want installed, it includes an implication
graph - or path through it - that lead to the package being installed.

To collect a solver dump please run

$ apt -o Dir::Log::Solver=$PWD/full-upgrade.edsp full-upgrade -s --solver internal

or similar. The --solver internal is needed at this point it seems,
I need to debug it - it's not relevant because the solver dump is
the input to the solver, not the output :)
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: