Siduction Forum

Siduction Forum => Software - Support => Topic started by: tomsiduction on 2024/07/25, 13:52:11

Title: Fehlermeldung beim Update
Post by: tomsiduction on 2024/07/25, 13:52:11
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
Title: Re: Fehlermeldung beim Update
Post by: edlin on 2024/07/25, 15:50:52
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



Title: Re: Fehlermeldung beim Update
Post by: tomsiduction on 2024/07/25, 15:56:55
Vielen Dank
Ja - habe ich getan: non-free-firmware hinzuzugefügt

Vielen Dank
Title: Re: Fehlermeldung beim Update
Post by: unklarer on 2024/07/25, 16:09:20
wegen der 'Übersicht', zeige bitte alles mit inxi -r
Title: Re: Fehlermeldung beim Update
Post by: tomsiduction on 2024/07/25, 16:26:02
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
Title: Re: Fehlermeldung beim Update
Post by: unklarer on 2024/07/25, 16:38:26
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.   ;)
Title: Re: Fehlermeldung beim Update
Post by: hendrikL on 2024/07/25, 17:53:30
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
Title: Re: Fehlermeldung beim Update
Post by: unklarer on 2024/07/25, 19:53:00
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 (https://testbuilds.siduction.org/) 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.
Title: Re: Fehlermeldung beim Update
Post by: hendrikL on 2024/07/26, 00:16:26
@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.
Title: Re: Fehlermeldung beim Update
Post by: unklarer on 2024/07/26, 10:08:55
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/ 
Title: Re: Fehlermeldung beim Update
Post by: tomsiduction on 2024/07/27, 15:43:11
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
Title: Re: Fehlermeldung beim Update
Post by: michaa7 on 2024/07/28, 17:35:54
schau mal in den anderen Threads. Es gab da ein problem mit zwei gpgv files die gelöscht werden müssen.
Title: Re: Fehlermeldung beim Update
Post by: tomsiduction on 2024/07/31, 14:56:55
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