{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"amdgpu-dkms: Failing to uninstall because of uninstalled old kernel","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/973 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"973\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <div class=\"code\"><pre class=\"txt\">root@pixy:~# LC_ALL=C apt --fix-broken install\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nReading state information... Done\r\nThe following packages will be REMOVED:\r\n  amdgpu-dkms\r\n0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.\r\n1 not fully installed or removed.\r\nAfter this operation, 514 MB disk space will be freed.\r\nDo you want to continue? [Y\/n] \r\n(Reading database ... 463484 files and directories currently installed.)\r\nRemoving amdgpu-dkms (1:6.10.5.60303-2119913.22.04) ...\r\nupdate-initramfs: Generating \/boot\/initrd.img-6.1.0-32-amd64\r\ngrep: \/boot\/config-6.1.0-32-amd64: No such file or directory\r\nW: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip\r\ngrep: \/boot\/config-6.1.0-32-amd64: No such file or directory\r\nE: gzip compression (CONFIG_RD_GZIP) not supported by kernel\r\nupdate-initramfs: failed for \/boot\/initrd.img-6.1.0-32-amd64 with 1.\r\ndpkg: error processing package amdgpu-dkms (--remove):\r\n installed amdgpu-dkms package post-removal script subprocess returned error exit status 1\r\ndpkg: too many errors, stopping\r\nErrors were encountered while processing:\r\n amdgpu-dkms\r\nProcessing was halted because there were too many errors.\r\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)\r\n\r\n\r\nroot@pixy:~# apt purge linux-image-6.1.0-32-amd64\r\nPaketlisten werden gelesen\u2026 Fertig\r\nAbh\u00e4ngigkeitsbaum wird aufgebaut\u2026 Fertig\r\nStatusinformationen werden eingelesen\u2026 Fertig\r\nDie folgenden Pakete werden ENTFERNT:\r\n  amdgpu-dkms linux-image-6.1.0-32-amd64*\r\n0 aktualisiert, 0 neu installiert, 2 zu entfernen und 0 nicht aktualisiert.\r\n1 nicht vollst\u00e4ndig installiert oder entfernt.\r\nNach dieser Operation werden 514 MB Plattenplatz freigegeben.\r\nM\u00f6chten Sie fortfahren? [J\/n] \r\n(Lese Datenbank ... 463484 Dateien und Verzeichnisse sind derzeit installiert.)\r\nEntfernen von amdgpu-dkms (1:6.10.5.60303-2119913.22.04) ...\r\nupdate-initramfs: Generating \/boot\/initrd.img-6.1.0-32-amd64\r\ngrep: \/boot\/config-6.1.0-32-amd64: Datei oder Verzeichnis nicht gefunden\r\nW: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip\r\ngrep: \/boot\/config-6.1.0-32-amd64: Datei oder Verzeichnis nicht gefunden\r\nE: gzip compression (CONFIG_RD_GZIP) not supported by kernel\r\nupdate-initramfs: failed for \/boot\/initrd.img-6.1.0-32-amd64 with 1.\r\ndpkg: Fehler beim Bearbeiten des Paketes amdgpu-dkms (--remove):\r\n \u00bbinstalliertes post-removal-Skript des Paketes amdgpu-dkms\u00ab-Unterprozess gab den Fehlerwert 1 zur\u00fcck\r\ndpkg: Zu viele Fehler, Abbruch\r\nFehler traten auf beim Bearbeiten von:\r\n amdgpu-dkms\r\nBearbeitung wurde angehalten, da zu viele Fehler auftraten.\r\nW: Can not find PkgVer for &#039;linux-image-6.1.0-32-amd64&#039;\r\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)\r\n<\/pre><\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/973\/rev-raw\/e73bf6e0f71c9266a741a2887dc5a93cf7328bca\/0-problem.txt\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/973#0-problem.txt\">0-problem.txt<\/a>\n <\/div>\n<\/div>\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <div class=\"code\"><pre class=\"txt\">root@pixy:~# rm \/var\/tmp\/amdgpu-dkms-kernels\r\nroot@pixy:~# LC_ALL=C apt --fix-broken install\r\n<\/pre><\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/973\/rev-raw\/e73bf6e0f71c9266a741a2887dc5a93cf7328bca\/1-solution.txt\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/973#1-solution.txt\">1-solution.txt<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
