[SOLVED] Cannot find ssmtp for Centos 5
Re: Cannot find ssmtp for Centos 5
That is a bit odd.
Try yum clean all then try yum search ssmtp and let us know your results.
Try yum clean all then try yum search ssmtp and let us know your results.
New users should check the FAQ and Read Me First pages
Re: Cannot find ssmtp for Centos 5
This is what I got:
[root@centos5 todd]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@centos5 todd]# yum install ssmtp
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.sonn.com
* extras: mirror.spro.net
* updates: mirrors.tummy.com
base | 1.1 kB 00:00
base/primary | 996 kB 00:00
base 2791/2791
cr | 1.9 kB 00:00
cr/primary_db | 1.1 kB 00:00
extras | 2.1 kB 00:00
extras/primary_db | 164 kB 00:00
http://dl.google.com/linux/rpm/stable/i ... repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: google. Please verify its path and try again
/rtc
[root@centos5 todd]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@centos5 todd]# yum install ssmtp
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.sonn.com
* extras: mirror.spro.net
* updates: mirrors.tummy.com
base | 1.1 kB 00:00
base/primary | 996 kB 00:00
base 2791/2791
cr | 1.9 kB 00:00
cr/primary_db | 1.1 kB 00:00
extras | 2.1 kB 00:00
extras/primary_db | 164 kB 00:00
http://dl.google.com/linux/rpm/stable/i ... repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: google. Please verify its path and try again
/rtc
Re: Cannot find ssmtp for Centos 5
Look through the files in your /etc/yum.repos.d and see which one has something called google in it and disable it. It will say something like [gooogle] in brackets like that.
DIsable that one by changing the enabled value from 1 to 0 and try again.
DIsable that one by changing the enabled value from 1 to 0 and try again.
New users should check the FAQ and Read Me First pages
Re: Cannot find ssmtp for Centos 5
I think I have a lot of "old stuff". Can it be updated?
[root@centos5 yum.repos.d]# ls -l
total 120
-rw-r--r-- 1 root root 1926 Sep 19 2014 CentOS-Base.repo
-rw-r--r-- 1 root root 509 Sep 25 2011 CentOS-CR.repo
-rw-r--r-- 1 root root 645 Sep 19 2014 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 277 Sep 19 2014 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 626 Sep 19 2014 CentOS-Media.repo
-rw-r--r-- 1 root root 1330 Sep 19 2014 CentOS-Sources.repo
-rw-r--r-- 1 root root 8315 Sep 19 2014 CentOS-Vault.repo
-rw-r--r-- 1 root root 954 Mar 28 2011 epel.repo
-rw-r--r-- 1 root root 954 Mar 28 2011 epel.repo~
-rw-r--r-- 1 root root 1054 Aug 11 2010 epel-testing.repo
-rw-r--r-- 1 root root 114 Mar 27 16:26 google-chrome.repo
-rw-r--r-- 1 root root 114 Mar 27 16:26 google-chrome.repo~
-rw-r--r-- 1 root root 162 Mar 27 16:25 google.repo
-rw-r--r-- 1 root root 162 Mar 27 16:25 google.repo~
[root@centos5 yum.repos.d]# yum install ssmtp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.spro.net
* updates: mirrors.tummy.com
updates | 1.9 kB 00:00
updates/primary_db | 615 kB 00:00
Setting up Install Process
No package ssmtp available.
Nothing to do
*****
[root@centos5 yum.repos.d]# cat CentOS-fasttrack.repo
[fasttrack]
name=CentOS-5 - fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$ ... =fasttrack
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Todd
rtcary
[root@centos5 yum.repos.d]# ls -l
total 120
-rw-r--r-- 1 root root 1926 Sep 19 2014 CentOS-Base.repo
-rw-r--r-- 1 root root 509 Sep 25 2011 CentOS-CR.repo
-rw-r--r-- 1 root root 645 Sep 19 2014 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 277 Sep 19 2014 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 626 Sep 19 2014 CentOS-Media.repo
-rw-r--r-- 1 root root 1330 Sep 19 2014 CentOS-Sources.repo
-rw-r--r-- 1 root root 8315 Sep 19 2014 CentOS-Vault.repo
-rw-r--r-- 1 root root 954 Mar 28 2011 epel.repo
-rw-r--r-- 1 root root 954 Mar 28 2011 epel.repo~
-rw-r--r-- 1 root root 1054 Aug 11 2010 epel-testing.repo
-rw-r--r-- 1 root root 114 Mar 27 16:26 google-chrome.repo
-rw-r--r-- 1 root root 114 Mar 27 16:26 google-chrome.repo~
-rw-r--r-- 1 root root 162 Mar 27 16:25 google.repo
-rw-r--r-- 1 root root 162 Mar 27 16:25 google.repo~
[root@centos5 yum.repos.d]# yum install ssmtp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: mirror.spro.net
* updates: mirrors.tummy.com
updates | 1.9 kB 00:00
updates/primary_db | 615 kB 00:00
Setting up Install Process
No package ssmtp available.
Nothing to do
*****
[root@centos5 yum.repos.d]# cat CentOS-fasttrack.repo
[fasttrack]
name=CentOS-5 - fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$ ... =fasttrack
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Todd
rtcary
Re: Cannot find ssmtp for Centos 5
I would get rid of all of them except for base and epel. Most of those are no longer maintained. You definitely don't need the media one. I don't know about the google ones. I know that Google doesn't make rpms for RHEL5, but the Richard Lloyd stuff may still work for that, honestly, I don't know.
You don't need debug, and it's probably disabled anyway. I don't know if fasttrack and CR are still maintained for CentOS-5, but while trying to resolve this, you don't need them.
At least disable them for now. If it still can't find ssmtp, then download the rpm and try with yum localinstall <path_to_rpm>
If that doesn't work, then I really don't know. It's in the EPEL repos for RHEL-5, I'm not sure why it's not seeing it.
You don't need debug, and it's probably disabled anyway. I don't know if fasttrack and CR are still maintained for CentOS-5, but while trying to resolve this, you don't need them.
At least disable them for now. If it still can't find ssmtp, then download the rpm and try with yum localinstall <path_to_rpm>
If that doesn't work, then I really don't know. It's in the EPEL repos for RHEL-5, I'm not sure why it's not seeing it.
New users should check the FAQ and Read Me First pages
Re: Cannot find ssmtp for Centos 5
In case I need it, what is the correct URL for the x386 version of the repository?
Todd
Todd
Re: Cannot find ssmtp for Centos 5
Success!! Here is what I did
In CentOS-Base.repo
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... asearch&re
baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
I reversed the mirrorlist and baseurl -- now the baseurl is active.
Since my knowledge of the internals of yum are nil, I have a question: using the baseurl and it was successful, does yum "remember" -- make note of the successful path some place so I put those url's back?
I did the same to the fasttrack file too, but it did not execute.
And thank you and all the others for your patience.
Todd
In CentOS-Base.repo
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... asearch&re
baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
I reversed the mirrorlist and baseurl -- now the baseurl is active.
Since my knowledge of the internals of yum are nil, I have a question: using the baseurl and it was successful, does yum "remember" -- make note of the successful path some place so I put those url's back?
I did the same to the fasttrack file too, but it did not execute.
And thank you and all the others for your patience.
Todd
Re: Cannot find ssmtp for Centos 5
I don't know if fasttrack is still maintained for CentOS-5, I doubt it.
If you leave your yum file as it is, that should be alright. Glad you got it working, I'll mark this solved for posterity.
If you leave your yum file as it is, that should be alright. Glad you got it working, I'll mark this solved for posterity.
New users should check the FAQ and Read Me First pages