#1123512 packagekit: Packagekit automated updates uninstalled critical xorg and console setup packages

Package:
packagekit
Source:
packagekit
Description:
Provides a package management service
Submitter:
Antoine Cellerier
Date:
2025-12-18 04:05:03 UTC
Severity:
normal
#1123512#5
Date:
2025-12-17 08:49:01 UTC
From:
To:
Dear Maintainer,


   * What led up to the situation?
   Automated unattended updates at OS shutdown time led to critical
   packages being removed. This effectively led to my system being
   in an unusable state.

   From /var/log/apt/history.log:

Start-Date: 2025-12-17  01:40:26
Commandline: packagekit role='update-packages'
Install: libgvplugin-gd8:amd64 (14.1.1-1, automatic), libgvc7:amd64 (14.1.1-1, automatic), libgvplugin-pango8:amd64 (14.1.1-1, automatic), libxdot4:amd64 (14.1.1-1, automatic)
Upgrade: xkb-data:amd64 (2.42-1, 2.46-1), graphviz:amd64 (2.42.4-3, 14.1.1-1)
Remove: xserver-xorg-video-nouveau:amd64 (1:1.0.18-1), xserver-xorg-input-evdev:amd64 (1:2.11.0-1), console-setup:amd64 (1.244), xserver-xorg-video-amdgpu:amd64 (25.0.0-1), xserver-xorg-core:amd64 (2:21.1.21-1), xserver-xorg-input-all:amd64 (1:7.7+26), xserver-xorg-video-intel:amd64 (2:2.99.917+git20210115-1), libgvc6:amd64 (2.42.4-3), xserver-xorg:amd64 (1:7.7+26), xserver-xorg-video-vesa:amd64 (1:2.6.0-2), console-setup-linux:amd64 (1.244), xserver-xorg-video-radeon:amd64 (1:22.0.0-1), xserver-xorg-input-synaptics:amd64 (1.9.2-1+b2), xserver-xorg-video-vmware:amd64 (1:13.4.0-2), task-desktop:amd64 (3.85), xserver-xorg-input-libinput:amd64 (1.5.0-1), xorg:amd64 (1:7.7+26), task-gnome-desktop:amd64 (3.85), xserver-xorg-input-wacom:amd64 (1.2.4-1), keyboard-configuration:amd64 (1.244), xserver-xorg-video-all:amd64 (1:7.7+26), xserver-xorg-video-ati:amd64 (1:22.0.0-1), xserver-xorg-video-fbdev:amd64 (1:0.5.0-2)
End-Date: 2025-12-17  01:40:45


   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     At this point I am unable to recover due to unmet dependencies.
     I guess I now need to wait for relevant packages to be updated
     before being able to manually recover.

   * What was the outcome of this action?
     My system is efectively unusable.

   * What outcome did you expect instead?
     Packegit should not have removed packages and instead should have
     deffered updates to whenever dependencies could be met.

#1123512#10
Date:
2025-12-17 12:23:43 UTC
From:
To:
This is https://bugs.debian.org/1122805

You can install xkb-data 2.42-1 and then run
sudo apt-mark hold xkb-data
to prevent that package from being updated. After the bug is fixed,
you should run
sudo apt-mark unhold xkb-data
to get updates for that package again.

Thank you,
Jeremy Bícha

#1123512#15
Date:
2025-12-17 19:45:31 UTC
From:
To:
Thank you, that did get my system back in a working state.

I don't think it addresses the root cause though. Unattended updates
removing user selected packages - or whatever default install time
packages are called - because some package is bad seems very wrong.

Is that something you can help look into as well? I'll admit ignorance
with all of this space but can gladly help provide more diagnostics
from my system if helpful.

Thank a lot,

Antoine