0

I'm still a pretty big noob when it comes to everything unix / command line related however I am attempting to download Vim via command line and I keep getting the following errors:

Ign:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 vim-runtime all 2:8.2.3995-1ubuntu2.7
Ign:2 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 vim amd64 2:8.2.3995-1ubuntu2.7
Ign:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 vim-runtime all 2:8.2.3995-1ubuntu2.7
Err:2 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 vim amd64 2:8.2.3995-1ubuntu2.7
  404  Not Found [IP: 91.189.91.38 80]
Ign:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 vim-runtime all 2:8.2.3995-1ubuntu2.7
Err:1 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 vim-runtime all 2:8.2.3995-1ubuntu2.7
  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-runtime_8.2.3995-1ubuntu2.7_all.deb  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim_8.2.3995-1ubuntu2.7_amd64.deb  404  Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Only other posts I've found encountering similar issues are due to outdated OS or using a proxy, both of which are not applicable in my case, however I am inclined to believe it is a network issue. Just not sure how to even start

mook765
  • 14,911
  • 5
  • 35
  • 67
  • 2
    Run `sudo apt update`. Your repository information is outdated, and you always should run `sudo apt update` before running any package install commands to make sure you have the latest information on available packages. – Thomas Ward Aug 07 '23 at 22:38
  • Do: `apt-cache search vim`. It will provide a list of all installable `vim*` packages. – waltinator Aug 08 '23 at 03:49
  • 2
    Your apt sources are a mess, which is why you have so many apt errors. See [How do I restore the default repositories?](https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories) – user535733 Aug 08 '23 at 04:09

0 Answers0