Activity log for bug #2036302

Date Who What changed Old value New value Message
2023-09-16 09:21:02 Heinrich Schuchardt bug added bug
2023-09-16 09:22:50 Heinrich Schuchardt attachment added apt history https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2036302/+attachment/5701406/+files/history.log
2023-09-16 09:24:05 Heinrich Schuchardt attachment added Apt terminal log https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2036302/+attachment/5701407/+files/term.log
2023-09-16 09:35:26 Julian Andres Klode affects apt (Ubuntu) apparmor (Ubuntu)
2023-09-16 09:42:33 Heinrich Schuchardt description When running apt-get distupgrade I saw this message: Preparing to unpack .../apparmor_4.0.0~alpha2-0ubuntu3_amd64.deb ... Unpacking apparmor (4.0.0~alpha2-0ubuntu3) over (4.0.0~alpha2-0ubuntu2) ... dpkg: error processing archive /var/cache/apt/archives/apparmor_4.0.0~alpha2-0ubuntu3_amd64.deb (--unpack): trying to overwrite '/etc/apparmor.d/usr.bin.lxc-start', which is also in package liblxc-common 1:5.0.1-0ubuntu6 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-common_1%3a5.0.1-0ubuntu6_amd64.deb ... 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. ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: apt 2.7.3 ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0 Uname: Linux 6.5.0-5-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.27.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass 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) When running apt-get distupgrade I saw this message: Preparing to unpack .../apparmor_4.0.0~alpha2-0ubuntu3_amd64.deb ... Unpacking apparmor (4.0.0~alpha2-0ubuntu3) over (4.0.0~alpha2-0ubuntu2) ... dpkg: error processing archive /var/cache/apt/archives/apparmor_4.0.0~alpha2-0ubuntu3_amd64.deb (--unpack):  trying to overwrite '/etc/apparmor.d/usr.bin.lxc-start', which is also in package liblxc-common 1:5.0.1-0ubuntu6 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-common_1%3a5.0.1-0ubuntu6_amd64.deb ... 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.0~git2209-g5a7b9ce67-0ubuntu3, automatic) Start-Date: 2023-01-28 11:06:34 Commandline: apt-get dist-upgrade Requested-By: ubuntu (1000) Upgrade: liblxc-common:amd64 (1:5.0.0~git2209-g5a7b9ce67-0ubuntu3, 1:5.0.1-0ubuntu6) ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: apt 2.7.3 ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0 Uname: Linux 6.5.0-5-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.27.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass 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)
2023-09-16 13:20:24 Jeremy Bícha apparmor (Ubuntu): importance Undecided Critical
2023-09-16 13:21:15 Jeremy Bícha bug task added lxc (Ubuntu)
2023-09-16 13:21:19 Jeremy Bícha lxc (Ubuntu): importance Undecided Critical
2023-09-16 13:22:43 Jeremy Bícha summary Apt fails to upgrade when file ownership of packages changes apparmor 4.0.0~alpha2-0ubuntu3 ships same file as liblxc-common
2023-09-16 13:22:46 Jeremy Bícha lxc (Ubuntu): status New Triaged
2023-09-16 13:22:48 Jeremy Bícha apparmor (Ubuntu): status New Triaged
2023-09-16 13:23:06 Jeremy Bícha bug added subscriber Jeremy Bícha
2023-09-16 13:24:24 Jeremy Bícha apparmor (Ubuntu): assignee Alex Murray (alexmurray)
2023-09-16 19:28:20 Jeremy Bícha tags amd64 apport-bug foundations-todo mantic amd64 apport-bug foundations-todo mantic update-excuse
2023-09-18 01:37:19 Alex Murray apparmor (Ubuntu): status Triaged Fix Committed
2023-09-18 15:16:20 Jeremy Bícha lxc (Ubuntu): status Triaged Fix Released
2023-09-19 06:32:50 Launchpad Janitor apparmor (Ubuntu): status Fix Committed Fix Released
2024-03-07 13:17:18 Benjamin Drung tags amd64 apport-bug foundations-todo mantic update-excuse amd64 apport-bug mantic update-excuse