Unable to install new kernel

Hello everyone.

right now im running 5.10.1-103-tkg-pds

i need to install a 5.9 or lower kernel so i can use virtualbox

i tried to install:

linux-xanmod-lts-5.4.84-1

Packages (2) linux-xanmod-lts-5.4.84-1 linux-xanmod-lts-headers-5.4.84-1
Total Download Size: 119.15 MiB
Total Installed Size: 459.73 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
Errors occurred, no packages were upgraded.
error: failed retrieving file 'linux-xanmod-lts-5.4.84-1-x86_64.pkg.tar.zst' from builds.garudalinux.org : The requested URL returned error: 404

tried: linux-lts-tkg-pds-5.4.83

Packages (2) linux-lts-tkg-pds-5.4.83-103  linux-lts-tkg-pds-headers-5.4.83-103
Total Download Size:    93.27 MiB
Total Installed Size:  179.41 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
Errors occurred, no packages were upgraded.
error: failed retrieving file 'linux-lts-tkg-pds-5.4.83-103-x86_64.pkg.tar.zst' from builds.garudalinux.org : The requested URL returned error: 404
error: failed retrieving file 'linux-lts-tkg-pds-5.4.83-103-x86_64.pkg.tar.zst' from repo.kitsuna.net : The requested URL returned error: 404

Update your mirrorlist by ranking world servers:

sudo reflector --sort age --save /etc/pacman.d/mirrorlist

Or, by country (if your country has multiple fast servers):

sudo reflector --country US --latest 15 --age 2 --fastest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

Then:

pacman -Syyu

After that try try installing the kernels again.

btw virtualbox just got an update now it works with 5.10 kernel. after updating vbox restart your pc.

sudo reflector --country US --latest 15 --age 2 --fastest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
[sudo] password for home:
[2020-12-24 14:13:39] WARNING: failed to rate http(s) download (https://mirror.lty.me/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:13:46] WARNING: failed to rate http(s) download (https://arch.mirror.square-r00t.net/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:13:58] WARNING: failed to rate http(s) download (https://arlm.tyzoid.com/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:14:15] WARNING: failed to rate http(s) download (https://archmirror1.octyl.net/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:14:41] WARNING: failed to rate http(s) download (https://ftp.sudhip.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:14:48] WARNING: failed to rate http(s) download (https://dfw.mirror.rackspace.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:14:54] WARNING: failed to rate http(s) download (https://iad.mirror.rackspace.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2020-12-24 14:15:02] WARNING: failed to rate http(s) download (https://ord.mirror.rackspace.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).

i dont understand why it says timeout, if i manually click those links they are working.

Well that's strange I just used that command to rank the US mirrors and updated just fine.

Try:

sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && sudo pacman -Syyu
1 Like

Try with this command

sudo pacman -Syyu --disable-download-timeout
1 Like