You are not logged in.
Pages: 1
Im unable to upgrade my fresh installation of arch version 0.7.1 and pacman is unable to do so - it gets up-to-date lists but then it says "unable to connect" or "failed to retreive file". Network connection is ok, im even able to ping ftp.archlinux.org
I changed /etc/pacman.d/current to /etc/pacman..d/core, changed [current] to [core], added Server = ftp://ftp.archlinux.org/core/os/i686 to that file and changed everything abou current to core in pacman.conf.
The results stay unchanged.
Offline
First of all, don't use ftp.archlinux.org
Second of all, try upgrading pacman directly first:
$ export MIRROR="ftp://ftp.archlinux.org" # change to some mirror close to you - look in /etc/pacman.d/core
$ wget $MIRROR/core/os/i686/pacman-3.0.6-1-i686.pkg.tar.gz
$ wget $MIRROR/core/os/i686/libarchive-2.2.6-2-i686.pkg.tar.gz
$ wget $MIRROR/core/os/i686/libdownload-1.1-3-i686.pkg.tar.gz
$ sudo pacman -U pacman-3.0.6-1-i686.pkg.tar.gz libarchive-2.2.6-2-i686.pkg.tar.gz libdownload-1.1-3-i686.pkg.tar.gz
Last edited by Cerebral (2007-10-23 12:33:29)
Offline
As a comment, the last line, $ pacman -U pacman-3.0.6-1-i686.pkg.tar.gz libarchive-2.2.6-2-i686.pkg.tar.gz libdownload-1.1-3-i686.pkg.tar.gz, should be run as root (#). I do not think it will work as a user.
One other comment: If a person is upgrading from current, chances are they will not have a core file in /etc/pacman.d to examine. Still, looking in /etc/pacman.d/current, and substituting "core" for "current" in the path of the chosen ftp mirror will probably work fine.
Offline
As a comment, the last line, $ pacman -U pacman-3.0.6-1-i686.pkg.tar.gz libarchive-2.2.6-2-i686.pkg.tar.gz libdownload-1.1-3-i686.pkg.tar.gz, should be run as root (#). I do not think it will work as a user.
Oh, good call - yeah, I have 'pacman' aliased to 'sudo pacman' so I forget this step sometimes. Example fixed.
Offline
Pages: 1