{"id":700,"date":"2021-12-28T23:38:32","date_gmt":"2021-12-28T22:38:32","guid":{"rendered":"https:\/\/marschner.goip.de\/?p=700"},"modified":"2021-12-28T23:41:40","modified_gmt":"2021-12-28T22:41:40","slug":"proxmox-update-ueber-commandline-funktioniert-nicht","status":"publish","type":"post","link":"https:\/\/marschner.goip.de\/index.php\/2021\/12\/28\/proxmox-update-ueber-commandline-funktioniert-nicht\/","title":{"rendered":"Proxmox Update \u00fcber Commandline funktioniert nicht"},"content":{"rendered":"\n<p>Leider schweigt sich das Online Manual von Proxmox zum \u201cnormalen\u201d Update \u00fcber die Kommandozeile etwas aus.<br>Tippt man ganz unbedarft ein \u201capt-get update\u201d ein, landet man bei folgender Ausgabe:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get update\nGet:1 http:\/\/security.debian.org buster\/updates InRelease &#91;65.4 kB]\nErr:2 https:\/\/enterprise.proxmox.com\/debian\/pve buster InRelease\n401 Unauthorized &#91;IP: 212.224.123.70 443]\nHit:3 http:\/\/ftp.de.debian.org\/debian buster InRelease\nGet:4 http:\/\/ftp.de.debian.org\/debian buster-updates InRelease &#91;51.9 kB]\nGet:5 http:\/\/security.debian.org buster\/updates\/main amd64 Packages &#91;270 kB]\nReading package lists\u2026 Done\nE: Failed to fetch https:\/\/enterprise.proxmox.com\/debian\/pve\/dists\/buster\/InRelease 401 Unauthorized &#91;IP: 212.224.123.70 443]\nE: The repository 'https:\/\/enterprise.proxmox.com\/debian\/pve buster InRelease' is not signed.\nN: Updating from such a repository can't be done securely, and is therefore disabled by default.\nN: See apt-secure(8) manpage for repository creation and user configuration details.<\/code><\/pre>\n\n\n\n<p>Ups, und das war\u2019s dann mit dem update?<br>Der Grund daf\u00fcr ist, dass auch in der Community Edition die Enterprise Quelle eingetragen ist.<br>Also kurz mal schnell die Quelle mit \u201cvi \/etc\/apt\/sources.list.d\/pve-enterprise.list\u201d editiert folgenderma\u00dfen ge\u00e4ndert:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vi \/etc\/apt\/sources.list.d\/pve-enterprise.list\n#deb https:\/\/enterprise.proxmox.com\/debian\/pve bullseye <strong>pve-enterprise<\/strong>\ndeb http:\/\/download.proxmox.com\/debian bullseye pve-no-subscription<\/code><\/pre>\n\n\n\n<p>Danach kann man ganz normal updaten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get update<br>apt-get upgrade<br>apt-get dist-upgrade<br>apt-get autoclean<\/code><\/pre>\n\n\n\n<p>Und das war\u2019s dann auch schon?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Leider schweigt sich das Online Manual von Proxmox zum \u201cnormalen\u201d Update \u00fcber die Kommandozeile etwas aus.Tippt man ganz unbedarft ein \u201capt-get update\u201d ein, landet man bei folgender Ausgabe: Ups, und das war\u2019s dann mit dem update?Der Grund daf\u00fcr ist, dass auch in der Community Edition die Enterprise Quelle eingetragen ist.Also kurz mal schnell die Quelle [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":698,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts\/700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/comments?post=700"}],"version-history":[{"count":3,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts\/700\/revisions"}],"predecessor-version":[{"id":704,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts\/700\/revisions\/704"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/media\/698"}],"wp:attachment":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/media?parent=700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/categories?post=700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/tags?post=700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}