Arch Linux: pacman – error “HTTP server doesn’t seem to support byte ranges”

During a system update from pacman -Syu – either the light went out, or the Internet was cut off, but the next time you tried to update, an error began to appear.

It sounds like “HTTP server doesn’t seem to support byte ranges. Cannot resume“, and looks like this:

==> Retrieving sources…

-> Downloading clightd-5.6.tar.gz…

** Resuming transfer from byte position 12288

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

Dload  Upload   Total   Spent    Left  Speed

100   129  100   129    0     0    523      0 –:–:– –:–:– –:–:–   524

0     0    0     0    0     0      0      0 –:–:– –:–:– –:–:–     0

curl: (33) HTTP server doesn’t seem to support byte ranges. Cannot resume.

==> ERROR: Failure while downloading https://github.com/FedeDP/Clightd/archive/5.6.tar.gz

Aborting…

-> error making: clightd

Actually, we see that the problem with loading Clightd/archive/5.6.tar.gz – look for the file locally in the cache, where it should be loaded:

find /home/ -name clightd-5.6.tar.gz*

/home/setevoy/.cache/yay/clightd/clightd-5.6.tar.gz.part

Pay attention to .part at the end of the name – the file simply did not download.

Cleaning time:

yay -Scc

Cache directory: /var/cache/pacman/pkg/

:: Do you want to remove ALL files from cache? [y/N] y

removing all files from cache…

Database directory: /var/lib/pacman/

:: Do you want to remove unused repositories? [Y/n]

removing unused sync repositories…

Build directory: /home/setevoy/.cache/yay

==> Do you want to remove ALL AUR packages from cache? [Y/n]

removing AUR packages from cache…

Run the update again:

Done.

Arch Linux,Operating systems,UNIX/Linux,Проблемы и решения,pacman,

#Arch #Linux #pacman #ошибка #HTTP #server #doesnt #support #byte #ranges

Leave a Comment

Your email address will not be published. Required fields are marked *