Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Discussions related to using VirtualBox on Linux hosts.
Post Reply
karentutor
Posts: 6
Joined: 4. Apr 2017, 23:09

Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by karentutor »

Hi

I have successfully installed Virtual Box 5.1.

I am now trying to perform the command dnf groupinstall "Web Server"

However, I keep getting the following error:

Error: Failed to Synchronize Cache for repo 'updates'

I then tried to do any dnf command, installing another type of program, they all failed.

I have tried editing my fedora.repo file = but most of the threads I have reviewed seem outdated (i.e. v24).

Any suggestions?

ps - I am a novice, but can access and edit documents with vi
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by socratis »

Do you have internet connection in the guest?
Can you ping 8.8.8.8 and google.com?
If so, then VirtualBox networking is working and your question is purely a Fedora one.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
karentutor
Posts: 6
Joined: 4. Apr 2017, 23:09

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by karentutor »

Hi errr thanks for that.

I guess I don't and here I was messing around with my repo files :)

I will try to fix that next!

Thanks
karentutor
Posts: 6
Joined: 4. Apr 2017, 23:09

Not able to access Internet

Post by karentutor »

Hi

I am a novice :(

I am trying to access the internet using virtualbox and it looks ok using ifconfig

I have virtualbox 5.1 installed on my host Fedora25.

In the virtualbox (guest) when I type ifconfig all seems to be ok:

enp03: flags=4163<UP, BROADCAST, RUNNING, MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255

However, I cannot connect to the internet in my browser.

I have looked at NAT and it appears to be all set to default, plus I can access browser from the host (Fedora 25).

Any suggestions on what I can change / configure to make this work?

thank you!
Karen
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Not able to access Internet

Post by Perryg »

Can you ping 8.8.8.8 in the guest? Then can you ping google.com?

If the address returns positive but not the friendly name then it would be a DNS issue.

It would also help if you post the guests log file ( as an attachment )
karentutor
Posts: 6
Joined: 4. Apr 2017, 23:09

Re: Not able to access Internet

Post by karentutor »

Thanks

You guys are lightning fast. I'll try it again as soon as I get home again this evening.

As to the logs, I can't access the internet so can't easily copy and paste between terminal (guest) and internet (host) as I have not yet managed to get the bidirectional copy and paste functioning.

I will try first step without the logs and if no joy- will try to post them.

Thanks!
Karen
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Not able to access Internet

Post by socratis »

Just to make sure we're in the same page, when mpack Perryg refers to the guest logs, he's talking about right-clicking on the VM in the VirtualBox Manager and select "Show Log". Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
 Edit: Don't confuse the green people ;) 
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by socratis »

BTW, I merged this topic with yesterday's topic. It is the same error and we could have saved a couple of posts of back and forth...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by Perryg »

Hey Soc. I am not Don ;-)
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by socratis »

Oops :lol:
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
karentutor
Posts: 6
Joined: 4. Apr 2017, 23:09

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by karentutor »

Logs attached

If you could let me know where you found that problem in the log (so that I may find it later), I would be most grateful (on top of the other gratefulness of course!)

Thanks a lot!
Karen
Attachments
Fedora-2017-04-06-19-30-34.log
(123.18 KiB) Downloaded 197 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by Perryg »

@karentutor,

You missed the first part of my question.
  • Can you ping 8.8.8.8 in the guest? Then can you ping google.com?

    If the address returns positive but not the friendly name then it would be a DNS issue.
The log shows you are using VBox NAT and it should be setup properly as far as VBox is concerned. Answer this and we can move forward.
karentutor
Posts: 6
Joined: 4. Apr 2017, 23:09

Re: Error: Failed to Synchronize Cache for repo 'updates' Virtual Box Fedora 25

Post by karentutor »

Hi

Apologies I did test 8.8.8.8 and google.com and both failed...

It I was experimenting with ports and firewalls and I installed fedora25 firewalld GUI to try different things and now ivirtualbox. Firefox is working !

My guess is that somehow that enabled the package flows. But I am not sure.

In any event, it's a miracle :)
Post Reply