[Bug 2107681] Re: dpkg can not remove broken package
Benjamin Drung
2107681 at bugs.launchpad.net
Tue Apr 22 08:37:39 UTC 2025
Thank you for taking the time to report this bug and contributing to
Ubuntu. /var/lib/dpkg/info/ubuntu-realtime.postrm calls update-grub and
that failed in your case. Re-assigning to grub2.
** Package changed: dpkg (Ubuntu) => grub2 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2107681
Title:
dpkg can not remove broken package
Status in grub2 package in Ubuntu:
New
Bug description:
> sudo dpkg --purge ubuntu-realtime
(Reading database ... 165692 files and directories currently installed.)
Removing ubuntu-realtime (1.1.2) ...
Sourcing file `/etc/default/grub.d/99-realtime.cfg'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
/usr/sbin/grub-mkconfig: 279: cannot create /boot/grub/grub.cfg.new: Directory nonexistent
dpkg: error processing package ubuntu-realtime (--purge):
installed ubuntu-realtime package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
ubuntu-realtime
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: dpkg 1.22.18ubuntu2
ProcVersionSignature: Ubuntu 6.14.0-1005.5-raspi 6.14.0
Uname: Linux 6.14.0-1005-raspi aarch64
ApportVersion: 2.32.0-0ubuntu5
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: config-disk (/dev/mmcblk0p1)
Date: Fri Apr 18 22:58:15 2025
ImageMediaBuild: 20250415.1
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2107681/+subscriptions
More information about the foundations-bugs
mailing list