package linux-image-4.15.0-23-generic 4.15.0-23.25 failed to install/upgrade: installed linux-image-4.15.0-23-generic package pre-removal script subprocess returned error exit status 1

Bug #1778610 reported by Christopher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

sudo apt-get remove linux-image-ex
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-ex

I'm trying to free up space in my hard drive and i got this error i was expecting to remove the selected image provided in the report and instead gotten this message
I am using 4.15.0-23-generic image
Description: Ubuntu 18.04 LTS
Release: 18.04

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-23-generic 4.15.0-23.25
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
NonfreeKernelModules: snd_hda_codec_hdmi edac_mce_amd snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec wmi_bmof snd_hda_core k10temp shpchp mac_hid nouveau mxm_wmi pata_acpi firewire_ohci r8169 firewire_core pata_atiixp i2c_piix4 wmi
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: gdm 1029 F.... pulseaudio
                      ghost 1451 F.... pulseaudio
 /dev/snd/controlC0: gdm 1029 F.... pulseaudio
                      ghost 1451 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Mon Jun 25 18:46:37 2018
ErrorMessage: installed linux-image-4.15.0-23-generic package pre-removal script subprocess returned error exit status 1
HibernationDevice: RESUME=UUID=ba74b561-39bb-4df6-900d-369614ad28a3
InstallationDate: Installed on 2018-06-24 (1 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
IwConfig:
 lo no wireless extensions.

 enp2s0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. GA-MA785GPMT-UD2H
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-23-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions: grub-pc 2.02-2ubuntu8
RfKill:

SourcePackage: linux
Title: package linux-image-4.15.0-23-generic 4.15.0-23.25 failed to install/upgrade: installed linux-image-4.15.0-23-generic package pre-removal script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-06-24 (1 days ago)
dmi.bios.date: 08/06/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F2
dmi.board.name: GA-MA785GPMT-UD2H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd08/06/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA785GPMT-UD2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA785GPMT-UD2H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA785GPMT-UD2H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Christopher (frioghost12) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

You may need to run the following from a terminal:

sudo apt-get install -f
sudo apt-get clean
sudo apt-get update

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Also, linux-image-ex is not a valid package name. You can see the kernels you have install with:

sudo dpkg -l | grep linux-image

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.