You are not logged in.

#1 2014-02-16 03:40:25

michaelwm
Member
Registered: 2014-02-16
Posts: 2

pacman not working while installing grub

I've been trying to install arch on my laptop. I've done everything up to the point where I should use a boot loader, and after trying

# pacman -S grub

, pacman successfully finds the library, then asks my Y/n. After I answer Y, I get several "Could not resolve host" errors. However, any other package, Including;

# pacman -S iw

, 

# pacman -S dialog

, 

# pacman -S wpa_supplicant

, and even

# pacman -S pacman

work fine. I have no idea how to fix this.

Last edited by michaelwm (2014-02-16 03:43:14)

Offline

#2 2014-02-16 03:41:14

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pacman not working while installing grub

Have you enabled some mirrors in /etc/pacman.d/mirrorlist  ?? Use a different mirror. Remember only the first one where the package is found is used. The rest are ignored.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2014-02-16 03:42:06

michaelwm
Member
Registered: 2014-02-16
Posts: 2

Re: pacman not working while installing grub

Inxsible wrote:

Have you enabled some mirrors in /etc/pacman.d/mirrorlist  ??

Yes, I live in Canada and uncommented all mirrors and even added a few from archs mirrorlist.

Inxsible wrote:

Have you enabled some mirrors in /etc/pacman.d/mirrorlist  ?? Use a different mirror. Remember only the first one where the package is found is used. The rest are ignored.

Just tried using only a single mirror in mirrorlist a few times, and it still doesn't work. I find the package, get asked Y/n, then cannot complete the installation.

Last edited by michaelwm (2014-02-16 03:44:52)

Offline

#4 2014-02-16 05:46:32

tylerstrayhan
Member
Registered: 2012-04-16
Posts: 29

Re: pacman not working while installing grub

Try pacman -Syy and then try installing grub.

Offline

Board footer

Powered by FluxBB