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

sollarfun20

New Member
Feb 28, 2025
7
2
3
I have been trying multiple times to try to get the corosync-qdevice package installed on my nodes but I am unable to. I have configured the apt sources list but still ran into the same issue.


Code:
root@133001sr-node1:~# apt install corosync-qdevice
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package corosync-qdevice
 
What does this say?

Bash:
uname -a
cat /etc/os-release
apt update
find /etc/apt/ -type f -name "*.list" -exec tail -n +1 {} +
apt show corosync-qdevice
 
Last edited:
What does this say?

Bash:
uname -a
cat /etc/os-release
apt update
find /etc/apt/ -type f -name "*.list" -exec tail -n +1 {} +
apt show corosync-qdevice


Code:
root@133001sr-node1:~# uname -a
Linux 133001sr-node1 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64 GNU/Linux

root@133001sr-node1:~# cat /etc/os-release           
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"          
NAME="Debian GNU/Linux"  
VERSION_ID="12"       
VERSION="12 (bookworm)"  
VERSION_CODENAME=bookworm  
ID=debian   
HOME_URL="https://www.debian.org/"  
SUPPORT_URL="https://www.debian.org/support"    
BUG_REPORT_URL="https://bugs.debian.org/"                                                    

root@133001sr-node1:~# apt update                                                            
Ign:1 http://ftp.us.debian.org/debian bookworm InRelease  
Ign:2 http://security.debian.org bookworm-security InRelease
Ign:3 http://ftp.us.debian.org/debian bookworm-updates InRelease    
Ign:4 http://download.proxmox.com/debian/pve bookworm InRelease  
Ign:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease     
Ign:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease  
Ign:1 http://ftp.us.debian.org/debian bookworm InRelease
Ign:2 http://security.debian.org bookworm-security InRelease
Ign:4 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:3 http://ftp.us.debian.org/debian bookworm-updates InRelease
Ign:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Ign:1 http://ftp.us.debian.org/debian bookworm InRelease
Ign:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:4 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:2 http://security.debian.org bookworm-security InRelease
Ign:3 http://ftp.us.debian.org/debian bookworm-updates InRelease
Ign:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Err:1 http://ftp.us.debian.org/debian bookworm InRelease
     Temporary failure resolving 'ftp.us.debian.org'
Err:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
     Temporary failure resolving 'enterprise.proxmox.com'
Err:4 http://download.proxmox.com/debian/pve bookworm InRelease
     Temporary failure resolving 'download.proxmox.com'
Err:2 http://security.debian.org bookworm-security InRelease
     Temporary failure resolving 'security.debian.org'
Err:3 http://ftp.us.debian.org/debian bookworm-updates InRelease
     Temporary failure resolving 'ftp.us.debian.org'
Err:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease
     Temporary failure resolving 'enterprise.proxmox.com'

root@133001sr-node1:~# find /etc/apt/ -type f -name "*.list" -exec tail -n +1 {} + 
==> /etc/apt/sources.list <== 
deb http://ftp.us.debian.org/debian bookworm main contrib
deb http://ftp.us.debian.org/debian bookworm-updates main contrib
#PROXMOX VE NO-PVE repository by proxmox.com, not for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
# security updates
deb http://security.debian.org bookworm-security main contrib
==> /etc/apt/sources.list.d/ceph.list <==
deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
==> /etc/apt/sources.list.d/pve-enterpise.list <==
#
==> /etc/apt/sources.list.d/pve-enterprise.list <==
deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

root@133001sr-node1:~# apt show corosync-qdevice
N: Unable to locate package corosync-qdevice
N: Unable to locate package corosync-qdevice
E: No packages found
 
Fix your network.
Code:
Err:1 http://ftp.us.debian.org/debian bookworm InRelease<br>
     Temporary failure resolving 'ftp.us.debian.org'<br>Err:5 
...
 
Fix your network.
Code:
Err:1 http://ftp.us.debian.org/debian bookworm InRelease<br>
     Temporary failure resolving 'ftp.us.debian.org'<br>Err:5
...
Ah apparently my servers are unable to ping the outside web now, but still have no idea why.
 
Please try to avoid unnecessarily quoting messages.
It's not clear what you tried to ping exactly. Let's start with this and go from there
Bash:
ping 8.8.8.8
cat /etc/resolv.conf
Where is this server hosted?
 
Last edited:
The server is hosted on my own internal network
Servers -> TL-SG108E Switch -> HPE Aruba 1930 Switch -> PFsense router -> Modem
I can ping all except the modem from my host.
 

Attachments

  • 1753428139521.png
    1753428139521.png
    4.9 KB · Views: 1
  • 1753428155378.png
    1753428155378.png
    36.1 KB · Views: 1
I have managed to resolve the issue, the gateway was improperly set in the server's network, I will mark this as resolved now.

While the outside network connection now works, I am still unable to install the corosync package and receive the same error.
 
Last edited:
My nodes are correctly configured for DNS. I have no problems resolving anything from them and outbound connectivity is confirmed.

But I'm also having the same problem on my nodes:
-----------------------------------------------------------------------
root@proxmox01:~# apt install corosync-qdevice
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package corosync-qdevice
-----------------------------------------------------------------------

But it appears that the binaries may already be installed because I'm able to attempt setting up my qdevice. However, when I try I get these errors:

-----------------------------------------------------------------------
root@proxmox01:~# pvecm qdevice setup 10.255.3.3
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed

/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
(if you think this is a mistake, you may want to use -f option)


INFO: initializing qnetd server
Certificate database (/etc/corosync/qnetd/nssdb) already exists. Delete it to initialize new db

INFO: copying CA cert and initializing on all nodes
bash: line 1: corosync-qdevice-net-certutil: command not found
bash: line 1: corosync-qdevice-net-certutil: command not found

INFO: generating cert request
command 'corosync-qdevice-net-certutil -r -n pve-cluster00' failed: open3: exec of corosync-qdevice-net-certutil -r -n pve-cluster00 failed: No such file or directory at /usr/share/perl5/PVE/Tools.pm line 517.
-----------------------------------------------------------------------
 
Okay... I figured out what my issue was.

I had disabled the non-enterprise repositories. I thought I needed to do that since I have licenses on both nodes for the enterprise repo's. (I would appreciate any comments on this..)

Even though I had enabled the non-enterprise repo's, I was still unable to install the qdevice. But apparently I needed to run "apt update" after re-enabling the non-enterprise repo's. After doing that, I was able to install the corosync-qdevice package and then successfully setup my qdevice.

I'll chock this up to being a complete n00b with Linux...

------------------------------------------------------------------------------
root@proxmox02:~# pvecm status
Cluster information
-------------------
Name: pve-cluster00
Config Version: 3
Transport: knet
Secure auth: on

Quorum information
------------------
Date: Sat Aug 16 11:07:25 2025
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000002
Ring ID: 1.9
Quorate: Yes

Votequorum information
----------------------
Expected votes: 3
Highest expected: 3
Total votes: 3
Quorum: 2
Flags: Quorate Qdevice

Membership information
----------------------
Nodeid Votes Qdevice Name
0x00000001 1 A,V,NMW 10.255.3.1
0x00000002 1 A,V,NMW 10.255.3.2 (local)
0x00000000 1 Qdevice
root@proxmox02:~# pvecm nodes

Membership information
----------------------
Nodeid Votes Qdevice Name
1 1 A,V,NMW proxmox01
2 1 A,V,NMW proxmox02 (local)
0 1 Qdevice