You are not logged in.

#1 2013-08-04 10:19:35

xabp1234
Member
Registered: 2013-08-04
Posts: 2

Pacman fails to retrieve package list from mirror [Arch in Virtualbox]

I'm trying to install Arch under Virtualbox. I can create and mount partitions, but everytime I refresh my package list with pacman -Syy, I get the "failed retrieving file core.db" for each mirror in my mirrorlist.

- My Virtualbox network adapter is set to NAT.
- I'm behind my college's proxy (proxy.********.ac.in:8080)
- I've tried writing to the /etc/environment to configure http, ftp and https proxies.
- I've tried modifying the mirrorlist, placing the nearest server (mirror.cse.iitk.ac.in) at the top.
- I can ping www.google.com successfully, but when I try to ping  mirror.cse.iitk.ac.in , it shows destination port unreachable. (from within my virtualbox install, as well as on my host machine)

Kindly advise.

xabp

Last edited by xabp1234 (2013-08-04 10:24:42)

Offline

#2 2013-08-04 11:01:11

xabp1234
Member
Registered: 2013-08-04
Posts: 2

Re: Pacman fails to retrieve package list from mirror [Arch in Virtualbox]

Here's how I got it working.

PROXY='proxy.******.ac.in:8080'
export HTTP_PROXY="$PROXY"
export http_proxy="$PROXY"

Offline

Board footer

Powered by FluxBB