You are not logged in.
[bryan@ArchVue ~]$ sudo pacman -Syy
:: Synchronizing package databases...
core 39.2 KiB 784K/s 00:00 [######################] 100%
extra 39.2 KiB 784K/s 00:00 [######################] 100%
community 39.2 KiB 784K/s 00:00 [######################] 100%
multilib 39.2 KiB 784K/s 00:00 [######################] 100%
archlinuxfr 15.2 KiB 55.1K/s 00:00 [######################] 100%
I know that it's not the right size, but nevertheless, pacman downloads all packages on this size.
EDIT : The issue is solved by regenerating the mirrorlist file using
curl -o /etc/pacman.d/mirrorlist https://www.archlinux.org/mirrorlist/all/
and then edit
nano /etc/pacman.d/mirrorlist
then uncommenting the 3 servers from worldwide.
Last edited by gbry (2017-05-20 06:11:21)
Offline
behind some captive portal or similar? Run `file` on the databases (also don't use [archlinuxfr]
Edit: also, tried to simply change mirror?
Last edited by Mr.Elendig (2017-05-18 12:13:09)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
More likely the captive portal as archlinux.fr is not mirrored (AFAIK) so they main repos and that beast would be retrieved from different sources. They are both failing, so the problem is on the local end.
EDIT: oops, the below is correct. 15K seemed small to me - but that does seem to be the size of the archlinux.fr database.
Last edited by Trilby (2017-05-18 16:12:52)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
archlinuxfr actually looks as though it worked given different speeds and download size that all the other repos.
I'm going to guess that running "file" on the database says it is an html file and if you look into it you will see an nginx 301 page. Oddly specific!
Offline
Ha, it is!
file /var/lib/pacman/sync/community.db
/var/lib/pacman/sync/community.db: HTML document, ASCII text, with very long lines
But anyway, tried to change mirror (it's as simple as deleting the ## before the country in the mirrorlist, right?)
But still, the same size was retrieved. I've also deleted the archlinuxfr repo, but no avail.
EDIT1 : So I opened the .db file, which, as we know, an HTML file, and one of the lines state that everytime pacman tries to download the databases, it gets redirected to a "page not found" page for my country. Strange. I'll try to use VPN.
Edit2 : Wait, so changing mirrorlist is uncommenting the (Server = ) line? If it is, then all my mirrors are already uncommented ._.)
Last edited by gbry (2017-05-20 02:54:35)
Offline
If all your mirrors are currently uncommented, try commenting out the first one so that the second mirror will be used. That way you can at least see if it is a mirror issue. Make sure you do
pacman -Syy
to ensure pacman downloads all the files again.
Offline
If all your mirrors are currently uncommented, try commenting out the first one so that the second mirror will be used. That way you can at least see if it is a mirror issue. Make sure you do
pacman -Syy
to ensure pacman downloads all the files again.
so... commenting 100+ lines? Nah, thanks man.
But anyway, I always do
pacman -Syy
after every attempt to fix this issue using all the things I described above, and up until now, no go.
Haven't tried the vpn solution though.
Last edited by gbry (2017-05-20 05:57:30)
Offline
Pacman is only using the top uncommented mirror of that file. Comment it out to confirm it is not a single mirror that is an issue.
Offline
Sorry for being rude, Circleface.
Everyone, this is fixed by regenerating the mirrorlist file, therefore starting out fresh with the organized file, and I used the worldwide mirror. Sadly, I cannot say which mirror caused the trouble beforehand.
Offline
...also don't use [archlinuxfr]...
I've read this before, but may I ask why not?
Offline
Sorry for being rude, Circleface.
No hard feelings
But what I meant was just comment out the first mirror, not all of them
Offline
Mr.Elendig wrote:...also don't use [archlinuxfr]...
I've read this before, but may I ask why not?
Contains packages that build against old repository versions, preventing successful updates, amongst other issues such as being a general tax on the community.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline