Error during apt dist-ugprade in ubuntu19.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I try to run the software updater GUI, and i get the following error:
The System Package is Broken:
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:
linux-image-
So then I run, apt update, followed by sudo apt dist-upgrade,
I get the following error:
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-
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So i run sudo apt --fix-broken install, then i get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-
The following NEW packages will be installed:
linux-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/38.2 MB of archives.
After this operation, 188 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 249098 files and directories currently installed.)
Preparing to unpack .../linux-
eb ...
Unpacking linux-modules-
dpkg: error processing archive /var/cache/
-22-generic_
unable to open '/lib/modules/
Operation not permitted
Segmentation fault
I dont know why im getting a segmentation fault, I have plenty of space and ram, i have around 60gb of space in the OS drive and 16gb of ram. i checked the processes only about half of my ram was in use.
I try apt --fix-broken install one more time, I get the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-
The following NEW packages will be installed:
linux-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/38.2 MB of archives.
After this operation, 188 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 249098 files and directories currently installed.)
Preparing to unpack .../linux-
Unpacking linux-modules-
dpkg: error processing archive /var/cache/
unable to open '/lib/modules/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: update-manager 1:19.04.8
ProcVersionSign
Uname: Linux 5.3.0-19-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 13 18:46:42 2019
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2019-06-10 (155 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
InterpreterPath: /usr/bin/python3.7
PackageArchitec
ProcEnviron:
LANG=en_SG.UTF-8
LANGUAGE=en_SG:en
PATH=(custom, user)
SHELL=/bin/bash
XDG_RUNTIME_
Python3Details: /usr/bin/python3.7, Python 3.7.5rc1, python3-minimal, 3.7.5-1
PythonDetails: /usr/bin/python2.7, Python 2.7.17rc1, python-minimal, 2.7.17-1
SourcePackage: update-manager
UpgradeStatus: Upgraded to eoan on 2019-11-05 (8 days ago)
summary: |
- Error during apt dist-ugprade + Error during apt dist-ugprade in ubuntu19.10 |
description: | updated |
Its likely that the file (/var/cache/ apt/archives/ linux-modules- extra-5. 3.0-22- generic_ 5.3.0-22. 24_amd64. deb) on disk is corrupt. Please run sudo apt-cache clean and then try --fix-broken again.