Bug#1139149: apt: dist-upgrade keeps files back and no explanation given

Helge Kreutzmann <[email protected]> Thu, 18 Jun 2026 19:43:46 +0000
Newsgroups gmane.linux.debian.apt.devel
Message-ID <ajRKcrQ6tiC8OqQf__1092.97078322328$1781811932$gmane$org@meinfjell.helgefjelltest.de>
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_meinfjell-21761-1781811826-0001-2
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Julian,
Am Wed, Jun 17, 2026 at 12:44:33AM +0200 schrieb Julian Andres Klode:
> On Tue, Jun 16, 2026 at 05:56:17PM +0000, Helge Kreutzmann wrote:
> > Am Tue, Jun 16, 2026 at 07:02:10PM +0200 schrieb Julian Andres Klode:
> > > On Sat, Jun 06, 2026 at 02:30:15PM +0000, Helge Kreutzmann wrote:
> > > > root@twentytwo:~# LC_ALL=3DC apt update
> > > > Hit:1 http://127.0.0.1:9999/ftp.de.debian.org/debian forky InRelease
> > > > 92 packages can be upgraded. Run 'apt list --upgradable' to see the=
m.
> > > > root@twentytwo:~# LC_ALL=3DC apt upgrade
> > > > Not upgrading:
> > > >   cups-filters               libkf5kirigami2-5     libqt5multimedia=
quick5    libqt5quickwidgets5   libqt5waylandcompositor5  librust-block-buf=
fer-dev   poppler-utils                      qml-module-qtquick-templates2
> > > >   cups-filters-core-drivers  libkf5waylandclient5  libqt5multimedia=
widgets5  libqt5script5         libqt5webchannel5         librust-crypto-co=
mmon-dev  python3-pyqt5                      qml-module-qtquick-window2
> > > >   graphviz                   libkf5xmlgui5         libqt5network5t6=
4         libqt5sensors5        libqt5webengine-data      librust-digest-de=
v         qdbus-qt5                          qml-module-qtquick2
> > > >   inkscape                   libkpim6itinerary6    libqt5networkaut=
h5        libqt5serialport5     libqt5webengine5          librust-getrandom=
-dev      qml-module-org-kde-kirigami2       qml-module-qtwebengine
> > > >   kwayland-integration       libpoppler-glib8t64   libqt5positionin=
g5        libqt5sql5-mysql      libqt5webenginecore5      librust-rand-core=
-dev      qml-module-qtgraphicaleffects      qt5-gtk-platformtheme
> > > >   libcurl3t64-gnutls         libpoppler-qt5-1t64   libqt5printsuppo=
rt5t64    libqt5sql5-psql       libqt5webenginewidgets5   librust-sha2-dev =
          qml-module-qtmultimedia            qt5-image-formats-plugins
> > > >   libegl-mesa0               libpoppler-qt6-3t64   libqt5qml5      =
          libqt5sql5-sqlite     libqt5widgets5t64         libselinux1      =
          qml-module-qtqml                   qtspeech5-speechd-plugin
> > > >   libgbm1                    libqt5core5t64        libqt5qmlmodels5=
          libqt5sql5t64         libqt5x11extras5          libsemanage2     =
          qml-module-qtquick-controls        qtwayland5
> > > >   libgl1-mesa-dri            libqt5dbus5t64        libqt5qmlworkers=
cript5    libqt5svg5            libqt5xdgiconloader3      mesa-libgallium  =
          qml-module-qtquick-controls2
> > > >   libglx-mesa0               libqt5designer5       libqt5quick5    =
          libqt5test5t64        libqt5xml5t64             node-jest-debbund=
le        qml-module-qtquick-dialogs
> > > >   libkf5i18nlocaledata5      libqt5gui5t64         libqt5quickcontr=
ols2-5    libqt5texttospeech5   libqt5xmlpatterns5        pdf2djvu         =
          qml-module-qtquick-layouts
> > > >   libkf5iconthemes5          libqt5multimedia5     libqt5quicktempl=
ates2-5   libqt5waylandclient5  librust-blobby-dev        pdfgrep          =
          qml-module-qtquick-privatewidgets
> > > >=20
> > > > Summary:
> > > >   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 92
> > > > root@twentytwo:~# LC_ALL=3DC apt dist-upgrade
> > > > Not upgrading:
> > > >   cups-filters               libkf5kirigami2-5     libqt5multimedia=
quick5    libqt5quickwidgets5   libqt5waylandcompositor5  librust-block-buf=
fer-dev   poppler-utils                      qml-module-qtquick-templates2
> > > >   cups-filters-core-drivers  libkf5waylandclient5  libqt5multimedia=
widgets5  libqt5script5         libqt5webchannel5         librust-crypto-co=
mmon-dev  python3-pyqt5                      qml-module-qtquick-window2
> > > >   graphviz                   libkf5xmlgui5         libqt5network5t6=
4         libqt5sensors5        libqt5webengine-data      librust-digest-de=
v         qdbus-qt5                          qml-module-qtquick2
> > > >   inkscape                   libkpim6itinerary6    libqt5networkaut=
h5        libqt5serialport5     libqt5webengine5          librust-getrandom=
-dev      qml-module-org-kde-kirigami2       qml-module-qtwebengine
> > > >   kwayland-integration       libpoppler-glib8t64   libqt5positionin=
g5        libqt5sql5-mysql      libqt5webenginecore5      librust-rand-core=
-dev      qml-module-qtgraphicaleffects      qt5-gtk-platformtheme
> > > >   libcurl3t64-gnutls         libpoppler-qt5-1t64   libqt5printsuppo=
rt5t64    libqt5sql5-psql       libqt5webenginewidgets5   librust-sha2-dev =
          qml-module-qtmultimedia            qt5-image-formats-plugins
> > > >   libegl-mesa0               libpoppler-qt6-3t64   libqt5qml5      =
          libqt5sql5-sqlite     libqt5widgets5t64         libselinux1      =
          qml-module-qtqml                   qtspeech5-speechd-plugin
> > > >   libgbm1                    libqt5core5t64        libqt5qmlmodels5=
          libqt5sql5t64         libqt5x11extras5          libsemanage2     =
          qml-module-qtquick-controls        qtwayland5
> > > >   libgl1-mesa-dri            libqt5dbus5t64        libqt5qmlworkers=
cript5    libqt5svg5            libqt5xdgiconloader3      mesa-libgallium  =
          qml-module-qtquick-controls2
> > > >   libglx-mesa0               libqt5designer5       libqt5quick5    =
          libqt5test5t64        libqt5xml5t64             node-jest-debbund=
le        qml-module-qtquick-dialogs
> > > >   libkf5i18nlocaledata5      libqt5gui5t64         libqt5quickcontr=
ols2-5    libqt5texttospeech5   libqt5xmlpatterns5        pdf2djvu         =
          qml-module-qtquick-layouts
> > > >   libkf5iconthemes5          libqt5multimedia5     libqt5quicktempl=
ates2-5   libqt5waylandclient5  librust-blobby-dev        pdfgrep          =
          qml-module-qtquick-privatewidgets
> > > >=20
> > > > Summary:
> > > >   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 92
> > >=20
> > > You'll want to specify -o Debug::APT::Solver=3D3 (or 2, or 1) to see =
the
> > > reasoning as it goes along. In particular, you will easily find lines
> > > with Reject: or Install: for the specific versions, say:
> >=20
> > In the meantime I already installd cups-filters (just with "apt
> > install"), but most of the others are still there (and the set grows).
> >=20
> > Let's take graphviz as an example now. I performe the "dist-upgrade"
> > with the "Solver=3D3". The entire output is 11 M (if you want, I can
> > provide this), but then grepping for graphviz yields:
>=20
> If you can run an
>=20
> apt dist-upgrade -o Dir::Log::Solver=3D/path/to/some/file.zst --solver in=
ternal
>=20
> (not sure I fixed it to not require --solver internal)

This changes the action of apt, should I still continue?

root@twentytwo:~# LC_ALL=3DC apt dist-upgrade -o Dir::Log::Solver=3D/path/t=
o/some/file/hktrace.zst --solver internal
The following packages were automatically installed and are no longer requi=
red:
  gir1.2-cloudproviders-0.3.0  gir1.2-glib-2.0-dev  libgts-0.7-5t64  libhar=
fbuzz-cairo0  librust-cc-dev               librust-jobserver-dev  librust-s=
hlex-dev  libsepol-dev
  gir1.2-freedesktop-dev       gir1.2-gly-2         libgts-bin       liblcm=
s2-dev        librust-find-msvc-tools-dev  librust-sha2-asm-dev   libseccom=
p-dev     libsysprof-capture-4-dev
Use 'apt autoremove' to remove them.

Upgrading:
  graphviz               libqt5core5t64            libqt5qml5              =
 libqt5sql5-psql           libqt5webenginecore5       librust-getrandom-dev=
          qml-module-qtmultimedia            qt5-gtk-platformtheme
  kwayland-integration   libqt5dbus5t64            libqt5qmlmodels5        =
 libqt5sql5-sqlite         libqt5webenginewidgets5    librust-rand-core-dev=
          qml-module-qtqml                   qt5-image-formats-plugins
  libegl-mesa0           libqt5designer5           libqt5qmlworkerscript5  =
 libqt5sql5t64             libqt5widgets5t64          librust-sha2-dev     =
          qml-module-qtquick-controls        qtspeech5-speechd-plugin
  libgbm1                libqt5gui5t64             libqt5quick5            =
 libqt5svg5                libqt5x11extras5           libselinux1          =
          qml-module-qtquick-controls2       qtwayland5
  libgl1-mesa-dri        libqt5multimedia5         libqt5quickcontrols2-5  =
 libqt5test5t64            libqt5xdgiconloader3       libsemanage2         =
          qml-module-qtquick-dialogs
  libglx-mesa0           libqt5multimediaquick5    libqt5quicktemplates2-5 =
 libqt5texttospeech5       libqt5xml5t64              mesa-libgallium      =
          qml-module-qtquick-layouts
  libkf5i18nlocaledata5  libqt5multimediawidgets5  libqt5quickwidgets5     =
 libqt5waylandclient5      libqt5xmlpatterns5         node-jest-debbundle  =
          qml-module-qtquick-privatewidgets
  libkf5iconthemes5      libqt5network5t64         libqt5script5           =
 libqt5waylandcompositor5  librust-blobby-dev         python3-pyqt5        =
          qml-module-qtquick-templates2
  libkf5kirigami2-5      libqt5networkauth5        libqt5sensors5          =
 libqt5webchannel5         librust-block-buffer-dev   qdbus-qt5            =
          qml-module-qtquick-window2
  libkf5waylandclient5   libqt5positioning5        libqt5serialport5       =
 libqt5webengine-data      librust-crypto-common-dev  qml-module-org-kde-ki=
rigami2   qml-module-qtquick2
  libkf5xmlgui5          libqt5printsupport5t64    libqt5sql5-mysql        =
 libqt5webengine5          librust-digest-dev         qml-module-qtgraphica=
leffects  qml-module-qtwebengine

Installing dependencies:
  libgvc7                 librust-block-buffer-0.10-dev  librust-cmov-dev  =
             librust-digest-0.10-dev     librust-once-cell-dev         libr=
ust-rustversion-dev   librust-wasm-bindgen-macro-dev          librust-zeroc=
opy-dev
  libgvplugin-gd8         librust-bumpalo-dev            librust-critical-s=
ection-dev   librust-hybrid-array-dev    librust-parking-lot-core-dev  libr=
ust-smallvec-dev      librust-wasm-bindgen-macro-support-dev  libxdot4
  libgvplugin-pango8      librust-bytemuck-derive-dev    librust-crypto-com=
mon-0.1-dev  librust-js-sys-dev          librust-portable-atomic-dev   libr=
ust-void-dev          librust-wasm-bindgen-shared-dev         node-import-l=
ocal
  librust-blobby-0.3-dev  librust-bytemuck-dev           librust-ctutils-de=
v            librust-malloc-size-of-dev  librust-rand-core-0.6-dev     libr=
ust-wasm-bindgen-dev  librust-zerocopy-derive-dev

REMOVING:
  libatk-bridge2.0-dev  libbrasero-media3-dev  libgdk-pixbuf-2.0-dev  libgl=
ycin-2-dev      libgvc6          libnotify-dev    librust-rand-core+getrand=
om-dev  libselinux1-dev     qml-module-qtwebkit
  libatk1.0-dev         libcairo2-dev          libgio-2.0-dev         libgs=
treamer1.0-dev  libharfbuzz-dev  libpango1.0-dev  librust-rand-core+serde-d=
ev      mesa-va-drivers
  libatspi2.0-dev       libcloudproviders-dev  libglib2.0-dev         libgt=
k-3-dev         libmount-dev     libqt5webkit5    librust-rand-core+std-dev=
        mesa-vdpau-drivers

Summary:
  Upgrading: 81, Installing: 31, Removing: 25, Not Upgrading: 0
  Download size: 20.7 MB / 88.3 MB
  Freed space: 82.5 MB

Warning: Could not open file '/scr/mirror/hetzener/home/hktrace.zst' - EDSP=
::Resolve (2: No such file or directory)
Continue anyway? [y/N]

So with these parameters, it would actually perform the updates.

I pressed "N" for now, because I'm not sure this is what you need.
Removing the "solver internal part" goes back to doing nothing:
root@twentytwo:~# LC_ALL=3DC apt dist-upgrade -o Dir::Log::Solver=3D/path/t=
o/some/file/hktrace.zst
Not upgrading:
  graphviz               libqt5core5t64            libqt5qml5              =
 libqt5sql5-psql           libqt5webenginecore5       librust-getrandom-dev=
          qml-module-qtmultimedia            qt5-gtk-platformtheme
  kwayland-integration   libqt5dbus5t64            libqt5qmlmodels5        =
 libqt5sql5-sqlite         libqt5webenginewidgets5    librust-rand-core-dev=
          qml-module-qtqml                   qt5-image-formats-plugins
  libegl-mesa0           libqt5designer5           libqt5qmlworkerscript5  =
 libqt5sql5t64             libqt5widgets5t64          librust-sha2-dev     =
          qml-module-qtquick-controls        qtspeech5-speechd-plugin
  libgbm1                libqt5gui5t64             libqt5quick5            =
 libqt5svg5                libqt5x11extras5           libselinux1          =
          qml-module-qtquick-controls2       qtwayland5
  libgl1-mesa-dri        libqt5multimedia5         libqt5quickcontrols2-5  =
 libqt5test5t64            libqt5xdgiconloader3       libsemanage2         =
          qml-module-qtquick-dialogs
  libglx-mesa0           libqt5multimediaquick5    libqt5quicktemplates2-5 =
 libqt5texttospeech5       libqt5xml5t64              mesa-libgallium      =
          qml-module-qtquick-layouts
  libkf5i18nlocaledata5  libqt5multimediawidgets5  libqt5quickwidgets5     =
 libqt5waylandclient5      libqt5xmlpatterns5         node-jest-debbundle  =
          qml-module-qtquick-privatewidgets
  libkf5iconthemes5      libqt5network5t64         libqt5script5           =
 libqt5waylandcompositor5  librust-blobby-dev         python3-pyqt5        =
          qml-module-qtquick-templates2
  libkf5kirigami2-5      libqt5networkauth5        libqt5sensors5          =
 libqt5webchannel5         librust-block-buffer-dev   qdbus-qt5            =
          qml-module-qtquick-window2
  libkf5waylandclient5   libqt5positioning5        libqt5serialport5       =
 libqt5webengine-data      librust-crypto-common-dev  qml-module-org-kde-ki=
rigami2   qml-module-qtquick2
  libkf5xmlgui5          libqt5printsupport5t64    libqt5sql5-mysql        =
 libqt5webengine5          librust-digest-dev         qml-module-qtgraphica=
leffects  qml-module-qtwebengine

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 81


> That dumps the problem into a minimal reproducer, compressed with zstd,
> so I can have a look at it and (if ok) add it to my regression test cases:
>=20
> https://salsa.debian.org/apt-team/apt-tests
>=20
>=20
> >=20
> [...]
> > [1662] Reject:graphviz:amd64=3D14.1.2-1+b1 (libgvc6:amd64 -> libgvc6:am=
d64=3D2.42.4-3 -> not libgvplugin-gd8:amd64)
> > Propagate not libgvplugin-pango8:amd64 to graphviz:amd64=3D14.1.2-1+b1 =
->  | libgvplugin-pango8:amd64
> > Propagate not graphviz:amd64=3D14.1.2-1+b1 to graphviz:amd64 ->  | grap=
hviz:amd64=3D14.1.2-1+b1 | graphviz:amd64=3D2.42.4-3
> > [1662] Install:graphviz:amd64=3D2.42.4-3 (gimp:amd64 -> graphviz:amd64)
> >=20
> > However, I cannot really parse the =E2=80=9EReject=E2=80=9C line.
>=20
> Seems libgvc6 is manually installed, and=20
>=20
> libgvplugin-gd8 has a Breaks libgvc6 (<< 8.1.0-1~),
> meanwhile the last libgvc6 is 2.42.4-3 which is only
> available in stable.

I cannot rember installing a library manually, and I very seldom install so=
mething manually.

Greetings

          Helge
--=20
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

--=_meinfjell-21761-1781811826-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmo0Sm8ACgkQQbqlJmgq
5nB/mw/9HBi16Plu5unZE40BWUFppe9uPJqvMUpxKRF6d1xvuSXI8LZXNiPj6qov
jctvzr+CNyPC7UcWzQ+Lr8/BBG6I0bUwwD9LT14cHFyEIHDb3unckqSAavtVQbiq
fnov8Wwps8nvhAUBhLVqETTbLvMTrR7RJV/9OTJwqrzeZhafMnSBtjuXO+NoQ74z
3uEXD4qq3WUCSzhnSt5b5YA7LJqQEchXdUaX64dvcEG30XIWCCOSpaa+d0nNmF5a
JQkaxC4TVx4ylAUKmJfzDKv+vpqXcy77OrMyDVcwba46dfiZrKmAr+6F8oGrwuPk
yEAjhsEfK9mz/f1STtO7Nd1qSbnbTyfntDkccBslArHBJmxdNSmUnqCySXwn1Gpk
xfLaNKzsUnwcHe87kj9RsBrVlnrEvU2Y/DKXwKL3cVgftEEzzz/8vSeT8UoRYeHc
Nqq70zt5HWfR74CQCmQTiDbDTZgWWgQx0jQprXeaKdI0/h4ZjbcIktTcvs0IPGxY
znuPnTt+cISMT4zZVcqjk6oiu+Y/sTo0odo82mpqA6EG7yqJycNvyCjMwRRBT6pQ
brhTEWPbbI0RaI5HOEjs5M9FFoTTHUYJQteJYdPL4L9pmBYAm1t8NxxQPjgMYyGK
mOBu8oTsya7s7bKnNGwHT91UJgNKyCBpqomEl5gCbNNhTkcFYZs=
=KcVl
-----END PGP SIGNATURE-----

--=_meinfjell-21761-1781811826-0001-2--