Siduction Forum

Siduction Forum => Software - Support => Topic started by: hone on 2024/10/11, 10:28:03

Title: "apt update" bringt Fehlermeldung
Post by: hone on 2024/10/11, 10:28:03
hallo,
beim Ausführen des 'apt update' erscheint folgende Meldung

root@siductionbox:~# apt update
OK:1 https://deb.debian.org/debian unstable InRelease
OK:2 https://packages.siduction.org/extra unstable InRelease
OK:3 https://packages.siduction.org/fixes unstable InRelease
WARNING:root:cannot read /var/lib/command-not-found/commands.db.metadata: Expecting value: line 1 column 1 (char 0)
E: LZ4F: /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_Contents-amd64.lz4 Unerwartetes Dateiende (end of file)
E: LZ4F: /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_Contents-amd64.lz4 Lesefehler (18446744073709551615: ERROR_GENERIC)
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 32, in <module>
    col.create(db)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 96, in create
    self._fill_commands(con)
  File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 145, in _fill_commands
    raise subprocess.CalledProcessError(returncode=sub.returncode,
subprocess.CalledProcessError: Command '/usr/lib/apt/apt-helper cat-file /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_Contents-amd64.lz4' returned non-zero exit status 100.
Error: 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'
Error: Sub-process returned an error code
root@siductionbox:~#


würde mich über Hilfestellungen freuen

der Desktop ist gnome-core installiert über die iso nox
Title: Re: "apt update" bringt Fehlermeldung
Post by: ro_sid on 2024/10/11, 11:06:35
Das sieht "harmlos" aus im Sinne von "läßt sich (hoffentlich leicht) beheben":
Zwei Ansätze:
Title: Re: "apt update" bringt Fehlermeldung
Post by: hone on 2024/10/11, 12:53:07
lieben Dank für die Antwort   :)

QuoteDer Fehler liegt im Repository - auch möglich, aber unwahrscheinlicher.

das Unwahrscheinliche trifft manchmal zu   ;D

root@siductionbox:~# apt update
OK:1 https://packages.siduction.org/extra unstable InRelease
OK:2 https://packages.siduction.org/fixes unstable InRelease
OK:3 https://ftp.uni-stuttgart.de/debian unstable InRelease
Aktualisierung für 42 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
root@siductionbox:~#



das verwundert mich insoweit, dass  parallel auf der Platte ein weiteres Siduction-BS installiert ist,
auch mit der Quelle  deb.debian.org, und dort kein Fehler auftritt  ???

EDIT:  nachdem jetzt wieder auf die ursprünglichen Einträge der sourceslist debian zurückgestellt wurde,
läuft auch hiermit alles problemlos ohne Fehlermeldung
Title: Re: "apt update" bringt Fehlermeldung
Post by: ro_sid on 2024/10/11, 16:16:04
Quotedas verwundert mich insoweit, dass  parallel auf der Platte ein weiteres Siduction-BS installiert ist,
auch mit der Quelle  deb.debian.org, und dort kein Fehler auftritt  ???
Einmal vermute ich, daß deb.debian.org eine "Sammeladresse" von mehreren Hosts ist. Auch kann es sein, daß beim "anderen Siduction" die entsprechende Datei schon vorhanden war und nicht (neu) heruntergeladen werden mußte.
[Oder es war "... and now for something completely different"  :).]
Title: Re: "apt update" bringt Fehlermeldung
Post by: vinzv on 2024/10/11, 21:03:56
Richtig vermutet, deb.debian.org ist ein CDN. Steht auch hier bisschen was dazu: https://deb.debian.org/