Restore proxmox-ve and pve-manager packages

Paulo H Pedroso

New Member
Jan 26, 2019
5
0
1
50
I've tried installing the debian vlan package and the installation process mistakenly unistalled the proxmox-ve and pve-managet packages. All virtual machines are running. Is there a way I can restore these packages using dpkg (by copying the needed .deb packages from the proxmox repository)?

Thank you in advance
 
> apt install proxmox-ve
 
Hello Tom,

I've purchased the license renewal and tried reinstalling the proxmox-ve package, but te system complains that the package is not available.

If I do apt-get update, I get the following error:

Err:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
401 Unauthorized
Ign:9 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en_US
Ign:10 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise Translation-en
Reading package lists... Done
W: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/stretch/pve-enterprise/binary-amd64/Packages 401 Unauthorized
E: Some index files failed to download. They have been ignored, or old ones used instead.

I tried installing the gpg key as indicated in the documentation.

# wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

# sha512sum /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg
ffb95f0f4be68d2e753c8875ea2f8465864a58431d5361e88789568673551501ae574283a4e0492f17d79dc67edfb173a56a6304dea39e01f249ebdabc9f074a /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

However, apt still can't access the repositoy.

Could you please advise.

Thanks,

Paulo
 
Err:8 https://enterprise.proxmox.com/debian/pve stretch/pve-enterprise amd64 Packages
401 Unauthorized

If you have a subscription key, looks like it hasn't been properly configured. That's why you're getting the 401 Unauthorized error from the Enterprise repository.

Try uncommenting the enterprise repository and installing the missing packages from no-subscription repository instead.


Then check if your subscription key is configured properly by running:

Code:
pvesubscription get

If it's missing, you will have to reset your key and add it with 'pvesubscription set <key>'.

EDIT:

I've tried installing the debian vlan package and the installation process mistakenly unistalled the proxmox-ve and pve-managet packages.

That should be already inside Proxmox, so you don't need to install it (that's why it conflicts with proxmox-ve and pve-manager)
 
Last edited:
Hello Oguz,

Thank you for the information.

I switched to the no-subscription repository and the proxmox-ve package is now available. If I try running apt-get install, I see that a number of additional packages will be installed.

# apt install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ceph-fuse genisoimage libfdt1 libgoogle-perftools4 libjson-c3 libperl5.24 libpve-apiclient-perl
libpve-common-perl libpve-guest-common-perl libpve-storage-perl libtcmalloc-minimal4 libunwind8 perl perl-base
perl-modules-5.24 proxmox-widget-toolkit pve-cluster pve-container pve-edk2-firmware pve-i18n pve-kernel-4.15
pve-kernel-4.15.18-10-pve pve-manager pve-qemu-kvm qemu-server
Suggested packages:
wodim cdrkit-doc perl-doc make
Recommended packages:
rename
The following NEW packages will be installed:
ceph-fuse genisoimage libfdt1 libgoogle-perftools4 libjson-c3 libpve-apiclient-perl libtcmalloc-minimal4
libunwind8 proxmox-ve proxmox-widget-toolkit pve-edk2-firmware pve-i18n pve-kernel-4.15
pve-kernel-4.15.18-10-pve pve-manager
The following packages will be upgraded:
libperl5.24 libpve-common-perl libpve-guest-common-perl libpve-storage-perl perl perl-base perl-modules-5.24
pve-cluster pve-container pve-qemu-kvm qemu-server
11 upgraded, 15 newly installed, 0 to remove and 87 not upgraded.
Need to get 78.9 MB of archives.
After this operation, 434 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C

Would it be safe to proceed with the proxmox-ve installation on the machine with guests running? I fear causing problems to the services.

Regards,

Paulo
 
Would it be safe to proceed with the proxmox-ve installation on the machine with guests running? I fear causing problems to the services.

I can't tell you anything specific without knowing your setup. But since there's a kernel upgrade included, you will need to reboot the server after the update, so some downtime is unavoidable in case of an upgrade.
 
I can't tell you anything specific without knowing your setup. But since there's a kernel upgrade included, you will need to reboot the server after the update, so some downtime is unavoidable in case of an upgrade.

Hi Oguz,

When I installed the vlan package, apt displayed that it unistalled proxmox-ve (5.1-32) and pve-manager (5.1-41) packages. Do you think it would be safe (or possible) to install just these two packages using dpkg?
 
It could be possible, but playing around with the packages may cause unexpected problems. I'd suggest you to go through with the update instead, in order to avoid such problems.
 
It could be possible, but playing around with the packages may cause unexpected problems. I'd suggest you to go through with the update instead, in order to avoid such problems.

Ok. I will follow your advice.

Once I do the upgrade, will proxmox-ve detect the installed VMs or do I need do perform some additional steps?
 

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!