Why can't I install cmake?

I’m new to Arch and Linux itself. In openSUSE tumbleweed, installing cmake was simple. And here errors appear and I have not found any information on the Internet in this regard.

[hip@hip-ppoid Hyprland]$ sudo pacman -S cmake
[sudo] пароль для hip: 
разрешение зависимостей...
проверка конфликтов...

Пакет (4)      Новая версия  Изменение размера  Размер загрузки

extra/cppdap   1.58.0-1               1,62 MiB                 
extra/jsoncpp  1.9.5-2                0,73 MiB                 
extra/rhash    1.4.4-1                0,32 MiB                 
extra/cmake    3.28.1-1              72,14 MiB        11,29 MiB

Будет загружено:    11,29 MiB
Будет установлено:  74,81 MiB

:: Приступить к установке? [Y/n] y
:: Получение пакетов...
 cmake-3.28.1-1-x86_64.pkg.tar.zst failed to download
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.f4st.host : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.f4st.host : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.mirror.constant.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.mirror.constant.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.pseudoform.org : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.lty.me : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.lty.me : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.pkgbuild.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из iad.mirrors.misaka.one : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из iad.mirrors.misaka.one : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из archlinux.thaller.ws : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из archlinux.thaller.ws : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из america.mirror.pkgbuild.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.wtnet.de : Failed to connect to mirror.wtnet.de port 80 after 10001 ms: Timeout was reached
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.wtnet.de : Failed to connect to mirror.wtnet.de port 443 after 10001 ms: Timeout was reached
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arlm.tyzoid.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arlm.tyzoid.com : SSL certificate problem: certificate has expired
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из phinau.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из phinau.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.hu.fo : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.hu.fo : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net
предупреждение: too many errors from mirror.chaoticum.net, skipping for the remainder of this transaction
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из archmirror1.octyl.net : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из archmirror1.octyl.net : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.jensgutermuth.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.jensgutermuth.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.hackingand.coffee : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.hackingand.coffee : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.mirror.zachlge.org : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из arch.mirror.zachlge.org : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.arizona.edu : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.arizona.edu : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.mikrogravitation.org : Failed to connect to mirror.mikrogravitation.org port 80 after 10002 ms: Timeout was reached
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.mikrogravitation.org : Failed to connect to mirror.mikrogravitation.org port 443 after 10002 ms: Timeout was reached
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirrors.lug.mtu.edu : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirrors.lug.mtu.edu : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.bethselamin.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.23m.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.23m.com : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.moson.org : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.moson.org : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.ubrco.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirror.ubrco.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirrors.niyawe.de : The requested URL returned error: 404
ошибка: не удалось получить файл 'cmake-3.28.1-1-x86_64.pkg.tar.zst' из mirrors.niyawe.de : The requested URL returned error: 404
предупреждение: не удалось получить некоторые файлы
ошибка: не удалось завершить транзакцию (не удалось получить некоторые файлы)
Обнаружены ошибки, пакеты не обновлены.
[hip@hip-ppoid Hyprland]$

Unfortunately, I can’t read the warnings/errors. But I would suggest it’s connectivity related and may be resolved by updating your mirrors.
And ALWAYS use -Syu…that may also be your issue.

1 Like

Thanks, I looked at the post below with a similar problem and there was an answer:

It worked! I will take your advice to use the -Syu command all the time)

Ah…so the packages were reported corrupt (yes, I’d have known that if I could read it). Keyring…

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