Error while installing linux headers

Hi everyone! Me again, the newbie for Linux, so a day ago I asked about a problem i have with “v4l2loopback”. This was the original post that is closed due to my lack of reading of the topic (which was my fault, sorry for bother anyone who saw it):
Droidcam/v4l2loopback device not found

Anyway, the problem I have it’s to do the first step, which is installing the linux headers for the respective kernel version. The kernels I have installed in my system are: Linux 5.12(linux512), Linux 5.13(linux513) and Linux 5.14(linux514). And the only header I have installed is the Linux 5.12 header, wherever I try to install the headers for Linux 5.13 or Linux 5.14 it’s gives me this error message:

sudo pacman -S linux-headers                                                                      ✔  
[sudo] password for max:
:: There are 10 providers available for linux-headers:
:: Repository core
1) linux414-headers  2) linux419-headers  3) linux44-headers  4) linux49-headers  5) linux510-headers
6) linux512-headers  7) linux513-headers  8) linux514-headers  9) linux54-headers
:: Repository community
10) linux510-rt-headers

Enter a number (default=1): 8
resolving dependencies...
looking for conflicting packages...

Packages (2) pahole-1.21-1  linux514-headers-5.14.0-0

Total Download Size:    29,77 MiB
Total Installed Size:  127,42 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
linux514-headers-5.14.0-0-x86_64.pkg.tar.zst failed to download
Total (1/2)                             29,8 MiB   499 KiB/s 01:01 [######################################] 100%
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.re : The requested URL
returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirrors.fossho.st : The request
ed URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.repo.cure.edu.uy : The
requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.dcc.uchile.cl : The req
uested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror1.cl.netactuate.com : The
requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.ufro.cl : The requested
URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirrors.manjaro.org : The reque
sted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.0xem.ma : The requested
URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.math.princeton.edu : The
requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.moson.eu : The requeste
d URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from fastmirror.pp.ua : The requeste
d URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.mirrors.uk2.net : The r
equested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.futureweb.be : The reque
sted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.mirrors.lavatech.top :
The requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.deace.id : The requested
URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.init7.net : The requeste
d URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.erickochen.nl : The requ
ested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from quantum-mirror.hu : The request
ed URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from osmirror.org : The requested UR
L returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.lucassymons.net : The r
equested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from repo.ialab.dsu.edu : The reques
ted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirrors.dotsrc.org : The reques
ted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.23media.com : The reques
ted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.alpix.eu : The requested
URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.is.co.za : The requested
URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.kyberorg.fi : The reque
sted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.mirrors.theom.nz : The
requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.c3sl.ufpr.br : The requ
ested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.xeonbd.com : The request
ed URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.d-tl.com : The requested
URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from free.nchc.org.tw : The requeste
d URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.truenetwork.ru : The req
uested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.ipacct.com : The reques
ted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.moson.org : The request
ed URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.zetup.net : The requeste
d URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from ftp.lysator.liu.se : The reques
ted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from manjaro.telecoms.bg : The reque
sted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirrors.ocf.berkeley.edu : The
requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from ftp.gwdg.de : The requested URL
returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from ftp.tsukuba.wide.ad.jp : The re
quested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from repo.skni.umcs.pl : The request
ed URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from download.nus.edu.sg : The reque
sted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.easyname.at : The reques
ted URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : The
requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from mirror.kku.ac.th : The requeste
d URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from kartolo.sby.datautama.net.id :
The requested URL returned error: 404
error: failed retrieving file 'linux514-headers-5.14.0-0-x86_64.pkg.tar.zst' from ftp.cuhk.edu.hk : The requested
URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

That’s the whole process I’m trying to use for download and install the linux headers i need (the example is for Linux 5.14 specifically, but the same happens with the 5.13 version).

And for conclude, I tried to investigate if this was covered in the forum so I don’t screw up again and i couldn’t find something similar, if it is something similar please link to this post and closed it if needed.Thanks for reading and hope your responses, see ya!!

hmm,
First lets make sure you are up to date and have acceptable mirrors configured, read more here
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
then use the manjaro package manager to get the headers:
pamac install linux514-headers

2 Likes

The current version of the headers is 5.14.2-1. is your system up-to-date and have you refreshed your mirrors?

2 Likes

Thank you so much!! Both of you! Honestly I have no idea about the mirrors, but i will read the info @Hanzel send me. Again, thank you!!

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