1

I am having difficulty installing proftp or pureftp on centos 6. I have followed the typical instructions (alternatively) which go like this

# Add EPL repository
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

# Install
yum install proftpd

# Alternatively
yum install pure-ftpd

The result is the same

Loaded plugins: auto-update-debuginfo, fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirroring.pulsant.co.uk
 * extras: mirrors.clouvider.net
 * updates: centos.mirroring.pulsant.co.uk
No package proftpd available.
Error: Nothing to do

Or as the case may be

No package pure-ftpd available.
Olumide
  • 167
  • 8
  • Looks like probably epel on your machine is not enabled. Even though you installed it, you may have to enable it manually. Check `/etc/yum.repos.d/epel.repo` and set it to `enabled=1` if it's not already. – Bart Jul 03 '19 at 12:37
  • Odd. I get `/etc/yum.repos.d/epel.repo: No such file or directory`. Actually `epel.repo` is in `/etc/yum.repos.d/archive`. – Olumide Jul 03 '19 at 12:41
  • move the file to `/etc/yum.repos.d/` and retry – Bart Jul 03 '19 at 12:44
  • Great success! BTW, do you know why stuff gets moved to archive? – Olumide Jul 03 '19 at 12:47
  • not sure, probably just this is how the package is installed by default on your system. – Bart Jul 03 '19 at 12:48
  • 1
    Ok. Can you create a proper answer so that I can mark it as correct. – Olumide Jul 03 '19 at 12:49

1 Answers1

1

Looks like probably epel on your machine is not enabled.

Even though you installed it, you may have to enable it manually.

Check /etc/yum.repos.d/ for epel.repo file and set it to enabled=1 if it's not already.

As per your finding, check also /etc/yum.repos.d/archive, as the file may be put there by the package installation.

Bart
  • 2,151
  • 1
  • 10
  • 26