How do I install linux-lts-headers?

My system

[hikmateustad@hikmateustad-dell ~]$ inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.10.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=fd162b4b-2899-428d-9233-5f208d174b0b ro quiet mitigations=off 
  kvm.nx_huge_pages=off udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: Dell product: Inspiron One 2320 v: 00 serial: <filter> 
  Chassis: type: 13 v: PRFirestone_CKMY6_A00.SDR serial: <filter> 
  Mobo: Dell model: 0XW3KG v: A02 serial: <filter> BIOS: Dell v: A10 
  date: 09/17/2012 
Memory:
  RAM: total: 7.68 GiB used: 2.21 GiB (28.8%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-2400S bits: 64 type: MCP 
  arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F 
  cache: L2: 6 MiB bogomips: 19960 
  Speed: 1596 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1596 4: 1596 
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est 
  flexpriority flush_l1d fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce md_clear 
  mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm 
  pebs pge pln pni popcnt pse pse36 pts rdtscp rep_good sep smx ssbd sse sse2 
  sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_deadline_timer 
  vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf mitigation: PTE Inversion; VMX: vulnerable, SMT disabled 
  Type: mds status: Vulnerable; SMT disabled 
  Type: meltdown status: Vulnerable 
  Type: spec_store_bypass status: Vulnerable 
  Type: spectre_v1 status: Vulnerable: __user pointer sanitization and 
  usercopy barriers only; no swapgs barriers 
  Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0102 
  class-ID: 0300 
  Device-2: NVIDIA GF108M [GeForce GT 525M] vendor: Dell driver: nvidia 
  v: 390.141 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:0df5 
  class-ID: 0300 
  Device-3: Chicony Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus-ID: 1-1.4:6 chip-ID: 04f2:b2a8 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 driver: loaded: modesetting,nvidia 
  display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
  s-diag: 583mm (23") 
  Monitor-1: HDMI-1-2 res: 1920x1080 hz: 60 dpi: 96 
  size: 510x287mm (20.1x11.3") diag: 585mm (23") 
  OpenGL: renderer: GeForce GT 525M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.141 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  chip-ID: 8086:1c20 class-ID: 0403 
  Device-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel v: kernel 
  bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.23-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
Network:
  Device-1: Intel Centrino Advanced-N 6230 [Rainbow Peak] driver: iwlwifi 
  v: kernel port: e000 bus-ID: 03:00.0 chip-ID: 8086:0091 class-ID: 0280 
  IF: wlp3s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Dell driver: r8169 v: kernel port: d000 bus-ID: 05:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp5s0 state: down mac: <filter> 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Centrino Advanced-N 6230 Bluetooth adapter type: USB 
  driver: btusb v: 0.8 bus-ID: 1-1.3:5 chip-ID: 8086:0189 class-ID: e001 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
Logical:
  Message: No LVM data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 931.51 GiB used: 39.08 GiB (4.2%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST31000524AS 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: JC4A scheme: MBR 
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRWBD CT30N rev: A201 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 120 GiB size: 117.62 GiB (98.01%) used: 39.08 GiB (33.2%) 
  fs: ext4 dev: /dev/sda7 maj-min: 8:7 label: N/A 
  uuid: fd162b4b-2899-428d-9233-5f208d174b0b 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 39.2 MiB fs: vfat label: N/A 
  uuid: 5450-4444 
  ID-2: /dev/sda10 maj-min: 8:10 size: 120 GiB fs: ntfs label: N/A 
  uuid: F8DA997DDA9938B8 
  ID-3: /dev/sda11 maj-min: 8:11 size: 120 GiB fs: ntfs label: N/A 
  uuid: D85EAEC75EAE9E2E 
  ID-4: /dev/sda12 maj-min: 8:12 size: 118.22 GiB fs: ntfs label: N/A 
  uuid: 3056CD4456CD0C12 
  ID-5: /dev/sda2 maj-min: 8:2 size: 13.25 GiB fs: ntfs label: RECOVERY 
  uuid: E6CEDE74CEDE3D0D 
  ID-6: /dev/sda3 maj-min: 8:3 size: 80 GiB fs: ntfs label: N/A 
  uuid: 7C0A92070A91BF18 
  ID-7: /dev/sda4 maj-min: 8:4 size: 1 KiB fs: <superuser required> label: N/A 
  uuid: N/A 
  ID-8: /dev/sda5 maj-min: 8:5 size: 116 GiB fs: ext4 label: N/A 
  uuid: fa10d535-c59a-4558-a41e-b9420d1b41cb 
  ID-9: /dev/sda6 maj-min: 8:6 size: 4 GiB fs: swap label: N/A 
  uuid: 90960401-17ac-4c37-bd25-0de6808d2939 
  ID-10: /dev/sda8 maj-min: 8:8 size: 120 GiB fs: ntfs label: N/A 
  uuid: 32D659A6D6596ADD 
  ID-11: /dev/sda9 maj-min: 8:9 size: 120 GiB fs: ntfs label: N/A 
  uuid: A81A73E61A73B044 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 1-1.1:3 info: Quanta Optical Touch Screen type: HID 
  driver: hid-multitouch,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s 
  power: 96mA chip-ID: 0408:3008 class-ID: 0300 serial: <filter> 
  Device-2: 1-1.2:4 info: Realtek RTS5139 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0139 
  class-ID: ff00 serial: <filter> 
  Device-3: 1-1.3:5 info: Intel Centrino Advanced-N 6230 Bluetooth adapter 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  chip-ID: 8086:0189 class-ID: e001 
  Device-4: 1-1.4:6 info: Chicony Laptop_Integrated_Webcam_HD type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 04f2:b2a8 class-ID: 0e02 serial: <filter> 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 2-1.5:3 info: SiGma Micro Keyboard TRACER Gamma Ivory 
  type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1 
  speed: 1.5 Mb/s power: 98mA chip-ID: 1c4f:0002 class-ID: 0300 
  Device-2: 2-1.6:4 info: Holtek Optical Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 04d9:0499 class-ID: 0301 
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A gpu: nvidia temp: 67 C 
  Fan Speeds (RPM): cpu: 1431 gpu: nvidia fan: 100% 
Info:
  Processes: 210 Uptime: 1h 28m wakeups: 0 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: pacman: 1330 lib: 415 
  Shell: Bash v: 5.1.0 running-in: xfce4-terminal inxi: 3.3.03 
[hikmateustad@hikmateustad-dell ~]$ 

I am trying to install linux-lts-headers by issuing the following command but get an error output

[hikmateustad@hikmateustad-dell ~]$ sudo pacman -S linux-lts-headers
[sudo] password for hikmateustad: 
error: target not found: linux-lts-headers

Even linux-lts does not install. If I issue

[hikmateustad@hikmateustad-dell ~]$ sudo pacman -S linux-lts linux-lts-headers
[sudo] password for hikmateustad: 
error: target not found: linux-lts
error: target not found: linux-lts-headers

I have three kernels installed on my system

[hikmateustad@hikmateustad-dell ~]$ mhwd-kernel -li
Currently running: 5.10.23-1-MANJARO (linux510)
The following kernels are installed in your system:
   * linux510
   * linux54
   * linux59

If I issue the following command then I can install the header files for all the above three kernels

hikmateustad@hikmateustad-dell ~]$ sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')
resolving dependencies...
looking for conflicting packages...

Packages (3) linux510-headers-5.10.23-1  linux54-headers-5.4.105-1
             linux59-headers-5.9.16-1

Total Download Size:    28.59 MiB
Total Installed Size:  142.96 MiB

:: Proceed with installation? [Y/n] ^C
Interrupt signal received

If I search with pacman I get nothing

[hikmateustad@hikmateustad-dell ~]$ pacman -Q | grep “^linux”
[hikmateustad@hikmateustad-dell ~]$ 

So how do I go about installing linux-lts-headers?

Thank you in advance for your time.

These packages probably was dropped recently:

You need use linuxXX and linuxXX-headers packages instead. The XX you replace your kernel version.

Thanks for your quick response. It clears up a lot of confusion and days of searching. I can now install the correct header files for my kernel.

Just for information, do I need the linux-lts and linux-latest metapackages if I’m building/compiling software ( anbox ) for my kernel?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.