My CentOS-Base.repo has the following mirrors: When I say yum install yum-utils, it fails with the error saying http://custom-url/centOS-updates/Packages/yum-utils-1.1.31-46.el7_5.noarch.rpm: [Errno 14] HTTP Error 500 – Internal Server Error Trying other mirror. Error downloading packages: yum-utils-1.1…
Tag: yum
Difference between PHP 5.6u and PHP 5.6w
I’ve been going through running PHP 5.6 and now looking at 7 running on CentOS 7 (typically 5.4) and I had been installing php56u and now I’ve been seeing php56w and I can’t find anywhere what the difference is. Answer The last letter represents some sort of informal way of designating the o…
How to force yum to update only to exact minor OS version
I have a default AWS image with the version CentOS 6.7. If I run I am getting CentOS 6.9. Is there any way to force yum to update only to version 6.8 and not 6.9? Answer Yes it is possible. Follow these steps: Find a mirror that is closer to you using: http://mirrorlist.centos.org/?release=6&arch=x86_64&a…
What’s the difference between yum -y install and yum install in CentOS
I’ve seen two ways to install packages,for example,squid on CentOS: 1.yum -y install squid 2.yum install squid can anyone tell me what’s the difference between them ? also, I’m using CentOS v.6.6 Answer If you supply -y it automatically chooses “yes” for future questions, i.e. ar…
Yum and RPM show that the number of installed packages is different [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Can resource attributes depend on file-presence?
I’m writing a module, that will provide for mirrored yum-repositories on our network. The single server will host the mirrors offering them to other hosts (and itself). I have a problem with the initial chicken-and-egg — the first download may not happen for a while, but, if I enable a new reposit…
use local yum repository created by createrepo in other servers
Is there a way to use the local repository created by createrepo on one redhat box in the other redhat boxes? Answer You just need to expose it over http (or ftp) on that first box. Or you can periodically sync it with rsync.
How to install latest version of git on CentOS 8.x/7.x/6.x
I used the usual: It did not install the latest version of git on my CentOS 6. How can I update to the latest version of git for CentOS 6? The solution can be applicable to newer versions of CentOS such as CentOS 7. Answer You can use WANDisco’s CentOS repository to install Git 2.x: for CentOS 6, for Ce…
Best way to install MySQL 5.6 on Centos 6.4
I just installed Centos 6.4, and installed MySQL using the version that came with the Centos distribution. To my dismay, it is MySQL 5.1.69 versus the current 5.6.12. As stated on http://dev.mysql.com/doc/refman/5.5/en/linux-installation-native.html, “the MySQL version will often be some way behind the …
How can I install xclip on an EC2 instance?
I’m following Github’s instructions for adding an SSH key. I’ve generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step that has me copy the contents of the file using xclip because I cannot install xclip onto the EC2 instance. I tried to install xclip on the E…