Fehlermeldung beim Update

Started by tomsiduction, 2024/07/25, 13:52:11

Previous topic - Next topic

tomsiduction

Grüss Gott
Ich habe eine Fehlermeldung beim Update und ich weiss nicht wie ich den Fehler eliminieren kann:


Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 26, in <module>
    col.create(db)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 95, in create
    self._fill_commands(con)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 143, in _fill_commands
    self._parse_single_contents_file(con, f, fp.stdout)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 282, in _parse_single_contents_file
    priority = component_priorities[component]
               ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'non-free-firmware'
Paketlisten werden gelesen... Fertig
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code



Gibt es vielleicht einen Hinweis?


Vielen Dank

-----------------
code tag gefixed, hendrikL

edlin

Da ich nicht weiß, wie oft du dein System aktualisierst, zunächst die Frage, ob du in den Paketquellen auch ,,schon" non-free-firmware eingetragen hast (sofern du die benötigst/magst). Also zum Beispiel die Zeile deb      https://deb.debian.org/debian/ unstable main non-free-firmware

edlin



,,Ein kluger Mann macht nicht alle Fehler selber. Er lässt auch anderen eine Chance."

Winston Churchill

tomsiduction

Vielen Dank
Ja - habe ich getan: non-free-firmware hinzuzugefügt

Vielen Dank

unklarer

wegen der 'Übersicht', zeige bitte alles mit inxi -r

tomsiduction

Vielen Dank

Repos:
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ unstable main contrib non-free-firmware non-free
  Active apt repos in: /etc/apt/sources.list.d/extra.list
    1: deb https://packages.siduction.org/extra/ unstable main
  Active apt repos in: /etc/apt/sources.list.d/fixes.list
    1: deb https://packages.siduction.org/fixes/ unstable non-free-firmware non-free main contrib
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/heyarje-ubuntu-makemkv-beta-impish.list
  No active apt repos in: /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-groovy.list
  No active apt repos in: /etc/apt/sources.list.d/opera-stable.list
  No active apt repos in: /etc/apt/sources.list.d/ozmartian-ubuntu-apps-groovy.list
  No active apt repos in: /etc/apt/sources.list.d/shutter-ubuntu-ppa-groovy.list
  No active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
  No active apt repos in: /etc/apt/sources.list.d/skype-stable.list
  No active apt repos in: /etc/apt/sources.list.d/wire-desktop.list




Danke nochmals

unklarer

guck mal in den Nachbarfaden
https://forum.siduction.org/index.php?topic=9414.msg74906#msg74906

hast du danach den Fehler immer noch? Übrigens, die Frage von @edlin hast du nicht beantwortet, weil es sein könnte, den neuen solver zu benutzen.   ;)

hendrikL

So sollte es aussehen, alles andere ist Beiwerk!
Beachtet, wir liefern keine Firmware aus, dies bleibt debian vorbehalten, wir haben diese nur in den debian-list freigeschaltet, genauer gesagt eingetragen!

  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb https://deb.debian.org/debian/ unstable main contrib non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/extra.list
    1: deb https://packages.siduction.org/extra unstable main
  Active apt repos in: /etc/apt/sources.list.d/fixes.list
    1: deb https://packages.siduction.org/fixes unstable main

unklarer

Mir ist es bewußt, das siduction keine Firmware ausliefert.   ;D

Dennoch steht das in der Quellen.list meiner heutigen Installation des Test-Build-xfce so 'drin.   :)
inxi -r
Repos:
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/dbgsym.list
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb https://deb.debian.org/debian/ unstable main non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/extra.list
    1: deb https://packages.siduction.org/extra unstable main non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/fixes.list
    1: deb https://packages.siduction.org/fixes unstable main non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/npreining.list
    1: deb http://download.opensuse.org/repositories/home:/npreining:/debian-unison/Debian_Unstable ./


Nur unison habe ich vorhin eingefügt.

hendrikL

#8
@unklarer
Doch, wir liefern wohl bestimmte Firmware aus, habe gerade nachgeschaut, sorry, war mir nicht bewusst!
https://packages.siduction.org/fixes/dists/unstable-fixes/non-free-firmware/binary-amd64/Packages
Löst aber das Problem nicht!
OT. @unklarer, npreining noch in den sourcen?

Hier™ habe ich auch nach dem X-ten full-upgrade keine Fehler.

Fehlt etwas, Bibliothek/Programm?

@tomsiduction
Schon einmal als root 'updatedb -v' probiert?
Gibt es noch andere Fehlermeldungen, zB. IGN:<foo>, oder gpg Fehler, oder kann nicht finden, ... 403 usw.

Vieleicht mal die Ausgabe von 'apt update' zeigen, komplett.

unklarer

Quote from: hendrikL@unklarer
Doch, wir liefern wohl bestimmte Firmware aus, habe gerade nachgeschaut, sorry, war mir nicht bewusst!
https://packages.siduction.org/fixes/dists/unstable-fixes/non-free-firmware/binary-amd64/Packages
Löst aber das Problem nicht!
OT. @unklarer, npreining noch in den sourcen?

Danke! Das ausgesprochen Schöne an diesem Forum und dem siduction Team ist, es findet sich immer eine Lösung.   ;D

npreining findest du immer och bei opensuse:   https://download.opensuse.org/repositories/home:/npreining:/debian-unison/Debian_Unstable/ 

tomsiduction

#10
Vielen Dank

Ich habe nun die Quellen aktualisiert:

Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://download.opensuse.org/repositories/home:/npreining:/debian-unison/Debian_Unstable ./
  No active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ unstable non-free-firmware contrib main
  Active apt repos in: /etc/apt/sources.list.d/extra.list
    1: deb https://packages.siduction.org/extra/ unstable non-free-firmware main
  Active apt repos in: /etc/apt/sources.list.d/fixes.list
    1: deb https://packages.siduction.org/fixes/ unstable contrib main non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main



Und erhalte folgende Fehlermeldung:


Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 26, in <module>
    col.create(db)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 95, in create
    self._fill_commands(con)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 143, in _fill_commands
    self._parse_single_contents_file(con, f, fp.stdout)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 282, in _parse_single_contents_file
    priority = component_priorities[component]
               ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'non-free-firmware'
Paketlisten werden gelesen... Fertig
W: GPG-Fehler: http://download.opensuse.org/repositories/home:/npreining:/debian-unison/Debian_Unstable ./ InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY B8AC39B0876D807E
E: Das Depot »http://download.opensuse.org/repositories/home:/npreining:/debian-unison/Debian_Unstable ./ InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code



'updatedb -v' habe ich probiert

Vielen Dank

michaa7

schau mal in den anderen Threads. Es gab da ein problem mit zwei gpgv files die gelöscht werden müssen.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

tomsiduction

#12
Vielen Dank

Ich glaube ich das File gefunden:

Thanks                Purging both sq packages fixed for me.
I hope it's as easy to fix the reverse? depends in the archive.
/var/log/apt/term.log |  tail -n 11Log ended: 2024-06-21  00:10:41

Log started: 2024-06-28  14:03:07
(Reading database ... 134129 files and directories currently installed.)
Removing gpgv-from-sq (0.9.0-1) ...
Removing 'diversion of /usr/bin/gpgv to /usr/bin/gpgv-g10code by gpgv-from-sq'
Removing gpgv-sq (0.9.0-1) ...
Processing triggers for man-db (2.12.1-2) ...

Purging configuration files for gpgv-from-sq (0.9.0-1) ...
Log ended: 2024-06-28  14:03:26
regards,        Billy




Nur habe ich "sq" nicht installiert

ich habe es gefunden:
Das Paket:
"command-not-found" vollständig deinstallieren
und neu installieren

Vielen Dank