You are not logged in.

#1 2009-11-04 09:58:12

sant527
Member
Registered: 2009-06-21
Posts: 273

pacman mirrorlist

Recently I have added the following link in the pacman mirrorlist /etc/pacman.d/mirrorlist

Server=http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/i686/

And I know the packages are there at this link. For example I could open the link for extra repository and download the file libsigc++2.0-2.2.3-1-i686.pkg.tar.gz from the browser.

but when I do pacman -S libsigc++2.0

It downloads a corrupt file and later asks to delete the corrupt file

Its a 4.3 mb file but a 2.2k file gets download.

What can be done

Offline

#2 2009-11-04 10:01:36

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

Re: pacman mirrorlist

run "file" on the downloaded file.   2.2k makes me think it is a small text file...

Offline

#3 2009-11-04 10:12:39

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: pacman mirrorlist

No it says its not in gzip format. Neither I can open with vi

Offline

#4 2009-11-04 10:22:25

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

Re: pacman mirrorlist

Strange.  Can you un-gzip it?  I am interested in what it contains...

Anyway, does changing mirror fix the issue?

Offline

#5 2009-11-04 12:56:42

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: pacman mirrorlist

Yes It works fine for the mirrors already in the mirror list by default.

Offline

#6 2009-11-04 12:59:24

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: pacman mirrorlist

I got the following reply from one of my friend: but I couldnt understand much.

You need to install rankmirrors (python script). And run /usr/sbin/rankmirrors against your mirrorlist or its backup to locate nearest and fastest mirrors. Then run pacman -Syy to refresh your dbase. Any changes to /etc/pacman.d/mirrorlist require pacman -Syy.

Also you need to go to https://users.archlinux.de/~gerbra/mirrorcheck.html to check whether the mirror is properly synced.

Currently the site cannot be reached. Some certificate errors.

HTH.
__________________
Learn walk before run!

Offline

#7 2009-11-04 14:05:28

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

Re: pacman mirrorlist

It looks like that mirror has not done a sync in 3 days.  It looks like something is just wrong with the mirror....   Easiest solution is just to pick a new one.

Offline

Board footer

Powered by FluxBB