Public bug reported:

I've got this issue on a fresh (last week) Ubuntu-server 19.10 install,
with gnome-session installed on top.

>From history.log:

Start-Date: 2019-12-04  06:24:37
Commandline: /usr/bin/unattended-upgrade
Install: linux-image-5.3.0-24-generic:amd64 (5.3.0-24.26, automatic), 
linux-headers-5.3.0-24-generic:amd64 (5.3.0-24.26, automatic), 
linux-modules-extra-5.3.0-24-generic:amd64 (5.3.0-24.26, automatic), 
linux-headers-5.3.0-24:amd64 (5.3.0-24.26, automatic), 
linux-modules-5.3.0-24-generic:amd64 (5.3.0-24.26, automatic)
Upgrade: linux-headers-generic:amd64 (5.3.0.23.27, 5.3.0.24.28), 
linux-image-generic:amd64 (5.3.0.23.27, 5.3.0.24.28), linux-generic:amd64 
(5.3.0.23.27, 5.3.0.24.28)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2019-12-04  06:25:04 get this error

>From term.log:

Log started: 2019-12-04  06:24:37
Selecting previously unselected package linux-modules-5.3.0-24-generic.
(Reading database ... 162957 files and directories currently installed.)
Preparing to unpack .../0-linux-modules-5.3.0-24-generic_5.3.0-24.26_amd64.deb 
...
Unpacking linux-modules-5.3.0-24-generic (5.3.0-24.26) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-Axvsef/0-linux-modules-5.3.0-24-generic_5.3.0-24.26_amd64.deb
 (--unpack):
 unable to create new file 
'/var/lib/dpkg/info/linux-modules-5.3.0-24-generic.list-new': Operation not 
permitted
dpkg (subprocess): unable to execute rm command for cleanup (rm): Operation not 
permitted
dpkg: error while cleaning up:
 rm command for cleanup subprocess returned error exit status 2
Selecting previously unselected package linux-image-5.3.0-24-generic.
Preparing to unpack .../1-linux-image-5.3.0-24-generic_5.3.0-24.26_amd64.deb ...
Unpacking linux-image-5.3.0-24-generic (5.3.0-24.26) ...
Selecting previously unselected package linux-modules-extra-5.3.0-24-generic.
Preparing to unpack 
.../2-linux-modules-extra-5.3.0-24-generic_5.3.0-24.26_amd64.deb ...
Unpacking linux-modules-extra-5.3.0-24-generic (5.3.0-24.26) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-Axvsef/2-linux-modules-extra-5.3.0-24-generic_5.3.0-24.26_amd64.deb
 (--unpack):
 unable to open 
'/lib/modules/5.3.0-24-generic/kernel/net/wireless/lib80211.ko.dpkg-new': 
Operation not permitted
Preparing to unpack .../3-linux-generic_5.3.0.24.28_amd64.deb ...
Unpacking linux-generic (5.3.0.24.28) over (5.3.0.23.27) ...
Preparing to unpack .../4-linux-image-generic_5.3.0.24.28_amd64.deb ...
Unpacking linux-image-generic (5.3.0.24.28) over (5.3.0.23.27) ...
Selecting previously unselected package linux-headers-5.3.0-24.
Preparing to unpack .../5-linux-headers-5.3.0-24_5.3.0-24.26_all.deb ...
Unpacking linux-headers-5.3.0-24 (5.3.0-24.26) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-Axvsef/5-linux-headers-5.3.0-24_5.3.0-24.26_all.deb 
(--unpack):
 unable to create new file 
'/var/lib/dpkg/info/linux-headers-5.3.0-24.list-new': Operation not permitted
Selecting previously unselected package linux-headers-5.3.0-24-generic.
Preparing to unpack .../6-linux-headers-5.3.0-24-generic_5.3.0-24.26_amd64.deb 
...
Unpacking linux-headers-5.3.0-24-generic (5.3.0-24.26) ...
Preparing to unpack .../7-linux-headers-generic_5.3.0.24.28_amd64.deb ...
Unpacking linux-headers-generic (5.3.0.24.28) over (5.3.0.23.27) ...
Errors were encountered while processing:
 
/tmp/apt-dpkg-install-Axvsef/0-linux-modules-5.3.0-24-generic_5.3.0-24.26_amd64.deb
 
/tmp/apt-dpkg-install-Axvsef/2-linux-modules-extra-5.3.0-24-generic_5.3.0-24.26_amd64.deb
 /tmp/apt-dpkg-install-Axvsef/5-linux-headers-5.3.0-24_5.3.0-24.26_all.deb
Log ended: 2019-12-04  06:25:04

Try to fix it, following apt instructions. From term.log:

Start-Date: 2019-12-04  23:32:41
Commandline: apt --fix-broken install
Requested-By: ### (1000)
Install: linux-modules-extra-5.3.0-24-generic:amd64 (5.3.0-24.26, automatic)
Upgrade: linux-headers-5.3.0-24:amd64 (5.3.0-24.26, 5.3.0-24.26), 
linux-modules-5.3.0-24-generic:amd64 (5.3.0-24.26, 5.3.0-24.26)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2019-12-04  23:33:01

>From history.log:

Log started: 2019-12-04  23:32:41
(Reading database ... 174863 files and directories currently installed.)
Preparing to unpack .../linux-modules-5.3.0-24-generic_5.3.0-24.26_amd64.deb ...
Unpacking linux-modules-5.3.0-24-generic (5.3.0-24.26) over (5.3.0-24.26) ...
Preparing to unpack 
.../linux-modules-extra-5.3.0-24-generic_5.3.0-24.26_amd64.deb ...
Unpacking linux-modules-extra-5.3.0-24-generic (5.3.0-24.26) ...
dpkg: error processing archive 
/var/cache/apt/archives/linux-modules-extra-5.3.0-24-generic_5.3.0-24.26_amd64.deb
 (--unpack):
 unable to open 
'/lib/modules/5.3.0-24-generic/kernel/sound/soc/codecs/snd-soc-rt5640.ko.dpkg-new':
 Operation not permitted
Preparing to unpack .../linux-headers-5.3.0-24_5.3.0-24.26_all.deb ...
Unpacking linux-headers-5.3.0-24 (5.3.0-24.26) over (5.3.0-24.26) ...
Errors were encountered while processing:
 
/var/cache/apt/archives/linux-modules-extra-5.3.0-24-generic_5.3.0-24.26_amd64.deb
Log ended: 2019-12-04  23:33:01

Fails. Tried apt clean, apt autoclean, to no avail. apt is now broken.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855259

Title:
  apt broken by unattended upgrade in Ubuntu 19.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1855259/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to