LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-31-2017, 09:30 AM   #1
hnrv2
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)
https://i.imgur.com/ziAcX1p.png

I have internet connection plus I'm using the Ethernet straight from the router to my computer.
https://i.imgur.com/n1kjuAh.png

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, 01:36 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,393
Blog Entries: 10

Rep: Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212
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, 07:06 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,767

Rep: Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571Reputation: 3571
Depending on where you are in the world, mirrors are a major consideration - pick one close.
 
Old 06-01-2017, 02:15 AM   #4
remma12
Member
 
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-02-2017, 11:38 PM   #5
Cyberjackal
Member
 
Registered: Aug 2013
Location: Rocky Mountains, USA
Distribution: Arch, FreeBSD, Red Hat, Fedora, Void
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 12:06 AM.
 
  


Reply


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 10:54 PM
Where can I get more "sources" for my apt-get thing and my arch pacman? Master_CAPS Linux - Newbie 1 10-19-2012 11:53 PM
[SOLVED] Arch 'pacman -Su' Error: "glibc: /lib exists in filesystem" ham bone Linux - Newbie 5 07-22-2012 09:40 PM
[SOLVED] Is there any way to "roll back" a pacman -Syu update?? MrCode Arch 4 10-08-2010 10:17 PM
Seeking for "Synchronise" and "patients" projects/scripts of Visual Basic LAN-Dominator.nl Programming 2 07-05-2008 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 PM.

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