You are not logged in.

#1 2015-02-08 18:26:15

Greenstuff
Member
From: Israel
Registered: 2009-06-30
Posts: 64

[SOLVED] Pacman failed retrieving file 'core.db' after removing KDE

Hey, I had to remove KDE and foolishly used the -Rsc flag. Now, trying to update yields:

[root@Gal-PC2 gal]# pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.isoc.org.il : Resolving timed out after 10524 milliseconds
error: failed retrieving file 'core.db' from mirror.us.leaseweb.net : Resolving timed out after 10523 milliseconds

I tryed using the -Sy and -Syy flags to update the database, and made sure I am not using ipv6. I think the -Rsc flag might deleted an importent package. I can connect to the net, and I can acess mirrors using http and I can ping the mirrors. The error persists on a large number of mirrors. Any help will be appriciated.

Last edited by Greenstuff (2015-02-08 20:49:24)

Offline

#2 2015-02-08 19:25:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman failed retrieving file 'core.db' after removing KDE

When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Use 'pacman -Syu' instead of 'pacman -Sy'.
https://bbs.archlinux.org/viewtopic.php?id=89328                                                         
https://bbs.archlinux.org/viewtopic.php … 5#p1072495                                             
http://gist.io/5660494                                                                                   

Add '--debug' and post the output.

Offline

#3 2015-02-08 19:31:29

Greenstuff
Member
From: Israel
Registered: 2009-06-30
Posts: 64

Re: [SOLVED] Pacman failed retrieving file 'core.db' after removing KDE

Sorry, will do!
The debug printed a lot of the first errors, so I cut them. This is what pacman --Syu --debug show:

debug: adding new server URL to database 'multilib': [url]http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.ds.hj.se/pub/os/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.uni-kl.de/pub/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.tu-chemnitz.de/pub/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://mirror.lnx.sk/pub/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://mirrors.st.uz/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://mirrors.mithril.org.ua/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.uni-bayreuth.de/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://artfiles.org/archlinux.org/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://repo.ukdw.ac.id/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://linux.cs.nctu.edu.tw/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.kaist.ac.kr/ArchLinux/multilib/os/x86_64[/url]
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: [url]http://mirror.isoc.org.il/pub/archlinux/core/os/x86_64/core.db[/url]
debug: maxsize: 26214400
debug: using time condition: 1422991262
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'core.db' from mirror.isoc.org.il : Resolving timed out after 10523 milliseconds
debug: url: [url]http://mirror.us.leaseweb.net/archlinux/core/os/x86_64/core.db[/url]
debug: maxsize: 26214400
debug: using time condition: 1422991262
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)

EDIT: SOLVED!
Ok, so I did indeed disable ipv6 as I promised, but turns out I put in the GRUB kernel line "ipv6.disable_ipv6=1". Upon re-reading the wiki, turns out this means ipv6 is disabled but tunnels with ipv6 may be opened by programs. I changed to "ipv6.disable=1" and pacman updates away! I hope others will find this usefull. Be careful!

Last edited by Greenstuff (2015-02-08 20:52:45)

Offline

Board footer

Powered by FluxBB