CentOS 5 :: 5.3>5.4 Update Gave New CentOS-Base.repo.rpmnew?
Oct 22, 2009
Just checking to be sure. 5.3>5.4 update went without a hitch:) But a message ran about (/etc/yum.repo.d) CentOS-Base.repo.rpmnew. Comparing CentOS-Base.repo with the new one show the 1st has the correct priorities and .rpmnew does not have the correct priorities. Should I remove the *.rpmnew repo after making sure it otherwise is the same as the original CentOS-Base.repo?
I've been having problems installing httpd (in that it cannot be found when I do a Yum search). I get this error when running yum: Bad id for repo: CentOS5 base, byte = 7 Bad id for repo: CentOS5 updates, byte = 7
how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.
edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.
I am not able to easily tell what yum is doing when attempting to decide what to do when given repo files that have defined the same name (eg "[updates]"). Yum seems to spot the dups, but seems to *always* select the mirrorlist from the CentOS-Base.repo. I have unsuccessfully tried to have my custom.repo come before the CentOS-Base.repo using 01custom.repo or CUSTOM.repo. My hope is just to overload yum into using the custom.repo *without* removing/modifying the CentOS-Base.repo. If I remove the CentOS-Base.repo, the custom.repo works. Even with all of the custom.repo, 01custom.repo or CUSTOM.repo in the yum.repos.d dir and no CentOS-Base.repo, yum does what I want.
My installed version of Open Office on my Centos 5 box, (3.1.1 OOO310m19 Build 9420) did not have the database component installed. No problem I thought and went to System>Add/Remove software and after logging in as root searched for it. All straight forward and simple. But two packages are listed as available. The package detail for both is identical so which one or both should I install? They are:
I have tried 'Googling' for both but none of the information availabe, and there is masses, seems offer any clear suggestions of which way to proceed. The first seems to be a bug release but bearing in mind that the pakage detail is identical to the second I am not so sure.
The only thing is that rpm.hozac.com wasn't responding so I got my new kernel from a mirror site. However the mirror doesn't know anything about the GPG key. On the instructions page it said that rpm.hozac.com is "often unavailable" and gives an alternative location for the kernel download. But it doesn't say what to do about the GPG key! And I can't load the new kernel without the key.So, what do I do? (Apart from wait until the repository comes back online!)
I am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.
I'm writing a lot of RPM's and I would like to make some of them available to other users, through my website. On the server side, everything is set (directory structure, etc.). I just don't know how to build the custom .repo file, containing only my custom RPM's. $ su - # cd /etc/yum.repos.d # wget [URL]
i want install goldendict and source downloaded and i want compile it. for compile i need this packages :
Building under Linux: Make sure you have those dependency packages installed: libvorbis-dev, zlib1g-dev, libhunspell-dev, x11proto-record-dev, qt4-qmake, libqt4-dev, g++, libxtst-dev, libphonon-dev. They can be named slightly different in different distributions
After some testing for a couple of days, I decided to take the plunge and update all my 5.3 machines. Using the recipe from the release notes:
yum clean all yum update glibc* yum update yum* rpm* python* yum clean all yum update shutdown -r now
I updated some guinea pigs that I had physical access to and didn't have any issues. So I remotely updated a small farm of LAMP machines that handle a couple of million page views per day. It took each machine approximately 5-6 minutes to download/install/reboot.
Loaded plugins: fastestmirror Repository updates is listed more than once in the configuration Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. 13 is not a valid release or hasnt been released yet/ removing mirrorlist with no valid mirrors: /var/cache/yum/i386/13/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base
I just created a repository for CentOS 5.3 and 5.4 on my webserver for the network to use. I followed the steps listed here: [URL] All went well up until testing out the repository. Here is the output of "yum update"
[root@titan yum.repos.d]# yum update Loaded plugins: downloadonly, fastestmirror, priorities Repository base is listed more than once in the configuration Repository extras is listed more than once in the configuration
I'm unsure as to why yum is looking in the "5" directory instead of "5.3" or "5.4" and it looks like that is the only issue. It seems as though $releasever is returning 5 instead of the current 5.3 that this system is on.
I don't know if this would be usefull to others but since we are using kickstart and then running post install scripts I needed a way to add rpmforge and set the yum-priorities for it correctly via script and here is what I cam up with. If you want to use go ahead (make sure you comment/uncomment the correct repo for your architecture). also not the ex commands are whitespace sensitive. If anyone sees a way to improve this let me know.
I am having issues getting yum to work with the repos for fail2ban and denyhosts. I followed the centos link on installing/cfg repos. However every time i run yum install fail2ban or denyhosts it does not find the software. I read in several google searches that I should be able to install it using yum. Is that info wrong? These are the link I was s reading too from centos. [URL]. I know I can download the rpm or a tar file but I would like to keep it in sync with yum if possible. May be I have the wrong repo? CentOSPlus is enabled also.