LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot install package bind with yum (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-install-package-bind-with-yum-4175474160/)

brb_coffee 08-21-2013 11:23 AM

Cannot install package bind with yum
 
Hello,

I have Red Hat 6 installed on a Virtual Box VM and I am following some basic Red Hat tutorials. Here is my current one:

http://www.unix-tutorials.com/go.php?id=747

Under the section, "Caching Nameserver", I am having issues with installing bind, bind-chroot, and caching-nameserver.

Steps taken:

1. rpm -q bind (returns Not Installed)
2. rpm -q bind-utils (returns Not Installed)
3. rpm -q bind-libs (returns Not Installed)
4. rpm -q bind-chroot (returns Not Installed)
5. rpm -q caching-nameserver (returns Not Installed)
6. yum install bind (returns "You must register with rhn")
7. Registered with RHN through GUI ("System" menu).
8. yum install bind (returns "No package bind available")
9. yum install bind-utils (success)
10. yum install bind-libs (success)
11. yum install bind-chroot ("No package bind-chroot available")
12. yum install caching-nameserver ("No package caching-nameserver available")
13. Googled.
14. chkconfig rhsmcertd off
15. service rhsmcertd stop
16. yum install bind (returns "No package bind available")
17. Google.
18. Enabled rhel-source & rhel-source-beta in /etc/yum.repos.d/rhel-source.repo
18a. yum clean all
18b. yum list bind
19. yum install bind (returns "No package bind available").
20. yum install bind-chroot (returns "No package bind available")
21. yum install caching-nameserver(returns "No package bind available")

Thanks for any help. Please let me know if I can post additional info.

PECONET009 08-21-2013 11:37 AM

Try putting "#" in front of what you need..
 
Quote:

Originally Posted by brb_coffee (Post 5013193)
Hello,

I have Red Hat 6 installed on a Virtual Box VM and I am following some basic Red Hat tutorials. Here is my current one:

http://www.unix-tutorials.com/go.php?id=747

Under the section, "Caching Nameserver", I am having issues with installing bind, bind-chroot, and caching-nameserver.

Steps taken:

1. rpm -q bind (returns Not Installed)
2. rpm -q bind-utils (returns Not Installed)
3. rpm -q bind-libs (returns Not Installed)
4. rpm -q bind-chroot (returns Not Installed)
5. rpm -q caching-nameserver (returns Not Installed)
6. yum install bind (returns "You must register with rhn")
7. Registered with RHN through GUI ("System" menu).
8. yum install bind (returns "No package bind available")
9. yum install bind-utils (success)
10. yum install bind-libs (success)
11. yum install bind-chroot ("No package bind-chroot available")
12. yum install caching-nameserver ("No package caching-nameserver available")
13. Googled.
14. chkconfig rhsmcertd off
15. service rhsmcertd stop
16. yum install bind (returns "No package bind available")
17. Google.
18. Enabled rhel-source & rhel-source-beta in /etc/yum.repos.d/rhel-source.repo
18a. yum clean all
18b. yum list bind
19. yum install bind (returns "No package bind available").
20. yum install bind-chroot (returns "No package bind available")
21. yum install caching-nameserver(returns "No package bind available")

Thanks for any help. Please let me know if I can post additional info.

Try putting "#" in front of what you need,
Example the command is:
# yum makecache
# yum install bind

and try these (after the above installs):

yum install bind*
yum install caching-nameserver

Hope all goes well.

suicidaleggroll 08-21-2013 11:38 AM

On CentOS bind is found in the standard "updates" repo, I imagine RHEL has something similar unless you've disabled it. Have you tried a search?
Code:

yum search bind
or
Code:

yum list | grep bind

suicidaleggroll 08-21-2013 11:39 AM

Quote:

Originally Posted by PECONET009 (Post 5013205)
Try putting "#" in front of what you need,
Example the command is:
# yum makecache
# yum install bind

"#" makes it a comment...putting a "#" before anything on the command line will cause it to do exactly nothing.

szboardstretcher 08-21-2013 11:45 AM

If you are paying for REDHAT, then you can always call REDHAT support.

You are paying for it, correct?

PECONET009 08-21-2013 11:55 AM

Thank you for that input.
 
Quote:

Originally Posted by suicidaleggroll (Post 5013209)
"#" makes it a comment...putting a "#" before anything on the command line will cause it to do exactly nothing.

Thank you for the tip.

brb_coffee 08-21-2013 05:51 PM

I have a 30 day evaluation copy. Unsure if I can call them. It's not too critical at this juncture.

After using "yum search bind" and "yum list | grep bind", it appears that there is not package for bind. Noob question: I am using RHEL 6.0. Is the bind package only available for a server-type distro?

Edit: I did post on the red hat site. Thanks for the tip. Any further suggestions will be appreciated and I will update if I get back good feedback from red hat.

rpmacaspac 08-27-2013 02:13 PM

do you have your installation disc with you? you can try to create a local repository or find repositories from network. you can also configure it in centos if you lack in packages

John VV 08-27-2013 04:33 PM

unless you ARE GOING !!! to pay redhat the $299 per YEAR for the standard support contract

install the free rebuild
CentOS 6.4

now if you NEED the redhat support then buy the license

also you might want to read throu some very basic tutorials and guides
you need to learn what a $ or a # or a > means in the tutorials
">" or "$" as a normal non root user
the "#" normally designates you are doing this as ROOT

some basic guides
http://rute.2038bug.com/rute.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/
http://www.howtoforge.com/

Also keep in mind that RHEL6.4 is a "server grade" os and is NOT a good choice for a home general purpose Computer


All times are GMT -5. The time now is 11:13 AM.