apparmor 4.0.0~alpha2-0ubuntu3 ships same file as liblxc-common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Critical
|
Alex Murray | ||
lxc (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When running apt-get distupgrade I saw this message:
Preparing to unpack .../apparmor_
Unpacking apparmor (4.0.0~
dpkg: error processing archive /var/cache/
trying to overwrite '/etc/apparmor.
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
The problem could be overcome with:
sudo apt-get install liblxc-common --reinstall
which resulted in output
Preparing to unpack .../liblxc-
Unpacking liblxc-common (1:5.0.1-0ubuntu6) over (1:5.0.1-0ubuntu6) ...
I have seen the same type of problem before with other packages.
I would have expected apt-get to correctly sequence all necessary actions on its own.
These are related events in my apt history:
Start-Date: 2022-10-30 05:33:09
Commandline: apt-get install lxc
Requested-By: ubuntu (1000)
Install:
liblxc-common:amd64 (1:5.0.
Start-Date: 2023-01-28 11:06:34
Commandline: apt-get dist-upgrade
Requested-By: ubuntu (1000)
Upgrade:
liblxc-common:amd64 (1:5.0.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: apt 2.7.3
ProcVersionSign
Uname: Linux 6.5.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Sat Sep 16 11:12:36 2023
InstallationDate: Installed on 2021-07-01 (807 days ago)
InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Critical |
Changed in lxc (Ubuntu): | |
importance: | Undecided → Critical |
summary: |
- Apt fails to upgrade when file ownership of packages changes + apparmor 4.0.0~alpha2-0ubuntu3 ships same file as liblxc-common |
Changed in lxc (Ubuntu): | |
status: | New → Triaged |
Changed in apparmor (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Alex Murray (alexmurray) |
tags: | added: update-excuse |
Changed in lxc (Ubuntu): | |
status: | Triaged → Fix Released |
tags: | removed: foundations-todo |
Packages need to declare the appropriate Replaces and Breaks (or Conflicts if no later version of the package previously shipping the file exists)