You are not logged in.

#1 2008-09-29 06:17:34

alcy
Member
Registered: 2008-09-29
Posts: 3

Pacman not working ?

Hey, I am new to Arch Linux and very much like its concept.

After installation, I typed pacman -Sy to get the latest packages database....but it didn't happen. There was a connection time out error while trying to retrieve information.

And then I tried
pacman -S xorg, which gave the message _package 'xorg' not in sync db_

I am connected to the Internet as I do have successful ping test, so I guess there's something wrong with pacman configuration ?

Any help greatly appreciated. smile

Offline

#2 2008-09-29 09:28:56

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Pacman not working ?

This does like a network problem to me.  A long shot, but try a different mirror in /etc/pacman.d/mirrorlist.  An http one can be good if you are behind a firewall.

If that does not work, give us the information on how you are trying to connect and the relevant configuration files (esp. network section of /etc/rc.conf).

Offline

#3 2008-09-30 09:28:47

alcy
Member
Registered: 2008-09-29
Posts: 3

Re: Pacman not working ?

Hey, I tried commenting out the ftp servers, keeping the http ones. No success.

Here's the n/w part of rc.conf. I do get the IP address assigned and I am able to ping www.<site>.com

# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0=dhcp
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

Offline

#4 2008-09-30 18:45:44

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: Pacman not working ?

did u try type:
pacman -Syu
or try the force option

what does the 'ifconfig -a' and 'route' command print

Offline

#5 2008-09-30 19:29:40

alcy
Member
Registered: 2008-09-29
Posts: 3

Re: Pacman not working ?

I did try pacman -Syu, no success.

ifconfig -a

eth0      Link encap:Ethernet  HWaddr ^&#*()#  
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1730 (1.6 Kb)  TX bytes:1722 (1.6 Kb)
          Interrupt:18 Base address:0x6c00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr *(^#$#  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wmaster0  Link encap:UNSPEC  HWaddr &#*#  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         10.0.0.1        0.0.0.0         UG    0      0        0 eth0

Offline

#6 2008-09-30 23:36:35

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Pacman not working ?

Are you behind a firewall?  On a corporate/university network?

Offline

#7 2008-09-30 23:57:24

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,128
Website

Re: Pacman not working ?

Have you tried changing the order of the uncommented servers in /etc/pacman.d/mirrorlist? Move one that should be near you to the top of the file, above all other servers.

Offline

#8 2008-10-01 05:40:16

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: Pacman not working ?

did you say you can ping one of the servers in the mirrorlist
if you cant ping one of the mirrorlist servers then it must be something wrong with pacman, i suggest check the iso's m5d and also cd's md5 and reinstall if values are all the same.

Offline

Board footer

Powered by FluxBB