Yum cannot install from repository

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Yum cannot install from repository
# 1  
Old 09-10-2013
Yum cannot install from repository

Hi guys,
thanks for you help on this issue.

I built a dvd repository on my server and when I try to install a package from it, I get this error

ftp://10.0.0.12/pub/Packages/httpd-2.2.15-26.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"


I will really appreciate any help with this.

Thanks a lot for your assistance.

cjashu
# 2  
Old 09-10-2013
It could be an SELinux thing.

Try:
Code:
# chcon -R -t public_content_t /var/ftp/pub

Remembering to use semanage to make it permanent:
Code:
# semanage fcontext -a -u system_u -t public_content_t /var/ftp/pub/*

Or this:
Code:
# semanage fcontext -a -u system_u -t public_content_t /var/ftp/pub/*
# restorecon -R /var/ftp/pub

This User Gave Thanks to Scott For This Post:
# 3  
Old 09-10-2013
Thanks again Scott. Was the firewall.
selinux was set at enforcing.

Much appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. Linux

Local YUM Repository for RHEL versions

Hello, I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers. In our environment we have many servers with different RHEL versions. Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5 Arch = x86_64 I have setup one Repo server;... (0 Replies)
Discussion started by: SunshineMLinux
0 Replies

3. Fedora

Yum repository not working in Fedora 16

Hi, while installing/updating package using yum I am getting (repomd.xml) error # yum list Loaded plugins: langpacks, presto, refresh-packagekit http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: HTTP Error 404 -... (12 Replies)
Discussion started by: muzaffar.k
12 Replies

4. What is on Your Mind?

Is it bad to Install the Whole Repository?

Hey Guys, This week I installed Solaris for the first time, (trying to fix my ZFS array with some movies on it) and I noticed that unlike Linux or FreeBSD, their package management application almost encourages installing whole categories of software at a time. Theirs even a keyboard shortcut for... (3 Replies)
Discussion started by: Danneskjold
3 Replies

5. Red Hat

Yum repository linking to ftp site of Redhat

I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has - baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo. I hope, my question is clear that is there a... (5 Replies)
Discussion started by: RHCE
5 Replies

6. Red Hat

Configure yum repository

how to configure yum server to get rpms from any repository or redhat repo. (4 Replies)
Discussion started by: leganti
4 Replies

7. UNIX for Dummies Questions & Answers

Trying to install using YUM

Hi, working on CentOS 5.7 64 bit. I need to install syslog-ng. First I downloaded syslog-ng RPM. When I install I get many dependencies error messages. rpm -ivh syslog-ng-3.3.3-1.mga2.x86_64.rpm warning: syslog-ng-3.3.3-1.mga2.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID... (2 Replies)
Discussion started by: samnyc
2 Replies

8. Red Hat

Trying to install boost 1.4.1 without success maybe yum repository is wrong

Hi I following the tutorial to install boost 1.4.1 in centos 5.6 32 bit But without success maybe it doesn't find it in my repository in yum , but also when I compile the lib It doesn't find the libs . The tutorial link: Compiling gearman on CentOS 5.6 - gearman | Google Groups the error... (1 Reply)
Discussion started by: umen
1 Replies

9. Red Hat

Local yum repository

Hi Friends, I have succesfully configured a local yum repository using ios image. Please let me know how i can synchronize the local repository with RHN. Is it possible, so that i can update the local repository with latest updates. Regards, Arumon (1 Reply)
Discussion started by: arumon
1 Replies

10. SuSE

Best Repository for SUSE 10.1 install?

I've made a few attempts at an OpenSuse10.1 clean install using a boot.iso and network repository install dir. I've succesfully done a few network installs before and know what I'm doing with the procedure, however I seem to be getting problems with the connection to the remote repository. It's... (0 Replies)
Discussion started by: Mark Ward
0 Replies
Login or Register to Ask a Question