NEWS
CPU Temp von NUC (proxmox) auslesen?
-
@saeft_2003 Distribution?
pi@raspberrypi:~ $ apt policy lm-sensors lm-sensors: Installiert: (keine) Installationskandidat: 1:3.5.0-3 Versionstabelle: 1:3.5.0-3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
root shell sollte auch vermieden werden.
-
Kann ich dir leider nicht sagen ich habe proxmox über ein Image installiert.
root@pve:~# apt policy lm-sensors N: Unable to locate package lm-sensors root@pve:~#
-
ergibt
installiert hatte ich per
apt-get install lm-sensors -
Genau das geht bei mir nicht. Les mal hier den letzten post.
https://forum.proxmox.com/threads/apt-get-install-unable-to-locate-package.26191/
Hast du einen subscription key?
-
@saeft_2003 sagte in CPU Temp von NUC (proxmox) auslesen?:
Hast du einen subscription key?
nein, aber in der sources.list , die non-free Einträge mit drin
kann leider nicht aus putty kopieren, daher sreenshot -
Das ist meine sources.list muss ich einfach dort alles unter non-free einfügen?
root@pve:~# cat /etc/apt/sources.list #deb http://ftp.de.debian.org/debian buster main contrib #deb http://ftp.de.debian.org/debian buster-updates main contrib # security updates #deb http://security.debian.org buster/updates main contrib deb http://ftp.de.debian.org/debian buster main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib root@pve:~#
-
@saeft_2003 probiers mal mit den letzten beiden Zeilen aus meine screen
-
Alles klar danke ich probiers mal so hab gleichzeitig etwas aufgeräumt...
deb http://ftp.de.debian.org/debian buster main contrib deb http://ftp.de.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib # non-free deb http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian buster-updates main contrib non-free
Und frohes Neues
-
-
Muss ich proxmox eigentlich neustarten, nach der Änderung?
-
@saeft_2003 nö, wenns nicht geht, trag die anderen auch noch ein, kannst ja wieder auskommentieren, bei Nichtverwendung
-
Geht leider nicht. Jetzt sieht der "Fehler" anders aus:
root@pve:~# apt-get install lm-sensors Reading package lists... Done Building dependency tree Reading state information... Done W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:19 E: Unable to locate package lm-sensors
Das ist die sources.list ich hatte alles nacheinander bei non-free mal auskomentiert. Allerdings habe ich den debian-security Teil (den hast du auf deinem Screenshot) nicht und finde den auch nicht im Netz.
deb http://ftp.de.debian.org/debian buster main contrib deb http://ftp.de.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib # non-free #deb http://deb.debian.org/debian buster-updates main contrib non-free #deb-src http://deb.debian.org/debian buster-updates main contrib non-free #deb http://deb.debian.org/debian buster main contrib non-free #deb-src http://deb.debian.org/debian buster main contrib non-free #deb http://security.debian.org/ buster/updates main contrib non-free #deb-src http://security.debian.org/ buster/updates main contrib non-free
-
@saeft_2003
Bei mir sieht die sources.list in proxmox 6.1-7 so aus und ich konnte gestern erfolgreich lm-sensors installierenroot@pve:~# cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian buster main contrib deb http://ftp.de.debian.org/debian buster-updates main contrib # security updates deb http://security.debian.org buster/updates main contrib
root@pve:~# apt policy lm-sensors lm-sensors: Installed: 1:3.5.0-3 Candidate: 1:3.5.0-3 Version table: *** 1:3.5.0-3 500 500 http://ftp.de.debian.org/debian buster/main amd64 Packages 100 /var/lib/dpkg/status
-
Ich kann auch kein apt-get update machen.
root@pve:~# apt-get update Err:1 https://enterprise.proxmox.com/debian/pve buster InRelease Temporary failure resolving 'enterprise.proxmox.com' Err:2 http://download.proxmox.com/debian/pve buster InRelease Temporary failure resolving 'download.proxmox.com' Err:3 http://ftp.de.debian.org/debian buster InRelease Temporary failure resolving 'ftp.de.debian.org' Err:4 http://security.debian.org buster/updates InRelease Temporary failure resolving 'security.debian.org' Reading package lists... Done W: Failed to fetch http://ftp.de.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.de.debian.org' W: Failed to fetch http://download.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com' W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org' W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'enterprise.proxmox.com' W: Some index files failed to download. They have been ignored, or old ones used instead. root@pve:~#
Danke für die Info
-
@saeft_2003 hier nochmal mein ganzer Eintrag
deb http://ftp.debian.org/debian buster main contrib deb http://ftp.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib #non-free deb http://deb.debian.org/debian buster main contrib non-free deb-src http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian buster-updates main contrib non-free
-
OK danke. Ich habe deine jetzt komplett kopiert geht aber auch nicht. Wie gesagt kann ich auch kein apt-get update machen, das sollte doch eigentlich gehen?!
root@pve:~# apt-get install lm-sensors Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lm-sensors root@pve:~# apt-get update Err:1 http://ftp.debian.org/debian buster InRelease Temporary failure resolving 'ftp.debian.org' Err:2 http://download.proxmox.com/debian/pve buster InRelease Temporary failure resolving 'download.proxmox.com' Err:3 http://ftp.debian.org/debian buster-updates InRelease Temporary failure resolving 'ftp.debian.org' Err:4 http://security.debian.org buster/updates InRelease Temporary failure resolving 'security.debian.org' Err:5 http://deb.debian.org/debian buster InRelease Temporary failure resolving 'deb.debian.org' Err:6 https://enterprise.proxmox.com/debian/pve buster InRelease Temporary failure resolving 'enterprise.proxmox.com' Err:7 http://deb.debian.org/debian-security buster/updates InRelease Temporary failure resolving 'deb.debian.org' Err:8 http://deb.debian.org/debian buster-updates InRelease Temporary failure resolving 'deb.debian.org' Reading package lists... Done W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease Temporar y failure resolving 'ftp.debian.org' W: Failed to fetch http://ftp.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.debian.org' W: Failed to fetch http://download.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com' W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Te mporary failure resolving 'security.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporar y failure resolving 'deb.debian.org' W: Failed to fetch http://deb.debian.org/debian-security/dists/buster/updates/In Release Temporary failure resolving 'deb.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org' W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRele ase Temporary failure resolving 'enterprise.proxmox.com' W: Some index files failed to download. They have been ignored, or old ones used instead. root@pve:~#
-
@saeft_2003 Sieht aus, als hättest Du keine Internet - Verbindung oder die DNS-Auflösung schlägt fehl. Teste mal mit Ping ob die Adressen erreichbar sind. Und auch mal mit google.de.
Hat Du vielleicht IPv6? Vielleicht parallel zu IPv4? Damit hat apt Probleme.
Goggle mal nach apt ipv6, da findest Du dann sofort die Lösung.Gruß, Jürgen
-
@saeft_2003 Komentiere mal alles aus bis auf
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
Wenn das Update klappt versuch das;
apt-get install lm-sensors
dann
sensors-detect
und
watch -n 1 sensors
Sollte dann so Aussehen
-
Weil du schreibst DNS ich nutze pihole könnte es damit was zu tun haben?
Ipv6 nutze ich nicht. Im log von proxmox steht immer paketdatenbank aktualisiert (oder so ähnlich) also sollte eigentlich eine Internetverbindung bestehen. Die ganzen VMs haben ja auch Internet.
-
Ok danke muss ich heute Abend probieren, ich melde mich dann...