Issue
I'm beginer and I try to use Fedora 23 in VirtualBox. I have an access to the Internet using Firefox browser.
But when I try to do something in Terminal (like: sudo dnf update
) I have an error:
Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64' : Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [Connection timed out after 120002 milliseconds]
I can open the link using Firefox browser.
Solution
Your problem is actually how to let dnf access mirrors.fedoraproject.org via HTTPS with a proxy. This guide will solve the issue.
Since you are a beginner, I would recommend using pico or nano instead of vi. They are more user friendly for beginners. You just press Control+X to leave the editor, for instance.
Answered By - Akira Answer Checked By - Mildred Charles (WPSolving Admin)