Install pve-manager for developer on my Debian

shtutzim

New Member
May 3, 2020
1
0
1
44
hi,
I using PROXMOX v6.1.2 and I tried to install pve-manager on my host, I got two problems.
1. First I tried to install it and it ask for libpve-guest-common-perl (>= 3.0-7~), so I change it in the file pve-manager/debian/control to libpve-guest-common-perl (>= 3.0-5~)
2. Now I got this exception: (Can't locate PVE/LXC/CGroup.pm in @INC (you may need to install the PVE::LXC::CGroup module))

Code:
Can't locate PVE/LXC/CGroup.pm in @INC (you may need to install the PVE::LXC::CGroup module) (@INC contains: .. . /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ../PVE/Service/pvestatd.pm line 23.
BEGIN failed--compilation aborted at ../PVE/Service/pvestatd.pm line 23.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
make[3]: *** [/usr/share/pve-doc-generator/pve-doc-generator.mk:38: pvestatd.8-synopsis.adoc] Error 2
make[3]: *** Waiting for unfinished jobs....
mv vzdump.1-synopsis.adoc.tmp vzdump.1-synopsis.adoc
mv pveam.1-synopsis.adoc.tmp pveam.1-synopsis.adoc
mv pvenode.1-synopsis.adoc.tmp pvenode.1-synopsis.adoc
mv pvesh.1-synopsis.adoc.tmp pvesh.1-synopsis.adoc
Note: Writing pveperf.1
test -z "${PVE_DOC_INSTANTVIEW}" || man -l pveperf.1
mv pvedaemon.8-synopsis.adoc.tmp pvedaemon.8-synopsis.adoc
Note: Writing pvesubscription.1
mv pveproxy.8-synopsis.adoc.tmp pveproxy.8-synopsis.adoc
test -z "${PVE_DOC_INSTANTVIEW}" || man -l pvesubscription.1
Note: Writing spiceproxy.8
test -z "${PVE_DOC_INSTANTVIEW}" || man -l spiceproxy.8
Note: Writing pvesr.1
test -z "${PVE_DOC_INSTANTVIEW}" || man -l pvesr.1
Note: Writing pveceph.1
test -z "${PVE_DOC_INSTANTVIEW}" || man -l pveceph.1
make[3]: Leaving directory '/home/dude/Downloads/pve-manager-dev/pve-manager/dest/bin'
make[2]: *** [Makefile:20: all] Error 2
make[2]: Leaving directory '/home/dude/Downloads/pve-manager-dev/pve-manager/dest'
dh_auto_build: make -j32 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:17: build] Error 2
make[1]: Leaving directory '/home/dude/Downloads/pve-manager-dev/pve-manager/dest'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make: *** [Makefile:39: pve-manager_6.1-9_amd64.deb] Error 2

This is my /etc/apt/sources.list:
Code:
# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Official amd64 DVD Binary-1 20200208-12:08]/ buster contrib main

# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Official amd64 DVD Binary-1 20200208-12:08]/ buster contrib main

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib
deb-src http://deb.debian.org/debian/ buster-updates main contrib


# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

This is my /etc/apt/sources.list.d:
ceph.list
pve-install-repo.list

Thank you for your help
 

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!