You are not logged in.

#1 2008-03-10 23:03:39

alfie
Member
Registered: 2008-01-08
Posts: 8

setting up abs [SOLVED]

I am attempting to follow the setup procedure for ABS from the wiki but have stumbled at pretty much the first step.

I used pacman to get abs and adjusted /etc/abs/abs.conf to

#
# /etc/abs/abs.conf
#

# the top-level directory of all your PKGBUILDs
[ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"

#
# Supfiles to be parsed by abs (in this order)
#   (prefix a module with a ! to disable it)
#
SUPFILES=(core extra !unstable community !testing)

but when I run

#abs

the system sits for a while before returning

==> Updating core...
Cannot connect to 1.0.0.0: Connection timed out
==> ERROR: An unknown error has occured. Exiting...

I have searched the forums for the error message and google but cannot see what is wrong.

I read through the wiki page and tried reinstalling wget and cvsup but still got the same error.

Can someone please point me in the right direction

Thanks

Last edited by alfie (2008-03-11 22:41:35)

Offline

#2 2008-03-10 23:14:08

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: setting up abs [SOLVED]

Don't think this is anything to do with your installed packages. Maybe the server is down or some firewall related problem (restricted outgoing connections, or maybe ICMP blocked, although that last one is unlikely to have an effect).

Last edited by dyscoria (2008-03-10 23:14:39)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2008-03-11 01:19:28

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: setting up abs [SOLVED]

Is your internet connection working fine otherwise?

Offline

#4 2008-03-11 09:11:50

alfie
Member
Registered: 2008-01-08
Posts: 8

Re: setting up abs [SOLVED]

The internet connection works although I have in the past had issues with package management systems on other distros (Mandrake/Mandriva) had difficulty connecting to repositories.

I have had no issues at all with Arch so far but would not rule out a firewall issue. I am afraid my networking knowledge is very poor so if you could give me some pointers as to which ports should be open or other places to look I would be grateful.

I can I check outgoing connections?

Thanks

Offline

#5 2008-03-11 09:40:15

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: setting up abs [SOLVED]

Look into /etc/abs. It should include a supfile.<nameoftherepo> for each repo. In the supfile a line define the default host, which should be cvs.archlinux.org.
Post here one of them, e.g. /etc/abs/supfile.core, so we can verify its integrity

Last edited by patroclo7 (2008-03-11 09:40:55)


Mortuus in anima, curam gero cutis

Offline

#6 2008-03-11 19:41:19

alfie
Member
Registered: 2008-01-08
Posts: 8

Re: setting up abs [SOLVED]

Sorry for the delay (pesky work stuff getting in the way again)

my /etc/abs/supfile.core contians:

#
# supfile.core
#

# this is the host containing the core PKGBUILD files
*default host=cvs.archlinux.org

*default release=cvs
*default delete
*default use-rel-suffix
*default compress
#*default umask=002

*default tag=CURRENT
core

Thanks

Offline

#7 2008-03-11 19:53:43

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: setting up abs [SOLVED]

Alas it looks fine, so this is not the issue.


Mortuus in anima, curam gero cutis

Offline

#8 2008-03-11 19:55:01

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: setting up abs [SOLVED]

Hmmm, very odd. Do you have a firewall running? Are you behind a router?


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#9 2008-03-11 19:55:43

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: setting up abs [SOLVED]

...also, make sure that all IP blocking software and such is disabled when you run the abs command.

Offline

#10 2008-03-11 20:55:59

alfie
Member
Registered: 2008-01-08
Posts: 8

Re: setting up abs [SOLVED]

I am behind a router and there is a firewall set up on the router, I do not believe I am running any IP blocking software.

I was looking at the abs script and thought I would try the csup command on its own and increased the verbosity and it does appear to be hanging at the point of connection (my router flashes a little but not much.

I think I will try without the firewall to see if that is causing the problem and if so work out from there what should be enabled that isn't.

thanks

Offline

#11 2008-03-11 22:38:47

alfie
Member
Registered: 2008-01-08
Posts: 8

Re: setting up abs [SOLVED]

Thanks for all your help, I have this solved now.

Just for info the problem was that the router has a buggy implementation of DNS in that if you use it for local network DNS then for certain applications (e.g. wget and apparently csup) it will insist on trying to resolve all addresses without using the external DNS that has been set.

This apparently only affects Linux, it works in Windows (see [url=http://www.dslreports.com/forum/remark,12484917]link[url])

The resolution - of sorts, was to add

66.211.213.17           cvs.archlinux.org

to my /etc/hosts file which enables it to be resolved correctly.

To help anyone searching the router is a DLink DSL-G604T although this bug also affects the G504T model

Interestingly, if I take the firewall off completely I have no access at all outside my local network but I think this is another topic more suited to a DLink forum.

Thanks again for all your help, you got me thinking in the right direction

edit: corrected code line

Last edited by alfie (2008-03-11 22:41:17)

Offline

Board footer

Powered by FluxBB