You are not logged in.

#1 2006-10-22 16:28:01

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Can't syncronize pacman [solved]

Since yesterday i'm getting this error every time i try to syncronize pacman:

:: Synchronizing package databases... 
:: testing is up to date
:: current is up to date

failed downloading extra.db.tar.gz from ftp.archlinux.org: Input/output error


failed downloading extra.db.tar.gz from ftp.ibiblio.org: Input/output error

connect: Connection refused
error: cannot connect to archlinux.antesis.org
*** glibc detected *** pacman: munmap_chunk(): invalid pointer: 0x08138c40 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7eab750]
pacman[0x80604ee]
pacman[0x805b731]
pacman[0x805bfc6]
pacman[0x8051d73]
pacman[0x8055335]
/lib/libc.so.6(__libc_start_main+0xd8)[0xb7e5d808]
pacman[0x804a0a1]
======= Memory map: ========
08048000-0806b000 r-xp 00000000 03:02 285666     /usr/bin/pacman
0806b000-0806c000 rw-p 00023000 03:02 285666     /usr/bin/pacman
0806c000-08156000 rw-p 0806c000 00:00 0          [heap]
b7e05000-b7e0f000 r-xp 00000000 03:02 282450     /usr/lib/libgcc_s.so.1
b7e0f000-b7e10000 rw-p 00009000 03:02 282450     /usr/lib/libgcc_s.so.1
b7e10000-b7e1e000 r-xp 00000000 03:02 98129      /lib/libresolv-2.4.so
b7e1e000-b7e20000 rw-p 0000d000 03:02 98129      /lib/libresolv-2.4.so
b7e20000-b7e22000 rw-p b7e20000 00:00 0 
b7e22000-b7e26000 r-xp 00000000 03:02 98130      /lib/libnss_dns-2.4.so
b7e26000-b7e28000 rw-p 00003000 03:02 98130      /lib/libnss_dns-2.4.so
b7e28000-b7e30000 r-xp 00000000 03:02 98132      /lib/libnss_files-2.4.so
b7e30000-b7e32000 rw-p 00007000 03:02 98132      /lib/libnss_files-2.4.so
b7e47000-b7e48000 rw-p b7e47000 00:00 0 
b7e48000-b7f62000 r-xp 00000000 03:02 98116      /lib/libc-2.4.so
b7f62000-b7f64000 r--p 00119000 03:02 98116      /lib/libc-2.4.so
b7f64000-b7f66000 rw-p 0011b000 03:02 98116      /lib/libc-2.4.so
b7f66000-b7f69000 rw-p b7f66000 00:00 0 
b7f69000-b7f7a000 r-xp 00000000 03:02 283654     /usr/lib/libz.so.1.2.3
b7f7a000-b7f7b000 rw-p 00011000 03:02 283654     /usr/lib/libz.so.1.2.3
b7f7b000-b7f7c000 rw-p b7f7b000 00:00 0 
b7f80000-b7f91000 rw-p b7f80000 00:00 0 
b7f91000-b7fab000 r-xp 00000000 03:02 98115      /lib/ld-2.4.so
b7fab000-b7fac000 r--p 00019000 03:02 98115      /lib/ld-2.4.so
b7fac000-b7fad000 rw-p 0001a000 03:02 98115      /lib/ld-2.4.so
bf8e3000-bf8f9000 rw-p bf8e3000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
zsh: abort      pacman -Syu

I have no idea what it means. May someone please give me a hand?


All your base are belong to us

Offline

#2 2006-10-22 16:36:52

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Can't syncronize pacman [solved]

Usually I get that when the mirror it's trying to access is down / not working. Try switching your mirror list around and then try.

Offline

#3 2006-10-22 17:44:52

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Can't syncronize pacman [solved]

I made a sortmirrors, and now i get the same, but with more sites errors:

failed downloading extra.db.tar.gz from ftp.ibiblio.org: Input/output error


failed downloading extra.db.tar.gz from ftp.heanet.ie: Input/output error


failed downloading extra.db.tar.gz from ftp.belnet.be: Input/output error


failed downloading extra.db.tar.gz from sunsite.icm.edu.pl: Input/output error


failed downloading extra.db.tar.gz from ftp.ntua.gr: Input/output error


failed downloading extra.db.tar.gz from mirror.icis.pcz.pl: Input/output error


failed downloading extra.db.tar.gz from ftp.tu-chemnitz.de: Input/output error


failed downloading extra.db.tar.gz from ftp.estpak.ee: Input/output error


failed downloading extra.db.tar.gz from cle.linux.org.tw: Input/output error

All your base are belong to us

Offline

#4 2006-10-22 17:53:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Can't syncronize pacman [solved]

Mebbe try .....pacman -Sy pacman..... and reload pacman?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2006-10-22 18:08:40

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Can't syncronize pacman [solved]

pacman -Sy gave me same error, so i made

pacman -S pacman

with no luck


All your base are belong to us

Offline

#6 2006-10-22 18:15:06

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Can't syncronize pacman [solved]

have you tried using wget to retrieve the files? Uncomment it in /etc/makepkg.conf. You could also try pacman.static. It has the libraries compiled in.

Offline

#7 2006-10-22 18:39:51

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Can't syncronize pacman [solved]

Using wget syncronized everything but extra:

extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
extra.db.tar.gz.part: Input/output error
failed to synchronize extra

pacman.static gave the same error posted above.

Is there maybe something wrong with extra repo??


All your base are belong to us

Offline

#8 2006-10-22 19:33:28

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Can't syncronize pacman [solved]

Try downloading that file manually using a straight wget with no options.

Offline

#9 2006-10-22 19:48:50

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Can't syncronize pacman [solved]

Yeah, it downloaded well... so i guest there where something wrong with my local extra. Since i'm using pactools to "cage" pacman's databases, i decided to uncage it to view what was going on there. Here's the output:

root@myhost> pt-pacman-uncage                                      /home/martin
==> md5sum'ing the old database...
md5sum: /var/lib/pacman/extra.db.tar.gz.part: Input/output error
==> copying pacman.db contents back, note: the time needed to get a brew is now.
cp: cannot stat `/var/lib/pacman/./extra.db.tar.gz.part': Input/output error
==> unmounting old dbroot and moving new one in
==> md5sum'ing the new database...
==> checking integrity...
==> Removing old pacman.db

Then, i made a pacman -Sy with no problems. Finally, i caged pacman's db again and it's now working fine, as before.

I don't understand well why it gave me such strange error when the db was corrupted, i find that weird    :?

Thanks a lot for all the answers!!


All your base are belong to us

Offline

Board footer

Powered by FluxBB