Did you tweak /etc/default/grub by any chance?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1981907

Title:
  Errors were encountered while processing:  linux-
  image-5.13.0-44-generic

Status in linux-signed-hwe-5.13 package in Ubuntu:
  New

Bug description:
  $ sudo apt upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt --fix-broken install' to correct these.
  The following packages have unmet dependencies:
  E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
specify a solution).

  $ sudo apt --fix-broken install
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer 
required:
    linux-headers-5.13.0-51-generic linux-hwe-5.13-headers-5.13.0-51 
linux-image-5.13.0-51-generic linux-modules-5.13.0-51-generic
    linux-modules-extra-5.13.0-51-generic
  Use 'sudo apt autoremove' to remove them.
  The following additional packages will be installed:
    linux-image-unsigned-5.13.0-44-generic
  Suggested packages:
    fdutils linux-doc | linux-hwe-5.13-source-5.13.0 linux-hwe-5.13-tools 
linux-headers-5.13.0-44-generic
    linux-modules-extra-5.13.0-44-generic
  The following packages will be REMOVED:
    linux-image-5.13.0-44-generic
  The following NEW packages will be installed:
    linux-image-unsigned-5.13.0-44-generic
  0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
  3 not fully installed or removed.
  Need to get 0 B/10.1 MB of archives.
  After this operation, 283 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  dpkg: linux-image-5.13.0-44-generic: dependency problems, but removing anyway 
as you requested:
   linux-modules-5.13.0-44-generic depends on linux-image-5.13.0-44-generic | 
linux-image-unsigned-5.13.0-44-generic; however:
    Package linux-image-5.13.0-44-generic is to be removed.
    Package linux-image-unsigned-5.13.0-44-generic is not installed.

  (Reading database ... 238004 files and directories currently installed.)
  Removing linux-image-5.13.0-44-generic (5.13.0-44.49~20.04.1) ...
  /etc/kernel/postrm.d/initramfs-tools:
  update-initramfs: Deleting /boot/initrd.img-5.13.0-44-generic
  /etc/kernel/postrm.d/zz-update-grub:
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/init-select.cfg'
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-5.15.0-41-generic
  Found initrd image: /boot/initrd.img-5.15.0-41-generic
  Found linux image: /boot/vmlinuz-5.13.0-51-generic
  Found initrd image: /boot/initrd.img-5.13.0-51-generic
  Found linux image: /boot/vmlinuz-5.13.0-48-generic
  Found initrd image: /boot/initrd.img-5.13.0-48-generic
  Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for UEFI Firmware Settings
  error: $.
  error: syntax error.
  error: Incorrect command.
  error: syntax error.
  Syntax error at line 331
  Syntax errors are detected in generated GRUB config file.
  Ensure that there are no errors in /etc/default/grub
  and /etc/grub.d/* files or please file a bug report with
  /boot/grub/grub.cfg.new file attached.
  run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
  dpkg: error processing package linux-image-5.13.0-44-generic (--remove):
   installed linux-image-5.13.0-44-generic package post-removal script 
subprocess returned error exit status 1
  dpkg: too many errors, stopping
  Errors were encountered while processing:
   linux-image-5.13.0-44-generic
  Processing was halted because there were too many errors.
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.13.0-44-generic 5.13.0-44.49~20.04.1
  ProcVersionSignature: Ubuntu 5.13.0-48.54~20.04.1-generic 5.13.19
  Uname: Linux 5.13.0-48-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jul 17 00:20:03 2022
  InstallationDate: Installed on 2022-02-03 (162 days ago)
  InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
  SourcePackage: linux-signed-hwe-5.13
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.13/+bug/1981907/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to