LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-11-2019, 08:05 PM   #1
gregarsp49
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Rep: Reputation: Disabled
Unhappy RHEL 7 Unable to yum install HTTP Error 404 - Not Found


Hi all,

Sorry as I am really new to this.
Currently trying to do this for my school project.

RHEL 7
Unable to yum install ansible/vsftpd
 
Old 08-11-2019, 08:07 PM   #2
gregarsp49
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
https://scontent.fsin9-1.fna.fbcdn.n...c9&oe=5DDFED17

Picture of the error I am having.
 
Old 08-11-2019, 08:35 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,748

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Dupe of https://www.linuxquestions.org/quest...nd-4175658993/

Reported
 
Old 08-11-2019, 08:37 PM   #4
gregarsp49
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Sorry, I am not allowed to dup threads...?
I really really need help.
 
Old 08-11-2019, 08:40 PM   #5
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 751

Rep: Reputation: 156Reputation: 156
Probably best to try a few basics. Is this a school computer? If not, how did you set up the computer?

Why RHEL? Do you have support (in which case ask them).

If you could tell us something about your background and your study then this may help
 
Old 08-11-2019, 08:41 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,748

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by gregarsp49 View Post
Sorry, I am not allowed to dup threads...?
I really really need help.
Please read the “welcome” link in my sig... I’ve responded in the other thread.
 
Old 08-11-2019, 08:43 PM   #7
gregarsp49
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
I am student, totally green on Redhat.
Currently using RHEL7 on Oracle VM Virtualbox as it is the requirement for my class.
My current target goal for the project is to either install Ansible or DNS server and client.

Last edited by gregarsp49; 08-11-2019 at 08:46 PM.
 
Old 08-11-2019, 08:45 PM   #8
gregarsp49
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Hi scasey, understood I will remove the other thread.
 
Old 08-11-2019, 08:52 PM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,748

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by gregarsp49 View Post
Hi scasey, understood I will remove the other thread.
The mods will have to do that. I've responded again there. I'll repeat here, because they may decide this is the better forum...

Have you contacted Red Hat?
Do you have a subscription to Red Hat?
If you don't have a subscription, you can't install packages.
 
Old 08-11-2019, 09:11 PM   #10
gregarsp49
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
epel repo enabled? Sorry I do not really get this part

so far, I did yum list, ansible is there.

as for the subscription, no
So far from my lecture notes they did not mention about it
my class only provided the ISO
 
Old 08-12-2019, 01:39 AM   #11
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 751

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by gregarsp49 View Post
epel repo enabled? Sorry I do not really get this part

so far, I did yum list, ansible is there.

as for the subscription, no
So far from my lecture notes they did not mention about it
my class only provided the ISO
Red Hat is a "paid for" distribution. You can download the ISO for free but you need to pay for support to install any updates and this could be the problem you are running in to. I really don't know how this works but maybe the school has a subscription you can use?
 
Old 08-12-2019, 06:10 AM   #12
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by gregarsp49 View Post
Hi all,

Sorry as I am really new to this.
Currently trying to do this for my school project.

RHEL 7
Unable to yum install ansible/vsftpd
If you do not have subscription for RHEL, your best bet is to use CentOS: https://www.centos.org/download/

"Error 404 - not found" is what you are getting, so check the repos "yum repolist"
 
Old 08-12-2019, 07:14 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by gregarsp49
Sorry, I am not allowed to dup threads...? I really really need help.
You need to read forum rules, and while we understand you 'really really' need help, we are VOLUNTEERS. Spamming the forum with duplicates of the same post doesn't get you help faster, but only clutters the forum and keeps volunteers from helping others.
Quote:
Originally Posted by gregarsp49 View Post
I am student, totally green on Redhat. Currently using RHEL7 on Oracle VM Virtualbox as it is the requirement for my class. My current target goal for the project is to either install Ansible or DNS server and client.
I seriously doubt your class requirement is to use Red Hat Enterprise 7, unless they have a paid-for copy they're giving you for use in the class. And a brief look at the Ansible documentation (did you READ IT?), says that you can install it on Fedora, which is totally free:
https://docs.ansible.com/ansible/lat...tallation.html
 
Old 08-13-2019, 12:43 PM   #14
roland.piette
LQ Newbie
 
Registered: Aug 2019
Location: Brussels
Distribution: RHEL 7, RHEL 8
Posts: 5

Rep: Reputation: Disabled
Hi,

As I can see behind of your error's picture, your RedHat CDROM is mounted.
So your packages will be available locally.

1. Look where the CDROM is mounted (/mnt/cdrom or /mnt/media/cdrom or somewhere else). Il you don't find it use the command "mount | grep -i cdrom"

2. As root, create a repo file cdrom.repo in the /etc/yum.repo.d directory with the following info :

# cat /etc/yum.repos.d/cdrom.repo
# This a repo to get package from a install CDROM

[cdrom]
name=RedHat 7.6 CDROM repo
baseurl=file:///mnt
enabled=1
gpcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release

3. Replace in the file, the mount point of your CDROM (baseurl=file:///<mount point>

4. yum install ansible

Good luck
 
Old 08-13-2019, 01:11 PM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by roland.piette View Post
Hi,
As I can see behind of your error's picture, your RedHat CDROM is mounted. So your packages will be available locally.

1. Look where the CDROM is mounted (/mnt/cdrom or /mnt/media/cdrom or somewhere else). Il you don't find it use the command "mount | grep -i cdrom"
2. As root, create a repo file cdrom.repo in the /etc/yum.repo.d directory with the following info :

# cat /etc/yum.repos.d/cdrom.repo
# This a repo to get package from a install CDROM

[cdrom]
name=RedHat 7.6 CDROM repo
baseurl=file:///mnt
enabled=1
gpcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release

3. Replace in the file, the mount point of your CDROM (baseurl=file:///<mount point>
4. yum install ansible

Good luck
...and without the paid subscription to Red Hat Enterprise, nor the Ansible repository enabled, nothing posted here will work...Ansible isn't on the DVD.
 
  


Reply



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
Yum Error: /repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found crimsonclay Linux - Server 2 04-06-2017 02:39 PM
[SOLVED] yum update HTTP Error 404: Not found pradeepspa Linux - Newbie 13 04-21-2016 10:46 AM
HTTP/1.1 404 Not Found error in Web Server hruday Linux - Server 11 10-29-2015 08:09 PM
nagios not working (http://localhost/nagios or http://ip/nagios) 404 error connect2janu Linux - Server 1 11-18-2012 02:06 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM

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

All times are GMT -5. The time now is 10:15 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