pve-headers install problem

Discussion in 'Proxmox VE: Installation and configuration' started by gkovacs, Oct 10, 2013.

  1. gkovacs

    gkovacs Active Member

    Joined:
    Dec 22, 2008
    Messages:
    501
    Likes Received:
    43
    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'
     
    #1 gkovacs, Oct 10, 2013
    Last edited: Oct 10, 2013
  2. p3x-749

    p3x-749 Member

    Joined:
    Jan 19, 2010
    Messages:
    103
    Likes Received:
    0
    what does "apt-cache search pve-headers" give you?

    As I am not on PVE-3.1, I can't check, sorry
     
  3. gkovacs

    gkovacs Active Member

    Joined:
    Dec 22, 2008
    Messages:
    501
    Likes Received:
    43
    It gives no result.
     
  4. gkovacs

    gkovacs Active Member

    Joined:
    Dec 22, 2008
    Messages:
    501
    Likes Received:
    43
    Okay, /etc/apt/sources.list was missing the pve repository after a clean Proxmox 3.1 install.
    Fixing that fixed the problem.
     
  5. p3x-749

    p3x-749 Member

    Joined:
    Jan 19, 2010
    Messages:
    103
    Likes Received:
    0
  6. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,469
    Likes Received:
    395
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. p3x-749

    p3x-749 Member

    Joined:
    Jan 19, 2010
    Messages:
    103
    Likes Received:
    0
    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?
     
  8. p3x-749

    p3x-749 Member

    Joined:
    Jan 19, 2010
    Messages:
    103
    Likes Received:
    0

    ..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.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice