Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-31-2017, 10:30 AM   #1
LQ Newbie
Registered: May 2017
Posts: 1

Rep: Reputation: Disabled
Question Arch Linux : Pacman -Syu "failed to synchronise any databases"

Hello, before I get started I would like to say I'm a complete noob with Linux in general but anyway I keep coming across an error which is stopping me installing arch Linux. I've been searching online for 5 days straight hoping someone else has had the same problem, I found a few but did not give me any information on how to fix or get around this problem.

I've been following the arch Linux guide and YouTube hoping one of them will work but nothing never did.
Here is a screenshot (I took this in a VB but it's the same if I boot from a USB)

I have internet connection plus I'm using the Ethernet straight from the router to my computer.

I have no clue on whats going on but I truly hope that you guys could help because this could help someone else who as the same problem thanks
Old 05-31-2017, 02:36 PM   #2
LQ Addict
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
with respect to this guide (and you should follow it slavishly, and use no other), at which step does this happen?
and which .iso are you using?

fwiw, it looks like you have internet connectivity alright, but are missing some pgp keys for the repo databases.
1 members found this post helpful.
Old 05-31-2017, 08:06 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,006

Rep: Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099Reputation: 4099
Depending on where you are in the world, mirrors are a major consideration - pick one close.
Old 06-01-2017, 03:15 AM   #4
Registered: May 2017
Distribution: Arch
Posts: 65

Rep: Reputation: 28
You are not in the chroot in your screenshot if memory serves pacman doesn't like running outside of it

Have you pacstrapped yet? If so process to the point where you arch-chroot /mnt THEN try pacman -Syu
Old 06-03-2017, 12:38 AM   #5
Registered: Aug 2013
Location: Rocky Mountains, USA
Distribution: Arch, FreeBSD, EndeavourOS, Gecko, OpenSUSE, pfSense
Posts: 50

Rep: Reputation: Disabled
Why are you in the Arch iso? You should only be running that command once you have Arch Linux fully installed.

Do what you need to in order to get your drives/partitions sorted, then:
# "pacstrap /mnt base base-devel" (this will dl & install the base Linux system)
# "arch-chroot /mnt"
Then go through the rest of the installation process...

If you would've been inside of your actual install instead of the iso, I would've suggested updating the mirrorlist to what's available for your country on the Arch wiki's mirrorlist generator. Copy & paste all text the generator offers up and replace ALL text inside:
# nano /etc/pacman.d/mirrorlist
And I wouldn't unmark more than 5 chosen mirrors.
You can also add more you know (like "archlinuxfr"), enable multilib or testing repos, etc., by editing:
# nano /etc/pacman.conf

I also prefer running the following command for updating/resyncing/refreshing everything at the same time anyway (pretty much every couple days I update my system & run it):
$ sudo pacman -Syyu

The Arch wiki and search engines like DuckDuckGo & Google (even video walkthroughs on Youtube) are your friends bud

Last edited by Cyberjackal; 06-03-2017 at 01:06 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to load kernel modules on arch after "pacman -Syu" imu96 Linux - Kernel 6 04-03-2013 11:54 PM
Where can I get more "sources" for my apt-get thing and my arch pacman? Master_CAPS Linux - Newbie 1 10-20-2012 12:53 AM
[SOLVED] Arch 'pacman -Su' Error: "glibc: /lib exists in filesystem" ham bone Linux - Newbie 5 07-22-2012 10:40 PM
[SOLVED] Is there any way to "roll back" a pacman -Syu update?? MrCode Arch 4 10-08-2010 11:17 PM
Seeking for "Synchronise" and "patients" projects/scripts of Visual Basic Programming 2 07-05-2008 08:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration