pve-headers install problem

gkovacs

Renowned Member
Dec 22, 2008
516
51
93
Budapest, Hungary
I'm trying to set up a test server to test and benchmark flashcache based on the instructions found here:
http://florianjensen.com/2013/01/02/adding-flashcache-to-proxmox-and-lvm/

I have installed Proxmox 3.1, and updated all packages to latest.

Unfortunately, I can't install the pve-headers package. Anyone got the faintest idea why this is happening?

Code:
root@proxmox:~# uname -a
Linux proxmox 2.6.32-23-pve #1 SMP Tue Aug 6 07:04:06 CEST 2013 x86_64 GNU/Linux

root@proxmox:~# apt-get install pve-headers-2.6.32-23-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers-2.6.32-23-pve
E: Couldn't find any package by regex 'pve-headers-2.6.32-23-pve'
 
Last edited:
what does "apt-cache search pve-headers" give you?

As I am not on PVE-3.1, I can't check, sorry
 
2.6.32-23 is outdated, also the pve repo is not used anymore.

that's the reason why this repo is not in a clean install - its expected.
 
2.6.32-23 is outdated, also the pve repo is not used anymore.

that's the reason why this repo is not in a clean install - its expected.

Well, I did not check versions but the OP stated that this was a fresh and clean install of PVE3.1 and the reported kernel version in use was reported as this one.

However, if the repo is left out of the list intentionally...What procedure to get access to the actual kernel headers is the right one on a clean install then?
 
However, if the repo is left out of the list intentionally...What procedure to get access to the actual kernel headers is the right one on a clean install then?


..answering my own post..

- If not on a subsription, disable enterprise repos and enable no-subscription repos, as described in the wiki -> http://pve.proxmox.com/wiki/Package_repositories#Proxmox_VE_No-Subscription_Repository
then do
Code:
# apt-get update
# apt-get dist-upgrade (this should get you to the latest PVE kernel)
# apt-cache search pve-headers

...will show the kernels headers available.