[SOLVED] Proxmox VE - "Error: Unable to locate package corosync-qdevice"

rx13a68p1

New Member
Apr 4, 2026
9
1
3
I am trying to set up a QDevice for my 2-node Proxmox cluster using a Debian LXC container.

On both Proxmox nodes (pve and pve2) I cannot install the required package: corosync-qdevice it gives me Error: Unable to locate package corosync-qdevice

I have tried using pve-no-subscription repository with trixie, disabling enterprise repo, cleaning and recreating /etc/apt/sources.list.d/pve-no-subscription.list, apt update multiple times
 
I don't understand why you would configure PVE repositories in a container that runs Debian. Debian 13 (trixie) provides the package: https://packages.debian.org/trixie/corosync-qdevice. What is the output of apt update inside the Debian container?

Running a QDevice inside a container on one of your two PVE nodes is not a good idea. If the node with the container goes down, you lose quorum and the other/remaining node becomes read-only. You might a well give one node two votes as you cannot survive it going down. What are you trying to achieve here? Or do you run the Debian container on something else than Proxmox?
 
one of the servers is really loud and i try to make an automatic stuff wich turns one of the servers off at night and turns it on in the morning thats why i try to run qdevice on the server that will be on at all times
 
Maybe using Proxmox Datacenter Manager on two separate PVE would be better than running such a unsupported and problematic cluster of two nodes. EDIT: Since you clearly want one primary main PVE and one (or more) secondary PVE(s), while no node is special in a normal cluster.
What is the output of apt update inside the Debian container?
 
Last edited:
im also really new in this kind of stuff i try to learn everything on my own if you have a better solution to this idea i would appreciate it
 
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
All packages are up to date.
This looks normal (but please use CODE-tags for readability). What is the output of apt install corosync-qdevice inside the Debian container?
and this is just a temporary solution until i get my package then i will have a third pc and i will run the qdevice there but until that i thought this is a good enough solution sorry for bad english
I still think this is a terrible idea and your might be better off with changing the number of votes until you have a supported configuration.
 
This looks normal (but please use CODE-tags for readability). What is the output of apt install corosync-qdevice inside the Debian container?

I still think this is a terrible idea and your might be better off with changing the number of votes until you have a supported configuration.
Code:
corosync-qdevice is already the newest version (3.0.3-2).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

well if i started this i wanna atleast find a solution so i know whats wrong and how to fix it in the future
 
On both Proxmox nodes (pve and pve2) I cannot install the required package: corosync-qdevice it gives me Error: Unable to locate package corosync-qdevice
Code:
corosync-qdevice is already the newest version (3.0.3-2).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
So it installed fine on the Debian container. I don't see the problem. But I also don't have experience in running a QDevice.
 
The manual ( https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_corosync_external_vote_support ) says to install apt install corosync-qnetd on the Debian container and to apt install corosync-qdevice on the PVE nodes. Sorry, my mistake. What is the output of apt install corosync-qnetd on the Debian container and apt install corosync-qdevice on the PVE nodes? Also make sure to first run apt update on the PVE nodes (and please show it) and before that make sure you have the Debian repositories configured on the PVE nodes: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_debian_base_repositories
 
debain container:
Code:
root@debian:~# apt update
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://security.debian.org trixie-security InRelease [43.4 kB]
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Get:4 http://security.debian.org trixie-security/main amd64 Packages [119 kB]
Fetched 163 kB in 0s (748 kB/s)   
All packages are up to date.   
root@debian:~# apt install corosync-qnetd
corosync-qnetd is already the newest version (3.0.3-2).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

pve node:
Code:
root@pve2:~# apt update
Hit:1 http://download.proxmox.com/debian/pve trixie InRelease
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pve2:~# apt install corosync-qdevice
Error: Unable to locate package corosync-qdevice
 
pve node:
Code:
root@pve2:~# apt update
Hit:1 http://download.proxmox.com/debian/pve trixie InRelease
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
It's clear that you disabled or removed the Debian repositories from your Proxmox. Proxmox is build on top of Debian and needs those repositories for updates as well. Please re-add them using the Proxmox web GUI or the command line (see manual that I linked before): https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_debian_base_repositories
 
  • Like
Reactions: UdoB
i disabled it by accident when i disabled the subscription repositorys
and i think i marked it as solved does it show as solved or i did something else?