You are not logged in.

#1 2004-12-28 16:04:26

carl
Member
From: Denmark
Registered: 2004-02-21
Posts: 31
Website

I can´t install packages from ftp

Hi.
I have just installed the base system from ftp - no problem there, but i can´t install other packages. from ftp.
My computer is an old computer Pentium II with scsi.(and I chose kernel26 ide-scsi) I can see by using "dmesg" that it finds my scsi card and mondule (Adaptes AIC7xxx) and my eth0 card (3Com PCI 3c905c Tornado)

I have done this.
pacman --clean
pacman --refresh
pacman -S iptables
but the output say,error: could not open sync database:testing have you used --refresh yet?

my /etc/pacman.conf
testing
Server = ftp://ftp.arclinux.de/pub/archlinux/testing/os/i686/

current
Server = ftp://ftp.arclinux.de/pub/archlinux/current/os/i686/

extra
Server = ftp://ftp.arclinux.de/pub/archlinux/extra/os/i686/

my /etc/rc.conf
#networking
Hostname ="dronning"
Modules="(!usbserial ide-scsi)
lo=" lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
gateway="default gw xx.xx.xxx.xx" (my router ip number, who is static)
ROUTES=(gateway)
DAEMONS=(syslog-ng hotplug !pcmcia network netfs cround)

my /etc/modprobe.conf
alias eth0 3c905C-TX/TX-M

What have I done wrong?

Carl Andersen

Offline

#2 2004-12-28 16:08:55

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: I can´t install packages from ftp

switch your ftp adresses to this

[current]
Server = ftp://ftp.belnet.be/packages/archlinux/current/os/i686

[extra]
Server = ftp://ftp.belnet.be/packages/archlinux/extra/os/i686

and also disable your gatway,


arch + gentoo + initng + python = enlisy

Offline

#3 2004-12-28 16:58:31

carl
Member
From: Denmark
Registered: 2004-02-21
Posts: 31
Website

Re: I can´t install packages from ftp

I switch too
[current]
Server = ftp://ftp.belnet.be/packages/archlinux/current/os/i686

[extra]
Server = ftp://ftp.belnet.be/packages/archlinux/extra/os/i686

And sat a #
#gateway="default gw xx.xx.xxx.xx" (my router ip number, who is static)
#ROUTES=(gateway)
reboot the computer

And do this agin
pacman --clean
pacman --refresh
pacman -S iptables
error: could not open sync database:testing have you used --refresh yet?

The same problem agin sad 

Carl Andersen

Offline

#4 2004-12-28 17:08:12

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: I can´t install packages from ftp

you disable gateway like this

ROUTES=(!gateway) 

and you should also comment out testing repo

#[testning]
#ftp://ftp.belnet.be/packages/archlinux/extra/os/i686 

after you done this try and ping the net

€ ping -c 3 www.kernel.org

if ping works your network is ok and pacman should work too,

good luck

Edit: here are some basic pacman commands:

pacman -Sy , syncronise the mirrors,

pacman -Su , upgrade all packages in your box ,

pacman -S foo , installs foo with deps ,

Edit2: You could also put your eth0 module in the modules array in rc.conf,


arch + gentoo + initng + python = enlisy

Offline

#5 2004-12-28 18:54:50

carl
Member
From: Denmark
Registered: 2004-02-21
Posts: 31
Website

Re: I can´t install packages from ftp

I have solved the  problem
.my /etc/modprobe.conf
alias eth0 3c905C-TX/TX-M (its wrong) The right combination is
alias eth0 3c905C

pacman -Sy
pacman -S iptables
The package downloads an install on the computer, Thanks for your help

big_smile  For five years I have worked with Linux, but it is always dificult with a new Linux distribution. wink

Carl Andersen

Offline

#6 2004-12-29 20:25:04

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: I can´t install packages from ftp

you really should consider loading all your necessary modules via the MODULES=() array in rc.conf.  rc.conf is like your command center for module loading, network configuring, and daemons control. It is far easier than dealing with all the silly syntax of modprobe/modules.conf or whatever.

rc.conf is what I loved best about Arch.


AKA uknowme

I am not your friend

Offline

#7 2004-12-30 18:15:49

carl
Member
From: Denmark
Registered: 2004-02-21
Posts: 31
Website

Re: I can´t install packages from ftp

Yes, I have found out its better to put it in /etc/rc.conf  thanks

Offline

Board footer

Powered by FluxBB