One more fails with installing Proxmox on Debian 11

Mattias Hedman

Well-Known Member
Jan 19, 2019
120
10
58
54
First up, yes I have read and followed the guide: https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye
Secondly I have checked that my /etc/hosts is correct, tested with hostname --ip-address and got the same ip-number.
I can dig my domain name to my internal DNS and do a reverse lookup.
Code:
127.0.0.1       localhost
10.1.1.100      pve2            pve2.domain.io    pvelocalhost

Code:
# hostname --ip-address
10.1.1.100

I do have the PVE kernel installed:
Code:
root@pve2:/home/admin# uname -r
5.15.53-1-pve

I have checked that the sources.list and it checks out and gives no errors the I do a apt update.

Still... when I try to
apt install proxmox-ve postfix open-iscsi

It fails:
Code:
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u4) ...
Processing triggers for rsyslog (8.2102.0-2+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.15.53-1-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.
Processing triggers for proxmox-backup-file-restore (2.2.5-1) ...
Updating file-restore initramfs...
11388 blocks
Errors were encountered while processing:
 postfix
 pve-manager
 proxmox-ve

E: Sub-process /usr/bin/dpkg returned an error code (1)

What shall do to fix this? I have read may posts fixed all the issues with network, packages and so forth still it fails. Please help!
 
How big is your system disk (size?)?
 
So after a few tries and reading the wiki again, the trick was to choose "No configuration" when I was prompted to choose what kind of mail service to use. The guide says Local only that did not work.
 
Got the same issue setting it up as "No configuration" or "Local only" does not work.
 
Solution - Network had to be set to static IP rather than DHCP

Code:
auto lo
iface lo inet loopback

iface enp38s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.0.53/24
        gateway 192.168.0.1
        bridge-ports enp38s0
        bridge-stp off
        bridge-fd 0
 

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!