ubuntuusers.de

Update Problem Ubunut 24.04 LTS

Status: Ungelöst | Ubuntu-Version: Ubuntu 24.04 (Noble Numbat)
Antworten |

Pampa_Party

Anmeldungsdatum:
31. Mai 2023

Beiträge: 18

Hi,

wenn ich versuche meine Server zu updaten erhalte ich folgendes:

apt-get update
Ign:1 https://download.docker.com/linux/ubuntu noble InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:1 https://download.docker.com/linux/ubuntu noble InRelease
Ign:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:1 https://download.docker.com/linux/ubuntu noble InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble InRelease
Err:3 http://security.ubuntu.com/ubuntu noble-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Err:1 https://download.docker.com/linux/ubuntu noble InRelease
  Temporary failure resolving 'download.docker.com'
Ign:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Err:2 http://archive.ubuntu.com/ubuntu noble InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/noble/InRelease  Temporary failure resolving 'download.docker.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Folgendes habe ich probiert: https://wiki.ubuntuusers.de/Paketverwaltung/Problembehebung/

sudo dpkg --configure -a 
sudo apt-get -f install 

systemd überprüfung

sudo systemctl status systemd-resolved
● systemd-resolved.service - Network Name Resolution
     Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-09-01 20:04:07 CEST; 9min ago
       Docs: man:systemd-resolved.service(8)
             man:org.freedesktop.resolve1(5)
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
   Main PID: 601 (systemd-resolve)
     Status: "Processing requests..."
      Tasks: 1 (limit: 19151)
     Memory: 7.9M (peak: 8.4M)
        CPU: 315ms
     CGroup: /system.slice/systemd-resolved.service
             └─601 /usr/lib/systemd/systemd-resolved

Er zeigt mir hier auch noch die IP von Pi-Hole an, obwohl ich den DNS Server auf meinen Router geändert habe.

wenn ich versuche den DNS Cache zu leeren erhalte ich:

sudo systemd-resolve --flush-caches
sudo: systemd-resolve: command not found

nameserver 127.0.0.53 ist in /etc/resolv.conf angegeben.

Ich habe einen PIhole mit unbound laufen, habe den aber vorübergehend abgeschaltet und nutze die DNS Server meines Internetproviders, um ein Problem mit pi-hole und unbound auszuschließen. Alle anderen Server in meinem Netzwerk lassen sich updaten (auch mit Pi-Hole und Unbound, nur der noble nicht. Weiß nicht wirklich wo ich noch ansetzen kann da ich zu wenig von der Materie verstehe. Ich hoffe ihr habt ein paar Hinweise für mich was ich noch ausprobieren kann. Gerade das ich den DNS cache nicht leeren kann obwohl systemd offenbar aktiviert ist verstehe ich nicht. Vielleicht liegt hier schon der Fehler, oder gibt es ein bekanntest Problem mit Ubuntu noble?

LG

Bearbeitet von [schwarzheit:

Forensyntax korrigiert.

Bearbeitet von [schwarzheit:

Bitte verwende in Zukunft Codeblöcke, um die Übersicht im Forum zu verbessern!

Moderiert von [schwarzheit:

Aus dem Spamfilter befreit.

dingsbums

Anmeldungsdatum:
13. November 2010

Beiträge: 3782

Pampa_Party

(Themenstarter)

Anmeldungsdatum:
31. Mai 2023

Beiträge: 18

dingsbums schrieb:

sudo: systemd-resolve: command not found

Auf die Schnelle gefunden: https://askubuntu.com/questions/1409726/systemd-resolve-command-not-found-in-ubuntu-22-04-desktop

Probier mal https://manpages.ubuntu.com/manpages/noble/en/man1/resolvectl.1.html

Schonmal Danke dafür. Wenn ich mit

1
resolvectl flush-caches

den DNS Cache leere erhalte ich mit

1
resolvectl status

immernoch die IP des Pihole. Und Updaten kann ich weiterhin nicht ☹

1
sudo resolvectl dns ... 

hat das problem erstmal gelöst...Danke schonmal soweit ☺

Antworten |