
Recibo este error
The following packages have unmet dependencies:
linux-image-oem-20.04b : Depends:
linux-image-5.10.0-1049-oem but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
He intentado casi todo y no me permite instalar, eliminar o actualizar nada. También intenté instalar manualmente el paquete linux-image pero me arroja este error ->
dpkg: error processing archive
linux-image-5.10.0-1049-oem_5.10.0-1049.51_amd64.deb (--install):
unable to open '/boot/vmlinuz-5.10.0-1049-oem.dpkg-new': Operation not
permitted Errors were encountered while processing:
linux-image-5.10.0-1049-oem_5.10.0-1049.51_amd64.deb
Intenté actualizar todo el sistema también pero me da este error.
Transaction failed: The package system is broken The following
packages have unmet dependencies: linux-image-oem-20.04b: Depends:
linux-image-5.10.0-1049-oem but it is not installed
Intenté instalar el kernel OEM usando el siguiente comando:
sudo apt install linux-image-5.10.0-1049-oem
y da este error:
Preparing to unpack .../linux-image-5.10.0-1049-oem_5.10.0-1049.51_amd64.deb ...
Unpacking linux-image-5.10.0-1049-oem (5.10.0-1049.51) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.10.0-1049-oem_5.10.0-1049.51_amd64.deb (--unpack):
unable to open '/boot/vmlinuz-5.10.0-1049-oem.dpkg-new': Operation not permitte
d
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-5.10.0-1049-oem_5.10.0-1049.51_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Respuesta1
El error se debe a una utilidad antivirus que no permite apt
acceder al /boot
directorio. Desactive cualquier servicio antivirus que esté utilizando.
Por ejemplo, si está utilizando MacCaffe, ejecute los siguientes comandos para solucionarlo (los comandos eliminarán la utilidad antivirus):
sudo dpkg --purge mfedx
sudo dpkg --purge mcafeetp
sudo dpkg --purge mcafeeespaac
sudo dpkg --purge mcafeeespfileaccess
Sudo dpkg --purge mcafeeesp
sudo dpkg --purge mcafeert
sudo dpkg --purge mfecma
sudo dpkg --purge mfert