"linux-tools-lowlatency" package fails to update, tries to overwrite files from "linux-tools"

Bug #1970555 reported by arturo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
linux-lowlatency (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After updating to ubuntu 22.04 I'm getting an error on linux-tools-5.15.0-27-lowlatency trying to install /usr/lib/libcpupower.so.5.15.0-27 which is already installed by linux-tools-5.15.0-27.

The generic version of the package linux-tools-5.15.0-27-generic, doesn't have that file and installs without problem but the lowlatency version seems to erroneously pack that file which leads to a clash with linux-tools-5.15.0-27.

This happens when a low latency kernel is installed without trying to install anything else, just by updating the system.

The specific versions of the packages are:

linux-tools-5.15.0-27-lowlatency: 5.15.0-27.28
linux-tools-5.15.0-27: 5.15.0-27.28

The generic version which works without problem is the same:

linux-tools-5.15.0-27-generic: 5.15.0-27.28
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2018-12-10 (1235 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
MachineType: ASUS All Series
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux-lowlatency 5.15.0.27.28
PackageArchitecture: amd64
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-40-lowlatency root=UUID=fd387fc2-5401-463f-9307-9d07718ba12d ro "acpi_osi=!Windows 2013" acpi_osi=Linux nogpumanager quiet splash noveau.runpm=0
ProcVersionSignature: Ubuntu 5.13.0-40.45-lowlatency 5.13.19
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-40-lowlatency N/A
 linux-backports-modules-5.13.0-40-lowlatency N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
Tags: jammy
Uname: Linux 5.13.0-40-lowlatency x86_64
UpgradeStatus: Upgraded to jammy on 2022-04-26 (2 days ago)
UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/28/2019
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4001
dmi.board.asset.tag: Default string
dmi.board.name: X99-M WS/SE
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4001:bd05/28/2019:br5.11:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnX99-MWS/SE:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:sku:
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS

Paul White (paulw2u)
affects: ubuntu → linux (Ubuntu)
tags: added: jammy
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1970555

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
arturo (arturo-openframeworks) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
arturo (arturo-openframeworks) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : CRDA.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : CurrentDmesg.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : Dependencies.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : IwConfig.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : Lspci.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : Lspci-vt.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : Lsusb.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : Lsusb-t.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : Lsusb-v.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : PaInfo.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : ProcEnviron.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : ProcInterrupts.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : ProcModules.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : PulseList.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : RfKill.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : UdevDb.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : WifiSyslog.txt

apport information

Revision history for this message
arturo (arturo-openframeworks) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: linux-tools-5.15.0-27-lowlatency clashes with linux-tools-5.15.0-27

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-lowlatency (Ubuntu):
status: New → Confirmed
Revision history for this message
Piotr Henryk Dabrowski (phd) wrote :

I got this error today:

...
Preparing to unpack .../linux-tools-5.15.0-37_5.15.0-37.39_amd64.deb ...
Unpacking linux-tools-5.15.0-37 (5.15.0-37.39) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-5.15.0-37_5.15.0-37.39_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libcpupower.so.5.15.0-37', which is also in package linux-lowlatency-tools-5.15.0-37 5.15.0-37.39
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-tools-5.15.0-37_5.15.0-37.39_amd64.deb
libdvd-pkg: Package libdvdcss2-1.4.3-1 was removed, stop processing...
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Piotr Henryk Dabrowski (phd) wrote :

Quick workaround for the above:

$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/linux-tools-5.15.0-37_5.15.0-37.39_amd64.deb

$ sudo apt --fix-broken install

Revision history for this message
Piotr Henryk Dabrowski (phd) wrote :

After 6 months it is still happening with:
    linux-tools-5.15.0-50 5.15.0-50.56 and
    linux-lowlatency-tools-5.15.0-50 5.15.0-50.56

This breaks very typical desktop installations (just linux-lowlatency kernel and its tools installed).
Unexperienced users may not know how to fix this problem, rendering their system with not working apt, hence no installations or updates for them.

There is even no "Conflicts" relationship between those packages, which could prevent this buggy behavior.
But in fact both of those packages should be installable.

summary: - linux-tools-5.15.0-27-lowlatency clashes with linux-tools-5.15.0-27
+ "linux-tools-lowlatency" package fails to update, tries to overwrite
+ files from "linux-tools"
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.