You are not logged in.

#1 2012-03-22 15:44:46

kava
Member
Registered: 2011-06-10
Posts: 6

[SOLVED] how to install vim

I tried pacman -S vim
but error occured:

error: failed retrieving file 'vim-runtime-7.3...pkg.tar.xz ..............error 404

then I tried to add some more mirrors in the mirrorlist.
but nothing changed . How can I install vim now ?

Last edited by kava (2012-03-22 16:02:15)

Offline

#2 2012-03-22 15:48:53

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] how to install vim

You have outdated mirrors. Try selecting 2 or 3, then run

pacman -Syy

to force db update.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-03-22 15:49:19

nahiluhmot
Member
Registered: 2012-03-22
Posts: 6

Re: [SOLVED] how to install vim

Did you try doing a

 pacman -Syy 

first?

Last edited by nahiluhmot (2012-03-22 15:50:48)

Offline

#4 2012-03-22 16:01:48

kava
Member
Registered: 2011-06-10
Posts: 6

Re: [SOLVED] how to install vim

Thank you!  Problem solved!
I just installed this system several days ago so I didn't know I need to update the db.
Thanks a lot!

Offline

#5 2012-03-22 16:11:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] how to install vim

kava wrote:

I just installed this system several days ago so I didn't know I need to update the db.

Arch is a rolling release distro, so you have to update quite often. Remember to first update your system before installing any new packages.

Offline

#6 2012-03-22 17:04:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,636
Website

Re: [SOLVED] how to install vim

My advice is that you install reflector and use an alias to update your system.  See my bashrc in my sig for an example.  This way you ALWAYS have an updated mirror from which to pull.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2012-03-22 18:10:19

meph
Member
Registered: 2011-06-06
Posts: 160

Re: [SOLVED] how to install vim

Pacman is the core of Arch Linux, more or less all package management is done through it, including basic packages like the linux kernel. If you didn't know that you have to update the database, then you probably skipped a few articles on wiki. My reccomendation would be to read more on pacman, and also relevant parts of the beginner's guide (depending on your general linux knowledge), to avoid any problems in the future.


Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.

Offline

Board footer

Powered by FluxBB