package linux-headers-5.19.0-41-generic 5.19.0-41.42~22.04.1 failed to install/upgrade: unable to securely remove '/usr/src/linux-headers-5.19.0-41-generic/virt': Not a directory

Bug #2021986 reported by Julia Amadio
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-5.19 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu launch the Software Updater and I installed all the updates and this error occurred

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-headers-5.19.0-41-generic 5.19.0-41.42~22.04.1
ProcVersionSignature: Ubuntu 5.19.0-42.43~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed May 31 11:05:24 2023
DpkgTerminalLog:
 Removing linux-headers-5.19.0-41-generic (5.19.0-41.42~22.04.1) ...
 dpkg: error processing package linux-headers-5.19.0-41-generic (--remove):
  unable to securely remove '/usr/src/linux-headers-5.19.0-41-generic/virt': Not a directory
 dpkg: too many errors, stopping
DuplicateSignature:
 package:linux-headers-5.19.0-41-generic:5.19.0-41.42~22.04.1
 Removing linux-headers-5.19.0-41-generic (5.19.0-41.42~22.04.1) ...
 dpkg: error processing package linux-headers-5.19.0-41-generic (--remove):
  unable to securely remove '/usr/src/linux-headers-5.19.0-41-generic/virt': Not a directory
ErrorMessage: unable to securely remove '/usr/src/linux-headers-5.19.0-41-generic/virt': Not a directory
InstallationDate: Installed on 2023-05-11 (19 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.9
SourcePackage: linux-hwe-5.19
Title: package linux-headers-5.19.0-41-generic 5.19.0-41.42~22.04.1 failed to install/upgrade: unable to securely remove '/usr/src/linux-headers-5.19.0-41-generic/virt': Not a directory
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Julia Amadio (jkahvedjian) wrote :
tags: removed: need-duplicate-check
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.