Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] (German terminal) DPKG error when trying to remove amdgpu-dkms

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
frankendeb
Posts: 2
Joined: 2024-03-29 01:11

[Solved] (German terminal) DPKG error when trying to remove amdgpu-dkms

#1 Post by frankendeb »

Hello,

I would like to remove amdgpu-dkms, which is normally uninstalled using amdgpu-install but I uninstalled that tool and now I can no longer install it, because it forces me to remove amdgpu-dkms first.

Sorry for the output being partially in German. I am using Debian 12.

Code: Select all

$ sudo apt purge amdgpu-dkms
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  amdgpu-dkms-firmware dkms
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  amdgpu-dkms
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 1 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 443 MB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] 
(Lese Datenbank ... 378824 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von amdgpu-dkms (1:6.2.4.50701-1664922.20.04) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-14-amd64
grep: /boot/config-6.1.0-14-amd64: Datei oder Verzeichnis nicht gefunden
W: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip
grep: /boot/config-6.1.0-14-amd64: Datei oder Verzeichnis nicht gefunden
E: gzip compression (CONFIG_RD_GZIP) not supported by kernel
update-initramfs: failed for /boot/initrd.img-6.1.0-14-amd64 with 1.
dpkg: Fehler beim Bearbeiten des Paketes amdgpu-dkms (--remove):
 »installiertes post-removal-Skript des Paketes amdgpu-dkms«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Zu viele Fehler, Abbruch
Fehler traten auf beim Bearbeiten von:
 amdgpu-dkms
Bearbeitung wurde angehalten, da zu viele Fehler auftraten.
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

$ uname -r
6.1.0-17-amd64
Thanks in advance.
Last edited by frankendeb on 2024-03-29 13:40, edited 1 time in total.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 688
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 62 times
Been thanked: 161 times

Re: [Software] (German terminal) DPKG error when trying to remove amdgpu-dkms

#2 Post by fabien »

Hello, welcome to the forum!
I hope your system is not a FrankenDebian @frankendeb :)
frankendeb wrote: 2024-03-29 01:22 Sorry for the output being partially in German.
You can force English output by prefixing your command with LANG="C.utf8", e.g.

Code: Select all

$> sudo LANG="C.utf8" apt purge amdgpu-dkms
That would help greatly, thanks.


Post Reply