Removing Python modules causes the removal of Xorg

Bug #2040047 reported by Sergiu Bivol
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Opinion
Low
Unassigned

Bug Description

I tried to remove python3-keyring and was surprised to see that this would cause the removal of xorg and sddm.
The dependency chain is something like: python3-keyring <- python3-launchpadlib <- python3-apport <- xserver-xorg <- sddm.

It is completely unexpected and potentially embarrassing to end up with no graphical desktop after removing a random Python library.

python3-apport should not be a hard dependency of xserver-xorg.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xserver-xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-35.35~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-35-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: KDE
Date: Sat Oct 21 12:40:20 2023
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] VanGogh [1002:163f] (rev ae) (prog-if 00 [VGA controller])
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] VanGogh [1002:0123]
InstallationDate: Installed on 2023-10-15 (5 days ago)
InstallationMedia: Kubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.1)
MachineType: Valve Jupiter
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-35-generic root=UUID=84e67fd7-6fb5-4d82-9d36-7bb084af0af5 ro rootflags=subvol=@ mitigations=off zswap.enabled=1 zswap.compressor=lz4 zswap.zpool=z3fold zswap.max_pool_percent=30 amd_iommu=off amdgpu.gttsize=8128 spi_amd.speed_dev=1 audit=0 fbcon=vc:2-6 quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/12/2023
dmi.bios.release: 1.16
dmi.bios.vendor: Valve
dmi.bios.version: F7A0116
dmi.board.name: Jupiter
dmi.board.vendor: Valve
dmi.chassis.type: 8
dmi.chassis.vendor: Valve
dmi.chassis.version: 1
dmi.ec.firmware.release: 1.14
dmi.modalias: dmi:bvnValve:bvrF7A0116:bd05/12/2023:br1.16:efr1.14:svnValve:pnJupiter:pvr1:rvnValve:rnJupiter:rvr:cvnValve:ct8:cvr1:sku:
dmi.product.family: Aerith
dmi.product.name: Jupiter
dmi.product.version: 1
dmi.sys.vendor: Valve
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.0.4-0ubuntu1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Sergiu Bivol (sergiu-bivol) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1899971

Changed in xorg (Ubuntu):
importance: Undecided → Low
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.