Updating error, apt and apt-utils on Kubuntu 22.04 kernel version 5.19.0-41

Bug #2018530 reported by feveal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Doing regular update fails apt and apt-utils packages:

¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 759723 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../archives/apt_2.4.9_amd64.deb ...
Desempaquetando apt (2.4.9) sobre (2.4.8) ...
dpkg: error al procesar el archivo /var/cache/apt/archives/apt_2.4.9_amd64.deb (--unpack):
 intentando sobreescribir `/etc/apt/trusted.gpg.d', que está también en el paquete ubuntu-oem-keyring 2021.03.26
dpkg-deb: error: el subproceso copiado fue terminado por la señal (Tubería rota)
Se encontraron errores al procesar:
 /var/cache/apt/archives/apt_2.4.9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

______________________________________________________________________

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.19.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

feveal (feveal)
affects: pulseaudio (Ubuntu) → apt (Ubuntu)
feveal (feveal)
description: updated
feveal (feveal)
description: updated
Revision history for this message
feveal (feveal) wrote :

does anyone know how to solve this?
i have done several package updates but these two apt and apt-utils keep giving the same error:

Revision history for this message
feveal (feveal) wrote :

I finally decided to try to fix it.
I have deleted the file 'trusted.gpg.d' which could not be overwritten and have already updated both packages. It seems to work.

Changed in apt (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.