linux-headers-5.0.18-1-pve

amalio

Member
Aug 24, 2019
4
0
21
47
linux-headers-5.0.18-1-pve

apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.0.18-1-pve
E: Couldn't find any package by glob 'linux-headers-5.0.18-1-pve'
E: No se pudo encontrar ningún paquete por regex 'linux-headers-5.0.18-1-pve'

Where can I locate it?
thanks.
 
where is the --kernel-source-path in proxmox 6.0 ?

The Nvidia installer tells me this:

ERROR: The kernel source path 'lib/modules/5.0.18-1-pve/build/include/' does not exist. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel'
RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path'
command line option.

Help please
 
5.0.18 is quite outdated, use latest kernels only.

in order to get always the headers, just install:

> apt install pve-headers
 
  • Like
Reactions: ebiss and boopzz
Hi Tom. Thanks for your help...

When I enter "apt install pve-headers " I get

root@pve:~# apt install pve-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers
 
Hi Tom. Thanks for your help...

When I enter "apt install pve-headers " I get

root@pve:~# apt install pve-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers

Looks like you do not have a valid update repository configured.?

See https://pve.proxmox.com/wiki/Package_Repositories
 
Hi Tom. Thanks for your help.

Question. The no-subscription packages mentioned in the link refer to debian buster while the packages included in my sources.list refer to debian stretch...which packages should I include in my sources.list ?
 
Hi Tom. I am still having issues with the header...when I run:

root@pve:~# apt install pve-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers-4.15.18-12-pve
E: Couldn't find any package by glob 'pve-headers-4.15.18-12-pve'
E: Couldn't find any package by regex 'pve-headers-4.15.18-12-pve'

The headers version seems to be 4.15.18-12-pve but when I run this command:

root@pve:~# apt install pve-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
pve-headers is already the newest version (6.0-2).
0 upgraded, 0 newly installed, 0 to remove and 419 not upgraded.

it says that the pve-headers is already the newest version (6.0-2).

Thanks for your help in advance...
 
Hi Tom. I am still having issues with the header...when I run:

root@pve:~# apt install pve-headers-$(uname -r)

you need to run (after you have a valid Proxmox VE update repository):

> apt update
> apt install pve-headers
 
  • Like
Reactions: rifaterdemsahin
Hi Tom Thanks for your help.

Here are my repositories in the sources.list file:

deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib
deb http://download.proxmox.com/debian/pve buster pvetest

deb http://httpredir.debian.org/debian/ buster main contrib non-free

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org buster/updates main contrib

deb http://download.proxmox.com/debian/pve buster pvetest


isn't it correct?
 
and furthermore look what happens when i run the update commands as mentioned above :

root@pve:~# > apt update
-bash: update: command not found
root@pve:~# > apt install pve-headers
install: missing destination file operand after 'pve-headers'
Try 'install --help' for more information.
root@pve:~#
 
do not enter ">":

Code:
apt update

apt install pve-headers
 
Thanks Tom ... How do i get the latest Linux headers ?


in any case this is what i get with apt update...is everything normal

apt update
Hit:1 http://download.proxmox.com/debian/pve buster InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Hit:4 http://ftp.debian.org/debian buster-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
419 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (pvetest/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (pvetest/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (pvetest/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (pvetest/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (pvetest/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Packages (pvetest/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (pvetest/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14
W: Target Translations (pvetest/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:14


and with apt install pve-headers

apt install pve-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
pve-headers is already the newest version (6.0-2).
0 upgraded, 0 newly installed, 0 to remove and 419 not upgraded.
 
pve-headers is already the newest version (6.0-2).

Seems you got all what you want.

You can list all your installed pve-headers via:

Code:
dpkg -l pve-headers*
 
2 questions:

1) what is the third line for ? If i have the "Latest Proxmox VE Kernel Headers with value 6.0-10" why is " The Proxmox PVE Kernel Headers with value 5.0.21-8" necessary ?......and

2) what about the linux headers...how do i upgrade them ?

Thanks for your help and patience Tom. Reuben

dpkg -l pve-headers*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================================-==========================-==========================-===========================================================================================
ii pve-headers 6.0-2 all Default Proxmox VE Kernel Headers
ii pve-headers-5.0 6.0-10 all Latest Proxmox VE Kernel Headers
ii pve-headers-5.0.21-4-pve 5.0.21-8 amd64 The Proxmox PVE Kernel Headers
 
Hi Tom. Thanks for your reply...

I have 4 pve headers now...

1) which ones do i need ?

2) Why there is pve-headers-5.0 version 6.0-10 and also pve-headers-5.0 .21-4-pve with version 5.0.21-8 ? This make no sense...should i uninstall some ? Please help

dpkg -l pve-headers*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================================-==========================-==========================-===========================================================================================
ii pve-headers 6.0-2 all Default Proxmox VE Kernel Headers
ii pve-headers-5.0 6.0-10 all Latest Proxmox VE Kernel Headers
ii pve-headers-5.0.21-4-pve 5.0.21-8 amd64 The Proxmox PVE Kernel Headers
ii pve-headers-5.3.7-1-pve 5.3.7-1 amd64 The Proxmox PVE Kernel Headers
 
pve-header package triggers the download of the header packages needed for your kernel. if you install or get a new kernel, the corresponding pve-header package is installed automatically.

based on your list, you have 5.0.21-4 kernel and 5.3.7-1 installed, therefore you also got the pve-header files.
 

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!