Bug 498611

Summary: Fatal error during SDDM package installation: post-installation script returned error code 25
Product: [KDE Neon] neon Reporter: Женя Бородин <rimkamix0>
Component: generalAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: carlosd.kde, jr, neon-bugs, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Женя Бородин 2025-01-13 14:39:47 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Fatal error during SDDM package installation: post-installation script returned error code 25


STEPS TO REPRODUCE
Ensure SDDM is installed on the system.
Perform a system upgrade.
Observe the error during the SDDM package configuration.

OBSERVED RESULT
The SDDM package installation process fails with the following error:
dpkg: error processing package sddm (--configure):
 installed sddm package post-installation script subprocess returned error exit status 25
Errors were encountered while processing:
 sddm
E: Sub-process /usr/bin/dpkg returned an error code (1)

EXPECTED RESULT
The SDDM package should install and configure without any errors.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Xeon® CPU E3-1220 V2 @ 3.10GHz
Memory: 15.6 ГиБ of RAM
Graphics Processor: AMD Radeon RX 570 Series

ADDITIONAL INFORMATION
Further attempts to resolve the issue result in the following:

Removing SDDM with purge: The removal process fails with similar errors.
Reinstalling SDDM: Produces the error:
E: Internal Error, No file name for sddm:amd64
Comment 1 Женя Бородин 2025-01-13 15:07:02 UTC
I am unable to install the dragonplayer application due to an issue related to SDDM. When attempting to install this application, the system encounters a configuration problem with the SDDM package. The full error message is as follows:

sudo apt install dragonplayer
[sudo] password for terza:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following NEW packages will be installed:
  dragonplayer
0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
Need to get 0 B/1,945 kB of archives.
After this operation, 3,178 kB of additional disk space will be used.
Setting up package sddm (0.21.0+p24.04+vunstable+git20250113.1120-0) ...
Parsing template error near "# These templates have been reviewed by the debian-l10n-english" in line #1 of /var/lib/dpkg/info/sddm.templates
dpkg: error processing package sddm (--configure):
 subprocess installed post-installation script returned error exit status 25
Errors were encountered while processing:
 sddm
E: Sub-process /usr/bin/dpkg returned an error code (1)
This prevents me from proceeding with the installation of dragonplayer, while other packages can be installed without issues. The problem persists despite attempts to resolve it, blocking the installation of this specific application.
Comment 2 Женя Бородин 2025-01-13 17:52:19 UTC
Thanks for fixed the bug!