PINE64
new to pacman. Trying to install VIM, getting a 404 when it tries to download. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: new to pacman. Trying to install VIM, getting a 404 when it tries to download. (/showthread.php?tid=17744)



new to pacman. Trying to install VIM, getting a 404 when it tries to download. - willyray - 12-24-2022

Quote:[alarm@pinephone ~]$ sudo pacman -S vim
[sudo] password for alarm:
resolving dependencies...
looking for conflicting packages...

Packages (2) vim-runtime-9.0.0000-1  vim-9.0.0000-1

Total Download Size:    8.01 MiB
Total Installed Size:  37.94 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
vim-runtime-9.0.0000-1-aarch64.pkg.tar.xz failed to download
Total (1/2)            8.0 MiB  8.05 MiB/s 00:01 [######################] 100%
error: failed retrieving file 'vim-runtime-9.0.0000-1-aarch64.pkg.tar.xz' from mirror.archlinuxarm.org : 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.

Thoughts?  I'm used to apt, not pacman, but this seems like it might be something else.  Is it missing an "apt update" equivalent?  "apt update" is the first thing I usually have to do on a new install, but I guess it's different with pacman?

Any advice?


RE: new to pacman. Trying to install VIM, getting a 404 when it tries to download. - shulamy - 12-24-2022

i think pacman -Syu is apt update and apy upgrade

  your problem looks like internet problem so i would try to change the mirror

  ezik