[SOLVED] Debian Installation zur Zeit nicht möglich?

der_schorsch

Active Member
Oct 3, 2017
13
0
41
Hallo in die Runde, ich habe nun mehrfach versucht, auf eine sauberes Debian 12 (standard), Proxmox gemäß Anleitun gim WIki zu installieren. Das sind die Fehler die er dazu ausspuckt:

apt install proxmox-default-kernel

Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
proxmox-default-kernel ist schon die neueste Version (1.0.1).
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
proxmox-kernel-6.5 : Hängt ab von: pve-firmware soll aber nicht installiert werden
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).

apt --fix-broken install

dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/pve-firmware_3.9-2_all.deb (--unpack):
Versuch, »/lib/firmware/ath9k_htc/htc_7010-1.4.0.fw« zu überschreiben, welches auch in Paket fi
rmware-ath9k-htc 1.4.0-108-gd856466+dfsg1-1.3+deb12u1 ist
dpkg-deb: Fehler: »einfügen«-Unterprozess wurde durch Signal (Datenübergabe unterbrochen (broken pipe)) getötet
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/pve-firmware_3.9-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Auch ein apt install pv-firmware hilft nicht weiter.

Hat jemand eine Idee?


Für den Fall dass jemand fragt warum nicht Proxmox direkt installiert wird. Ziel ist es ein TrueNAS Scale laufen zu lassen anwelches die Platten durchgereicht werden, außer der Systemplatte. Diese ist Teil der mit LUKS verschlüsselten SSD für Debian / Proxmox. Soll vor physischem Diebstahl schützen, da ja ixSystem kein KMIP for the people gibt :-(
 
Last edited:
Besten Dank, das hat geholfen! Leider hören die Fehler nicht auf:

Damit geht es weiter:

pve-manager (8.1.10) wird eingerichtet ...
Could not execute systemctl: at /usr/bin/deb-systemd-invoke
line 145.
dpkg: Fehler beim Bearbeiten des Paketes pve-manager (--confi
gure):
»installiertes post-installation-Skript des Paketes pve-mana
ger«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von prox
mox-ve:
proxmox-ve hängt ab von pve-manager (>= 8.0.4); aber:
Paket pve-manager ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes proxmox-ve (--config
ure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
pve-manager
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)

Mit sudo dpkg --configure -a
kam ich leider auch nicht weiter. Der pve-manager kann nicht konfiguriert werden. Auch apt install -fbrachte mich leider nicht weiter.
 
"Could not execute systemctl"

klingt nach einem groeberen problem.. funktioniert "systemctl" haendisch in der shell?
 
  • Like
Reactions: der_schorsch
Hallo @fabian Danke für die Rückmeldung!
systemctl status, ist tatsächlich degraded. Ich bin etwas ratlos da ich es bare-metal auf einem Fujitsu Q556/2 installiere. Mehrfach vom neuesten Debian 12 standard (ertse Mal netinstall). Hab es nun in einer Hyper-V VM versucht, da kommt auch der ath9k-firmware Fehler. Wenn ich dann mit dpkg -r ath9k[...] und danach apt --fix-broken install mache, ist systemctl status auf 'running' Nach dem reboot, kommt dennoch der Fehler, und dann ist auch systemctl wieder broken.

Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
dpkg: Fehler beim Bearbeiten des Paketes pve-manager (--configure):
»installiertes post-installation-Skript des Paketes pve-manager«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proxmox-ve:
proxmox-ve hängt ab von pve-manager (>= 8.0.4); aber:
Paket pve-manager ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes proxmox-ve (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für mailcap (3.70+nmu1) werden verarbeitet ...
Trigger für fontconfig (2.14.1-4) werden verarbeitet ...
Trigger für initramfs-tools (0.142) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.5.13-3-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
Trigger für libglib2.0-0:amd64 (2.74.6-2) werden verarbeitet ...
Trigger für libc-bin (2.36-9+deb12u4) werden verarbeitet ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...
Trigger für proxmox-backup-file-restore (3.1.5-1) werden verarbeitet ...
Updating file-restore initramfs...
12717 Blöcke
Trigger für pve-ha-manager (4.0.3) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
pve-manager
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)


Während der Installation bin ich auch darüber gestolpert.

Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145

Das ist diese hier.
le
system('systemctl', '--quiet', @instance_args, $action, @start_units) == 0 or die("Could not execute systemctl: $!");

Habe auch versucht, das ath9k paket vorab zu deinstallieren. Dann läuft der erste Schritt zwar durch (apt update && apt full-upgrade), aber leider apt install proxmox-ve nicht...

Was mir noch aufgefallen ist, debian sagt am Anfang von apt update:

" Für das Depot »Debian bookworm« wurde der »firmware component«-Wert von »non-free« in »non-free-firmware« geändert."

... was aber nun systemctl zum abschmieren bringt kann ich leider nicht sagen.
 
@gustav I have tried mutliple fresh installs, bare-metal and in Hpyer-V, no success. Also found this reddit post, however removing the packe prior any other steps, and also installing proxmox widget toolkit didnt help.
 
I just did a fresh install on top of Debian 12.5, no issues.

Please try to find out, what is different on your side. Provide more details.
 
  • Like
Reactions: der_schorsch
First of all - thank you for giving it a go yourself - much appreciated.

Update: After fiddling around for some hours and also going through everthing - I also added the static ip / hostname - and this fixed it. So my apologies for that - I was really not aware of this - since I falsly assumed in a test environment I do not need to have a static IP / hostname resolution. So again sorry, and thank you for the support. Happy easter!


Interestingly enough, after the host name fixed the install problem, I got no luck accessing the web ui. Tried for hours, bare metal it worked directly... so for anywone wondering...

What have I done?

I downloaded latest Debian Installer fpr AMD64
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.5.0-amd64-netinst.iso

Put that on a ventoy disk, installed it on a reset Fujitsu Q556/2 G4560T / 8 GB RAM / 128 GB SSD (standard UEFI settings). In the first tries I activated LUKS encryption bu tleft the rest standard. Later on, I followed the standard recomendations. After couple of tries on the hardware I switched to Hyper-V, Gen2 VM, six cores, 48 GB disk, 8GB RAM, following the standard installation process, and discovering the exact same errors as bare metal.

After instralling I changed to "su - root" and followed the instructions from the wiki (with a prior update / upgrade)

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm

Starting with "Install Poxmox VE"

First step "echo "deb..." works fine
Second step "wget ... " works fine
Third step verirfication - works fine
Fourth step "apt update && apt full-upgrade" - doesnt work fine, throws an error regarding the mentioned firmware. I subsequent install attempts I have removed these packe with apt remove as well as dpkg -r (further attempts were either new install or restores of prior snapshots on Hyper-V (restoring the state after install and "apt update && apt upgrade".

After removing this fimrware, the "apt update && apt full-upgrade" worked fine.

Taking a snapshot, I then ran "apt install proxmox-default-kernel" and this throws the error output from above: https://forum.proxmox.com/threads/debian-installation-zur-zeit-nicht-möglich.144099/post-648441

This command seems to break systemctl. I have also redownlaoded the latest debian ISO file to make sure, no bit flip or likewise.

If I am missing any details please let me know.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!