[SOLVED] Installing Enterprice proxmox-ve on fresh installed debian Stretch

MarvAmBass

New Member
Mar 20, 2018
14
0
1
33
Hi there,

I did exactly this one week ago with another server, and it was working just fine.

I've installed a minimal debian stretch using bootstrap on an efi based server. The system works fine and all, but this time I want to install the latest proxmox I get the following strange error:

# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
proxmox-ve : Depends: pve-manager but it is not going to be installed
Depends: qemu-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


As repository I configured the following (maybe this is the problem - but on the other server it worked perfectly):

# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise


here a list with the installed packages

adduser apt apt-transport-https apt-utils base-files base-passwd bash bash-completion bridge-utils bsdmainutils bsdutils busybox bzip2 ca-certificates coreutils cpio cron curl daemon dash dbus debconf debconf-i18n debian-archive-keyring debianutils dh-python diffutils dirmngr distro-info-data dmeventd dmidecode dmsetup dpkg e2fslibs:amd64 e2fsprogs efibootmgr file findutils firmware-linux-free gcc-6-base:amd64 gettext-base gnupg gnupg-agent gpgv grep grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-pc grub2 grub2-common gzip hostname ifenslave ifupdown init init-system-helpers initramfs-tools initramfs-tools-core initscripts insserv iproute2 iptables iputils-ping irqbalance isc-dhcp-client isc-dhcp-common iso-codes klibc-utils kmod krb5-locales libacl1:amd64 libapparmor1:amd64 libapt-inst2.0:amd64 libapt-pkg5.0:amd64 libassuan0:amd64 libattr1:amd64 libaudit-common libaudit1:amd64 libblkid1:amd64 libbsd0:amd64 libbz2-1.0:amd64 libc-bin libc6:amd64 libcap-ng0:amd64 libcap2:amd64 libcomerr2:amd64 libcryptsetup4:amd64 libcurl3:amd64 libcurl3-gnutls:amd64 libdb5.3:amd64 libdbus-1-3:amd64 libdebconfclient0:amd64 libdevmapper-event1.02.1:amd64 libdevmapper1.02.1:amd64 libdns-export162 libedit2:amd64 libefiboot1:amd64 libefivar1:amd64 libelf1:amd64 libestr0 libexpat1:amd64 libfastjson4:amd64 libfdisk1:amd64 libffi6:amd64 libfreetype6:amd64 libfuse2:amd64 libgcc1:amd64 libgcrypt20:amd64 libgdbm3:amd64 libglib2.0-0:amd64 libglib2.0-data libgmp10:amd64 libgnutls30:amd64 libgpg-error0:amd64 libgssapi-krb5-2:amd64 libhogweed4:amd64 libicu57:amd64 libidn11:amd64 libidn2-0:amd64 libip4tc0:amd64 libip6tc0:amd64 libiptc0:amd64 libisc-export160 libk5crypto3:amd64 libkeyutils1:amd64 libklibc libkmod2:amd64 libkrb5-3:amd64 libkrb5support0:amd64 libksba8:amd64 libldap-2.4-2:amd64 libldap-common liblocale-gettext-perl liblogging-stdlog0:amd64 liblognorm5:amd64 liblvm2app2.2:amd64 liblvm2cmd2.02:amd64 liblz4-1:amd64 liblzma5:amd64 libmagic-mgc libmagic1:amd64 libmnl0:amd64 libmount1:amd64 libmpdec2:amd64 libncurses5:amd64 libncursesw5:amd64 libnetfilter-conntrack3:amd64 libnettle6:amd64 libnewt0.52:amd64 libnfnetlink0:amd64 libnghttp2-14:amd64 libnpth0:amd64 libnuma1:amd64 libopts25:amd64 libp11-kit0:amd64 libpam-modules:amd64 libpam-modules-bin libpam-runtime libpam-systemd:amd64 libpam0g:amd64 libpci3:amd64 libpcre3:amd64 libperl5.24:amd64 libpipeline1:amd64 libpng16-16:amd64 libpopt0:amd64 libprocps6:amd64 libpsl5:amd64 libpython-stdlib:amd64 libpython2.7-minimal:amd64 libpython2.7-stdlib:amd64 libpython3-stdlib:amd64 libpython3.5-minimal:amd64 libpython3.5-stdlib:amd64 libreadline5:amd64 libreadline7:amd64 librtmp1:amd64 libsasl2-2:amd64 libsasl2-modules:amd64 libsasl2-modules-db:amd64 libseccomp2:amd64 libselinux1:amd64 libsemanage-common libsemanage1:amd64 libsepol1:amd64 libslang2:amd64 libsmartcols1:amd64 libsqlite3-0:amd64 libss2:amd64 libssh2-1:amd64 libssl1.0.2:amd64 libssl1.1:amd64 libstdc++6:amd64 libsystemd0:amd64 libtasn1-6:amd64 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo5:amd64 libudev1:amd64 libunistring0:amd64 libustr-1.0-1:amd64 libuuid1:amd64 libwrap0:amd64 libx11-6:amd64 libx11-data libxapian30:amd64 libxau6:amd64 libxcb1:amd64 libxdmcp6:amd64 libxext6:amd64 libxml2:amd64 libxmuu1:amd64 libxtables12:amd64 linux-base linux-image-4.9.0-6-amd64 linux-image-amd64 login logrotate lsb-base lsb-release lvm2 mawk mime-support mount multiarch-support nano ncurses-base ncurses-bin ncurses-term net-tools netbase ntp openssh-client openssh-server openssh-sftp-server openssl passwd pciutils perl perl-base perl-modules-5.24 pinentry-curses postfix postfix-sqlite procps prometheus-node-exporter psmisc python python-apt python-apt-common python-minimal python2.7 python2.7-minimal python3 python3-minimal python3.5 python3.5-minimal readline-common rename rsyslog rsyslog-gnutls sed sensible-utils sgml-base shared-mime-info ssl-cert startpar sudo systemd systemd-sysv sysv-rc sysvinit-utils tar tasksel tasksel-data tcpd tripwire tzdata ucf udev util-linux vim-common vim-tiny vlan wget whiptail xauth xdg-user-dirs xml-core xxd xz-utils zlib1g:amd64


Does anyone have an Idea why it might not work? maybe a licence issue?

Thanks
 
Hi,

what you get as error message if you try to run this command?
Code:
apt install proxmox-ve
 
Hi Wolfgang,

I get the following

# apt install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
proxmox-ve : Depends: pve-manager but it is not going to be installed
Depends: qemu-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 
I did n dist-upgrade which works fine, and rebooted - the grub seems to be already used from the proxmox repository but with proxmox-ve I get the error
 
Try
Code:
apt install -f
 
thanks Wolfang,

but this gives me the same error. If you don't think it could be some licensing issue that my key is not able to download packages needed for stretch - I'll try to reinstall the whole thing and try again. maybe some stuff with my apt is broken...

I'll let you know it this was working then
 
No this error has nothing to do with the repositories.
Maybe you have installed a package what conflict with our packages?
Did you install extra firmware, libvirt, ...?

If you reinstall you have to reset your key in the shop.
The reset can take up to 15 min until the repositories are synced.
 
Yay I found the issue.

When you install a debian stretch using debootstrap only one entry in the /etc/apt/sources.list will be added.

Like:

# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian stretch main


I then added all the missing repositories from a normal debian netinstall installation and with the following /etc/apt/sources.list it works!

# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian stretch main
deb-src http://ftp.de.debian.org/debian stretch main

deb http://ftp.de.debian.org/debian-security stretch/updates main
deb-src http://ftp.de.debian.org/debian-security stretch/updates main

deb http://ftp.de.debian.org/debian stretch-updates main
deb-src http://ftp.de.debian.org/debian stretch-updates main



Thanks for the help!

After that I did a apt-get ugprade and a apt-get dist-upgrade and then I was able to install proxmox
 

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!