Cannot remove linux-image-extra when fonts-dejavu-core is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
run `sudo apt install linux-image-
run `sudo apt remove fonts-dejavu-core`
run `sudo apt remove linux-image-
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 17.04
Release: 17.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
Installed: 4.10.0-30.34
3) What you expected to happen
linux-image-
4) What happened instead
cp: cannot stat '/usr/share/
E: /usr/share/
update-initramfs: failed for /boot/initrd.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-
This is especially annoying because when you run `sudo apt install fonts-dejavu-core`, apt attempts to remove linux-image-
---
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: GNOME
DistroRelease: Ubuntu 17.04
InstallationDate: Installed on 2015-05-11 (863 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: Acer Aspire V3-572G
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: \boot\vmlinuz-
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.164.1
Tags: zesty
Uname: Linux 4.10.0-33-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/12/2014
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.24
dmi.board.
dmi.board.name: EA50_HB
dmi.board.vendor: Acer
dmi.board.version: V1.24
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.name: Aspire V3-572G
dmi.product.
dmi.sys.vendor: Acer
affects: | linux-meta (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
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 1718685
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.