Couldn't find any package by glob error while installing Linux hearers

kumarullal

Renowned Member
Jun 17, 2009
184
0
81
LA, USA
I am trying to install Synology activebackup for business client on proxmox.
This is the error I am getting.


E: Unable to locate package linux-headers-5.15.102-1-pve E: Couldn't find any package by glob 'linux-headers-5.15.102-1-pve'
Don't know what happened?
How do I resolve this?
 
Proxmox VE has its own kernel and therefore its own header packages. Use apt install pve-headers-5.15.102-1-pve (if I did not make a typo) to install those kernel header. Install pve-headers of (pve-headers-5.15) to get the headers automatically with the new kernel update.
 
Ok, seems like it is synology problem while installing the agent.
The Linux headers are installed.
The installer complains of not installed.
* found linux-headers-5.15.102-1-pve not installed, install automatically * installing linux-headers-5.15.102-1-pve Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package linux-headers-5.15.102-1-pve E: Couldn't find any package by glob 'linux-headers-5.15.102-1-pve' * install linux-headers-5.15.102-1-pve failed, please try again later, or run 'apt install linux-headers-5.15.102-1-pve manunally or download and install packag
What is globe?
 
Run apt update first. It might be possible that kernel 5.15.102 is retracted and you might want to run apt dist-upgrade first to install the latest kernel.
If installing the specific version does not work (because it does not exits because you or I made a typing mistake), try apt install pve-headers to install the latest kernel headers (like I said before).
 
I did apt upate, upgrade distibution upgrade.
The correct linux headers are installed. I think it is synology issue.
I will keep it open till I get a solution from synology, and try to post it here.
Thanks
 
Hello guys,

I've been thru this issue since proxox 7.3 here's how to solve it

wget https://mirror.cs.uchicago.edu/prox...e-headers-5.15.102-1-pve_5.15.102-1_amd64.deb

dpkg -i pve-headers-5.15.102-1-pve_5.15.102-1_amd64.deb

then it will work as magic and you will never see that error anymore
E: Unable to locate package linux-headers-5.15.102-1-pve
E: Couldn't find any package by glob 'linux-headers-5.15.102-1-pve'

so the main idea to download and install the headers file manually


i hope it will help you ,,, good luck

Together we discover the future :)
 
This is a fairly old post but just ran into the same issue today...

I managed to find a "nicer" solution to the linux headers problem but still ultimately could not get the backup agent working because the synosnap package is too old to run on modern proxmox I think.

Anyways for those who care, I used this thread as guide: https://community.synology.com/enu/forum/1/post/152443
I put the files in /home and ran: ./install.run --target ./tmp
This failed but now I had the individual setup stuff in /home/tmp/ directory.
I went to that new directory and opened ./install.sh with nano, goto the very end of the file and then a little up:
Change the word Linux to pve and save, now it wont look for Linux-headers but pve-headers and the install will proceed normally
1721063216282.png

However, even after all this synosnap does not install because it wants a old 5.15 kernel or something like that and gives dkms errors.
When i force install it with: dpkg --ignore-depends=dkms -i synosnap.deb
it installs with a some depreciated stuff warnings and then ultimately does not work and I just uninstalled everything :(

Hopefully at least this kinda helps someone in the future.
 
Last edited:
  • Like
Reactions: TeleTheo
This is a fairly old post but just ran into the same issue today...

I managed to find a "nicer" solution to the linux headers problem but still ultimately could not get the backup agent working because the synosnap package is too old to run on modern proxmox I think.

Anyways for those who care, I used this thread as guide: https://community.synology.com/enu/forum/1/post/152443
I put the files in /home and ran: ./install.run --target ./tmp
This failed but now I had the individual setup stuff in /home/tmp/ directory.
I went to that new directory and opened ./install.sh with nano, goto the very end of the file and then a little up:
Change the word Linux to pve and save, now it wont look for Linux-headers but pve-headers and the install will proceed normally
View attachment 71374

However, even after all this synosnap does not install because it wants a old 5.15 kernel or something like that and gives dkms errors.
When i force install it with: dpkg --ignore-depends=dkms -i synosnap.deb
it installs with a some depreciated stuff warnings and then ultimately does not work and I just uninstalled everything :(

Hopefully at least this kinda helps someone in the future.

Thank you very much! Thanks to the latest ABB-Update - where they added kernel 6 - it finally works for the latest version of proxmox.

Bash:
wget http://download.proxmox.com/debian/pve/dists/bookworm/pve-no-subscription/binary-amd64/proxmox-headers-6.8.12-1-pve_6.8.12-1_amd64.deb
dpkg -i proxmox-headers-6.8.12-1-pve_6.8.12-1_amd64.deb
wget https://global.synologydownload.com/download/Utility/ActiveBackupBusinessAgent/2.7.0-3221/Linux/x86_64/Synology%20Active%20Backup%20for%20Business%20Agent-2.7.0-3221-x64-deb.zip
unzip Synology\ Active\ Backup\ for\ Business\ Agent-2.7.0-3221-x64-deb.zip
./install.run --target ./tmp
nano ./tmp/install.sh
cd ./tmp

Then in line 326 of 359 change
packages=(linux-headers-$(uname -r) dkms make)
to
packages=(pve-headers-$(uname -r) dkms make)
then run
./install.sh
and continue as usual.
Of my ext4 1TB system disk it recognizes the /dev/mapper/pve-root as /.

I did not try to do a restore, but the ABB portal shows the individual files of Disk 0 - Volume 1 (EFI) and LVM - pve-root (OS) in it's tree.
 
Last edited:
And they still have limited support for filesystems. I often thought of giving up ABB... I am excited to see how "well" this backup-image will work, in case my system disk crashes and I have to restore.
 
Veeam recently contacted me about adding lots more support specifically for proxmox if you are looking for a paid alternative.
Probably fueled a little by the fun recent events at vmware that shone a bright light on proxmox as an alternative :D
 

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!