Guten Tag Allerseits,
Ich hab das mithilfe dieser externen https://www.benorius.de/automatische-updates-mit-ubuntu-20-04/ Anleitung eingerichtet. am nächsten Tag da mir im Fehler aufgefallen sind.
Allerdings fiel mir am nächsten Tag im Log auf das es in Fehler endet und verstehe da nicht warum da ein ausführen von den sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt autoremove -y befehlen Manuell funktioniert. Anhand dieses Wiki Beitrages https://wiki.ubuntuusers.de/Aktualisierungen/Konfiguration/ von Ubuntuusers hab ich es kontrolliert für mich sieht die Konfig aber in Ordnung aus.
Einmal die Ausgabe des Logs:
jack@ubuntufirst:~$ zgrep -Ev 'DEBUG|INFO' /var/log/unattended-upgrades/unattended-upgrades.log*
/var/log/unattended-upgrades/unattended-upgrades.log:2025-07-12 12:27:02,579 ERROR Apt returned an error, exiting
/var/log/unattended-upgrades/unattended-upgrades.log:2025-07-12 12:27:02,579 ERROR error message: E:Clearsigned file '/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_noble-backports_InRelease' contains unsigned lines., E:The package lists or status file could not be parsed or opened.
/var/log/unattended-upgrades/unattended-upgrades.log.1.gz:2025-06-15 05:06:57,246 ERROR Apt returned an error, exiting
/var/log/unattended-upgrades/unattended-upgrades.log.1.gz:2025-06-15 05:06:57,246 ERROR error message: E:Clearsigned file '/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_noble-backports_InRelease' contains unsigned lines., E:The package lists or status file could not be parsed or opened.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-17 00:32:26,134 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-17 06:05:41,691 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-18 00:43:59,915 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-18 06:00:31,695 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-19 01:46:20,382 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-19 06:46:31,688 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-20 06:58:51,688 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-20 07:39:15,541 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-21 06:28:54,724 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-21 09:10:19,569 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-22 06:39:34,725 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-22 16:29:19,370 WARNING Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-22 16:29:19,821 ERROR Apt returned an error, exiting
/var/log/unattended-upgrades/unattended-upgrades.log.3.gz:2025-04-22 16:29:19,821 ERROR error message: E:Clearsigned file '/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_noble-updates_InRelease' contains unsigned lines., E:The package lists or status file could not be parsed or opened.
Einmal die Ausgabe der Manuellen Update ausführung.
jack@ubuntufirst:~$ sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt autoremove -y
[sudo] password for jack:
Holen:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
OK:2 http://de.archive.ubuntu.com/ubuntu noble InRelease
Holen:3 http://de.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Holen:4 http://de.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Holen:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21,6 kB]
Holen:6 http://de.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [163 kB]
Holen:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Holen:8 http://de.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Holen:9 http://de.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7.060 B]
Holen:10 http://de.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Es wurden 571 kB in 0 s geholt (1.279 kB/s).
Paketlisten werden gelesen… Fertig
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Einmal die Bereiche die ich bzgl. der 50unattended-Upgrades Datei angepasst habe.
// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
// Do automatic removal of newly unused dependencies after the upgrade
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
// Do automatic removal of unused packages after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";
// Automatically reboot *WITHOUT CONFIRMATION* if
// the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "true";
// Automatically reboot even if there are users currently logged in
// when Unattended-Upgrade::Automatic-Reboot is set to true
Unattended-Upgrade::Automatic-Reboot-WithUsers "false";
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
Unattended-Upgrade::Automatic-Reboot-Time "04:00";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
// Enable logging to syslog. Default is False
Unattended-Upgrade::SyslogEnable "true";
// Specify syslog facility. Default is daemon
Unattended-Upgrade::SyslogFacility "daemon";
Einmal die Bereiche die ich bzgl. der 20auto-updates Datei angepasst habe.
GNU nano 7.2 /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "3";
APT::Periodic::Unattended-Upgrade "1";
Leider ist mein Bildschirm nicht groß genung um die Komplette 50unattended-Upgrades datei zu markieren und wenn ich scrolle wird die Markierung aufgehoben.
Habt Ihr dazu eventuell vom Log her eine Idee ?.
Mir kommt es vor als wenn versucht wird aus den Debian Repository zu ziehen und / oder das nicht mit den Root User ausgeführt wird.
LG Jan
Moderiert von schwarzheit:
An bestehenden Thread angehängt. Bitte erstelle keine Doppelpostings.