Segmentation fault in "apt --fix-broken install"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Expected: New installation of 'wine'
Result: (See attached screenshot of the terminal.)
The installation failed with unmet dependencies, so I entered "sudo apt --fix-broken install" and in the course of this dpkg encountered a segmentation fault:
Unpacking linux-image-
dpkg: error processing archive /var/cache/
unable to create new file '/var/lib/
Segmentation fault
I have seen this before reported as a bug: 1742387
As I cannot attach more than one file (why this?) I'm inserting the full terminal content here:
sudo apt install wine-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
linux-
wine-stable : Depends: wine64 (>= 2.0.2-2ubuntu1) but it is not going to be installed or
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
11:20:56 [root@scotland] ~
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
linux-
The following NEW packages will be installed
linux-
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
6 not fully installed or removed.
Need to get 0 B/31.5 MB of archives.
After this operation, 163 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 383838 files and directories currently installed.)
Preparing to unpack .../linux-
Unpacking linux-image-
dpkg: error processing archive /var/cache/
unable to create new file '/var/lib/
Segmentation fault
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-generic 4.13.0.25.26
ProcVersionSign
Uname: Linux 4.13.0-21-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: GNOME
Date: Sun Jan 14 11:24:06 2018
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-04-28 (260 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: Gigabyte Technology Co., Ltd. EP45-DS4
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.169.1
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to artful on 2017-11-08 (66 days ago)
dmi.bios.date: 09/30/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9
dmi.board.name: EP45-DS4
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: EP45-DS4
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Attempting to remove the linux-generic package Synaptic Package Manager also reported "package is in a very bad inconsistent state" and failed.
Please see the attached terminal log