jiangcuo / Proxmox-Port

Proxmox VE arm64 riscv64 loongarch64
GNU Affero General Public License v3.0
545 stars 27 forks source link

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

Closed sharicov closed 2 months ago

sharicov commented 2 months ago

Errors were encountered while processing: pve-manager proxmox-ve E: Sub-process /usr/bin/dpkg returned an error code (1)

HW Raspberry Pi 4 8GB RAM

Clean install Rapbian Debian Bookworm Lite 64 bit

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

uname -r

6.6.20+rpt-rpi-v8

apt update

Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://mirrors.apqa.cn/proxmox/debian/pve bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'port/binary-armhf/Packages' as repository 'https://mirrors.apqa.cn/proxmox/debian/pve bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)

FIXED by setting /etc/hosts correctly as stated in official wiki