package linux-image-4.10.0-22-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 128

Bug #1694590 reported by Bassem Gamea
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Description: Ubuntu 17.04
Release: 17.04
N: Unable to locate package pkgname
I got error message when I started Ubuntu and then software Centre to continue removing program that wasn't removed before I shut down, it also can't remove it now, it was the replace of chromium web browser , there are new version of it , when I found that it's not at Ubuntu software centre , also no update or upgrade by apt-get for it , so I downloaded it from google site and installed it, but to remove the old one after that it gave an error and don't able to remove it
The old version of Ubuntu software centre was better than this one for me.

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-22-generic (not installed)
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bassem 1637 F.... pulseaudio
Date: Wed May 31 06:00:05 2017
ErrorMessage: subprocess new pre-installation script returned error exit status 128
HibernationDevice: RESUME=UUID=b0fc9d2b-1da6-4661-9c12-a9938ce8de27
InstallationDate: Installed on 2017-05-01 (30 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: Dell Inc. Inspiron 5551
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-21-generic.efi.signed root=UUID=fa105b6f-dfdd-449f-aac1-a673bf9b6d57 ro quiet splash intel_idle.max_cstate=1 vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc N/A
SourcePackage: linux
Title: package linux-image-4.10.0-22-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 128
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/13/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 0WT4NH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A03
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd08/13/2015:svnDellInc.:pnInspiron5551:pvrA03:rvnDellInc.:rn0WT4NH:rvrA00:cvnDellInc.:ct8:cvrA03:
dmi.product.name: Inspiron 5551
dmi.product.version: A03
dmi.sys.vendor: Dell Inc.

Revision history for this message
Bassem Gamea (bassem-gamea) wrote :
Revision history for this message
Bassem Gamea (bassem-gamea) wrote :

I made
sudo apt --fix-broken install
then
sudo apt --fix-broken install
then
sudo apt-get upgrade

the error message disappeared before the upgrade complete , then i went to Ubuntu software centre and removed the old version of program and all done.
thank you.

Revision history for this message
Bassem Gamea (bassem-gamea) wrote :

sorry second step was
sudo apt autoremove

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
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

Then re-install the package or updates.

If that does not resolve your issue, please mark the bug as "Confirmed"

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.