package linux-image-5.17.0-1020-oem 5.17.0-1020.21 failed to install/upgrade: installed linux-image-5.17.0-1020-oem package pre-removal script subprocess returned error exit status 1

Bug #1994153 reported by apostol
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-oem-5.17 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Dual screen mode does not work, although it works with the previous version, linux-image-5.15.0-52-generic.

1) Output of lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
2) Output of apt-cache policy linux-image-5.17.0-1020-oem
linux-image-5.17.0-1020-oem:
  Installed: 5.17.0-1020.21
  Candidate: 5.17.0-1020.21
  Version table:
 *** 5.17.0-1020.21 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
3) I expected dual screen mode to work and in Settings->Display two monitors to appear.
4) Dual screen mode does not work and in Settings->Display only one monitor appears, the built-in (Dell laptop) while the HDMI connected (LG) does not appear. They appear correctly when I boot kernel linux-image-5.15.0-52-generic (with nvidia driver). They also appear correctly when I boot kernel 5.17 with the nouveau (instead of the nvidia) driver.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-5.17.0-1020-oem 5.17.0-1020.21
ProcVersionSignature: Ubuntu 5.17.0-1020.21-oem 5.17.15
Uname: Linux 5.17.0-1020-oem x86_64
ApportVersion: 2.20.11-0ubuntu82.1
AptOrdering:
 linux-signatures-nvidia-5.17.0-1020-oem:amd64: Remove
 linux-modules-5.17.0-1020-oem:amd64: Remove
 linux-image-5.17.0-1020-oem:amd64: Remove
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Oct 25 17:56:22 2022
ErrorMessage: installed linux-image-5.17.0-1020-oem package pre-removal script subprocess returned error exit status 1
InstallationDate: Installed on 2020-07-14 (832 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: /usr/bin/python3.10, Python 3.10.6, unpackaged
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: linux-signed-oem-5.17
Title: package linux-image-5.17.0-1020-oem 5.17.0-1020.21 failed to install/upgrade: installed linux-image-5.17.0-1020-oem package pre-removal script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
apostol (faliagas) wrote :
Revision history for this message
apostol (faliagas) wrote :

It seems that this is an installation problem. I fixed it by installing the missing packages:
sudo apt install linux-headers-5.17.0-1020-oem
sudo apt install linux-modules-nvidia-515-5.17.0-1020-oem
This fixes the problem completely.

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.