update error
i think i have a problem in linux-image-
when i use apt update or upgrade
/usr/sbin/
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
and also i cant change and refresh my repositories and i gave an odd error when refresh it
and also it is output of sudo dpkg --configure -a
Setting up linux-image-
^Cdpkg: error processing package linux-image-
installed linux-image-
Setting up grub-pc (2.04-1ubuntu26.9) ...
^Cdpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess was interrupted
Setting up linux-image-
^Cdpkg: error processing package linux-image-
installed linux-image-
Errors were encountered while processing:
linux-
grub-pc
linux-
and even in auto remove
Removing linux-image-
/etc/kernel/
update-initramfs: Deleting /boot/initrd.
/etc/kernel/
/usr/sbin/
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
someone help me
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2021-03-29
- Last reply:
- 2021-04-14
Manfred Hampl (m-hampl) said : | #1 |
For diagnostic purposes please provide the full output that you receive for the following commands:
uname -a
lsb_release -crid
sudo apt update
sudo dpkg --audit
sudo update-grub
Emad Bahrami (bashma) said : | #3 |
#### uname -a
Linux emad-All-Series 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
####lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
####sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
grub-pc GRand Unified Bootloader, version 2 (PC/BIOS version)
linux-
linux-
The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
linux-
####sudo update-grub
/usr/sbin/
Emad Bahrami (bashma) said : | #4 |
my problem is about last kernel version but no comment cannot delete it
dpkg: error processing package linux-image-
Manfred Hampl (m-hampl) said : | #5 |
What is the output of the commands
fdisk -l
zfs list
zpool list
Launchpad Janitor (janitor) said : | #6 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.