Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:
cp: error reading '/sbin/e2fsck': Input/output error
dmesg shows:
[39600.144088] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 [39600.144097] ata3.00: BMDMA stat 0x24 [39600.144103] ata3.00: failed command: READ DMA [39600.144114] ata3.00: cmd c8/00:00:80:fe:b1/00:00:00:00:00/e1 tag 0 dma 131072 in res 51/40:00:75:ff:b1/00:00:00:00:00/e1 Emask 0x9 (media error) [39600.144120] ata3.00: status: { DRDY ERR } [39600.144124] ata3.00: error: { UNC } [39600.255501] ata3.00: configured for UDMA/133 [39600.255532] sd 2:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [39600.255541] sd 2:0:0:0: [sda] tag#0 Sense Key : Medium Error [current] [descriptor] [39600.255547] sd 2:0:0:0: [sda] tag#0 Add. Sense: Unrecovered read error - auto reallocate failed [39600.255554] sd 2:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 01 b1 fe 80 00 01 00 00 [39600.255560] blk_update_request: I/O error, dev sda, sector 28442485
So generating the initramfs fails because of your device /dev/sda having (hardware) problems. Feel free to continue to report any other bugs you may find.
Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:
cp: error reading '/sbin/e2fsck': Input/output error
dmesg shows:
[39600.144088] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 80:fe:b1/ 00:00:00: 00:00/e1 tag 0 dma 131072 in
res 51/40:00: 75:ff:b1/ 00:00:00: 00:00/e1 Emask 0x9 (media error) DRIVER_ SENSE
[39600.144097] ata3.00: BMDMA stat 0x24
[39600.144103] ata3.00: failed command: READ DMA
[39600.144114] ata3.00: cmd c8/00:00:
[39600.144120] ata3.00: status: { DRDY ERR }
[39600.144124] ata3.00: error: { UNC }
[39600.255501] ata3.00: configured for UDMA/133
[39600.255532] sd 2:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=
[39600.255541] sd 2:0:0:0: [sda] tag#0 Sense Key : Medium Error [current] [descriptor]
[39600.255547] sd 2:0:0:0: [sda] tag#0 Add. Sense: Unrecovered read error - auto reallocate failed
[39600.255554] sd 2:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 01 b1 fe 80 00 01 00 00
[39600.255560] blk_update_request: I/O error, dev sda, sector 28442485
So generating the initramfs fails because of your device /dev/sda having (hardware) problems. Feel free to continue to report any other bugs you may find.