You are not logged in.

#1 2008-02-07 16:09:09

antmon
Member
From: Portugal
Registered: 2008-02-07
Posts: 9

pacman doesn't upgrade

Hello!
I have just instaled the latest iso and i don't see any problem with my network but, pacman just gives me a timed out connection on the mirrolist.
I managed to upagrade pacman to 3.1.1 but that it.
Thank's for your help.


"I Just Wanna Do My Time"

Offline

#2 2008-02-07 16:12:21

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: pacman doesn't upgrade

Try setting a different mirror in /etc/pacman.d/mirrorlist by moving some other mirror to the top of the list.

Can you ping, for example, yahoo.com?

Offline

#3 2008-02-07 16:24:00

antmon
Member
From: Portugal
Registered: 2008-02-07
Posts: 9

Re: pacman doesn't upgrade

Yes, i can ping yahoo. Can some parameter about network configuration mess with pacman? I am connecting to the internet through a router, does it make any diference?


"I Just Wanna Do My Time"

Offline

#4 2008-02-07 17:00:51

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: pacman doesn't upgrade

Pacman uses standard ftp/http connections to get its packages.  If you're using an ftp mirror, try an http one instead.

Offline

#5 2008-02-07 20:36:35

antmon
Member
From: Portugal
Registered: 2008-02-07
Posts: 9

Re: pacman doesn't upgrade

When i make pacman -Syu it starts by saying that is synchronizing package databases and it just sites there. Then after some time it gives the error:failed retrieving file 'core.db.tar.gz' from all sites in the mirror list : connection timed out. Ideias anyone!?


"I Just Wanna Do My Time"

Offline

#6 2008-02-07 21:06:59

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 377

Re: pacman doesn't upgrade

As Cerebral said, put another mirror on top.
E.g. (and I know the devs hate me for this):
In /etc/pacman.d/mirrorlist
Server = ftp://ftp.archlinux.org/$repo/os/i686
or
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
as the first entry.
Cheers,
Blind

Offline

#7 2008-02-07 21:26:23

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: pacman doesn't upgrade

Blind wrote:

E.g. (and I know the devs hate me for this):

*shakes fist repeatedly*

Offline

#8 2008-02-07 21:51:46

antmon
Member
From: Portugal
Registered: 2008-02-07
Posts: 9

Re: pacman doesn't upgrade

Hi!
I did put a server near me at pacman.conf but nothing. then i tried what you said and nothing.
I'm getting really desperate since i bought this laptop for installing linux.
Another thing: what does it mean connection timed out!? If the site has the files why can't i get to it!?


"I Just Wanna Do My Time"

Offline

#9 2008-02-07 22:06:43

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 377

Re: pacman doesn't upgrade

Cerebral wrote:
Blind wrote:

E.g. (and I know the devs hate me for this):

*shakes fist repeatedly*

Hehehe....

antmon, I don't know.
1. Are you positive you have a connection?
2. Please post your pacman.conf...
3. ...and the first couple lines of /etc/pacman.d/mirrorlist

Cheers,
Blind

Offline

#10 2008-02-08 20:03:10

Cancel
Member
From: Canada
Registered: 2006-08-13
Posts: 15

Re: pacman doesn't upgrade

I think you ran into the same thing I did right after I installed. When you were in the set-up stage, did you use the same pacman mirror as used for the install? I ran into a problem when I did this on two machines. Here is my /etc/pacman.d/mirrorlist:

#
# Arch Linux repository mirrorlist
#

# United States
#Server = ftp://ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.nethat.com/pub/linux/archlinux/$repo/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/i686
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
.
. (I live in Canada so I don't use the other mirrors. maybe I should???)
.
.# Setup-Entry
#Server = 
#ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/mirrorlist/os/i686

The very last entry is what gave me problems. Remove the hashmarks from the mirrors that are closest to you and comment out the whole Setup entry. After that just run pacman -Sy.

It worked flawlessly for me.

I hope this helps....

Offline

#11 2008-02-08 21:12:37

antmon
Member
From: Portugal
Registered: 2008-02-07
Posts: 9

Re: pacman doesn't upgrade

Hi Guys!
Here is my pacman.conf.
If i'm sure i'm connected to the internet i can ping www.yahoo.com.

#
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir    = /
#DBPath    = /var/cache/pacman/
#CacheDir  = /var/log/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/wget  --passive-ftp -c -O %o %u

#
# REPOSITORIES
# ...
# ...
# ...
# ...
# ...
#
# Repository entries are of the format:
#        [repo-name]
#        Server = ServerName
#        Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# Testing is disable by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

# Unstable is disable by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[unstable]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

And the mirrorlist:

#
# Arch Lnux repository mirrorlist
#

# United States
Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = ftp://ftp.nethat.com/pub/linux/archlinux/$repo/os/i686
...
...

#Soutth America
# - Brazil
(another serie of uncommented Servers)

And Cancel i did try just one server near me and the result was the same.
Thanks!


"I Just Wanna Do My Time"

Offline

#12 2008-02-09 00:06:11

Cancel
Member
From: Canada
Registered: 2006-08-13
Posts: 15

Re: pacman doesn't upgrade

Did you have that last line there with the Setup Entry? If so was it commented out?

Offline

Board footer

Powered by FluxBB