LinuxQuestions.org
Visit Jeremy's Blog.
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 07-13-2018, 05:48 PM   #1
wittlescwappy
LQ Newbie
 
Registered: Jul 2018
Posts: 5

Rep: Reputation: Disabled
Updating RHEL/CentOS Kernel to 4.17 -- curl (22) the requested url returned error: 404 not found


This is my first experience with a Linux VM - total newbie.
I have upgraded this CentOS 7 to 7.5 - now trying to update kernel to 4.17.


# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh http://www.elrepo.org/elrepo-release...epo.noarch.rpm
Retrieving http://www.elrepo.org/elrepo-release...epo.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://www.elrepo.org/elrepo-release...epo.noarch.rpm - transfer failed


I appreciate any assistance.
 
Old 07-16-2018, 03:44 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,022

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Quote:
Originally Posted by wittlescwappy View Post
This is my first experience with a Linux VM - total newbie.
I have upgraded this CentOS 7 to 7.5 - now trying to update kernel to 4.17.


# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh http://www.elrepo.org/elrepo-release...epo.noarch.rpm
Retrieving http://www.elrepo.org/elrepo-release...epo.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://www.elrepo.org/elrepo-release...epo.noarch.rpm - transfer failed


I appreciate any assistance.
You'll have to check your VM's network settings, as I'm not getting that message when clicking on the link you posted.

How are you configuring your VM's network settings? (eg. NAT, Bridged Adapter, Internal Network, Host-only Adapter, something else?)

Which Virtual Machine software are you using? (eg. Virtualbox, VMware, something else?)
 
1 members found this post helpful.
Old 07-16-2018, 04:16 AM   #3
wittlescwappy
LQ Newbie
 
Registered: Jul 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
You'll have to check your VM's network settings, as I'm not getting that message when clicking on the link you posted.

How are you configuring your VM's network settings? (eg. NAT, Bridged Adapter, Internal Network, Host-only Adapter, something else?)

Which Virtual Machine software are you using? (eg. Virtualbox, VMware, something else?)
Using Virtualbox.

2 adapters set up...First is NAT and second is Host-Only Adapter.
 
Old 07-16-2018, 05:26 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,022

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Quote:
Originally Posted by wittlescwappy View Post
Using Virtualbox.

2 adapters set up...First is NAT and second is Host-Only Adapter.
Did you click on the "network applet" in the taskbar at the bottom of the screen (I have the KDE desktop environment installed myself), and then click on the Ethernet network connection (in the VM itself)?

Because if you don't, it won't be able to send any IP packets outside of the VM - this is using NAT for the VM's network settings (in Virtualbox's network settings for the VM in question).

Why are you using a "Host-Only Adapter" setting for the second network connection?

Last edited by jsbjsb001; 07-16-2018 at 05:44 AM. Reason: typo and additions
 
1 members found this post helpful.
Old 07-16-2018, 01:57 PM   #5
wittlescwappy
LQ Newbie
 
Registered: Jul 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Did you click on the "network applet" in the taskbar at the bottom of the screen (I have the KDE desktop environment installed myself), and then click on the Ethernet network connection (in the VM itself)?

Because if you don't, it won't be able to send any IP packets outside of the VM - this is using NAT for the VM's network settings (in Virtualbox's network settings for the VM in question).

Why are you using a "Host-Only Adapter" setting for the second network connection?
I created the VM based on someone else's specifications so I dont really know why the 2nd adapter is on OR why it is set to Host-Only. IF you think that that that is the issue I can disable it.

I do not have a desktop environment installed as of yet. I went with a very simple install for this build. But I can ping google with 0% packet loss.

DO you think this would all be much easier with a desktop environment installed? I was thinking of going with KDE or Gnome anyways...
 
Old 07-16-2018, 03:17 PM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,022

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Yeah, I'd disable the second network interface (the Host-only adapter). NAT should be fine for general uses.

Can you ping elrepo.org ?
 
1 members found this post helpful.
Old 07-16-2018, 04:21 PM   #7
wittlescwappy
LQ Newbie
 
Registered: Jul 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Yeah, I'd disable the second network interface (the Host-only adapter). NAT should be fine for general uses.

Can you ping elrepo.org ?
Yes - can ping elrepo.org with 0% packet loss.
 
Old 07-16-2018, 04:23 PM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,022

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Quote:
Originally Posted by wittlescwappy View Post
Yes - can ping elrepo.org with 0% packet loss.
Just noticed in your OP (don't know why I didn't before) the following:

Quote:
Originally Posted by wittlescwappy View Post
...
# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh http://www.elrepo.org/elrepo-release...epo.noarch.rpm
Retrieving http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://www.elrepo.org/elrepo-release...epo.noarch.rpm - transfer failed
...
What's in bold should be "https", it worked in my VM of CentOS 7.

But still use NAT for your VM's network settings though.

Try it again with just NAT.

Last edited by jsbjsb001; 07-16-2018 at 04:33 PM. Reason: additions
 
1 members found this post helpful.
Old 07-16-2018, 09:06 PM   #9
wittlescwappy
LQ Newbie
 
Registered: Jul 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Just noticed in your OP (don't know why I didn't before) the following:



What's in bold should be "https", it worked in my VM of CentOS 7.

But still use NAT for your VM's network settings though.

Try it again with just NAT.
This worked. I was following the instructions from tecmint and they specified http for that 2nd line....

Thankyou. I will mark as solved.
 
Old 07-16-2018, 09:15 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,480

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Try
Code:
$ wget http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
 
Old 11-01-2018, 03:54 PM   #11
saiadarsh
LQ Newbie
 
Registered: Nov 2018
Posts: 3

Rep: Reputation: Disabled
Hey, Can you tell me how you fixed this issue? I have been getting the same error for the last 2 days.
 
Old 11-01-2018, 03:59 PM   #12
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.5
Posts: 1,989

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
The solution is in #8 If that doesn't fix your situation, please start a new thread defining the problem you're having instead of past to this nearly 4 month old thread.

If #8 does fix your problem; you're welcome
 
  


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
Problem: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" geoprogrammer Linux - Newbie 3 02-24-2016 07:04 PM
Apache says Error : 404 Requested URL Not Found when anaconda requests kickstart file g.navink Linux - Server 2 03-18-2015 12:23 AM
14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" in my repo spyghost Red Hat 2 06-02-2014 01:38 AM
error 404 requested URL /statusmeldung was not found on this server lawassi Linux - Newbie 2 09-30-2012 03:30 AM

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

All times are GMT -5. The time now is 01:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration