CentOS 5 :: Get Centos To Recognize Updated Packages?
Jun 24, 2009
I have a copy of the DVD Iso for centos 5.3. I downloaded the updated packages to the Centos directory and then ran the repomanage perl script to remove the old files from the directory. I then ran the createrepo and the new iso image with the script code below.
I am using VMWare to test the build, so I have the cd pointing to the iso image. I get the CentOS to start up find and dandy asking the questions for the interactive boot. It gets thru the stage of checking dependencies and then when it starts to copy down the image to the "harddrive" that is when the problem occurs.
One of the updated files is file-4.17-15.el5_3.1.i386.rpm (file-4.17-15.el5.i386.rpm was removed using repomanage), but the loader is looking for the removed file. I've looked thru any dependencies, but nothing specific for the removed file, all are asking for /usr/bin/file with no specific version numbers. I have run a rpm -test on all the rpms, but haven't been able to look thru that to see if there is a specific request for the version.
I did try this, but it just moved on to the next file. I did not replace the file version, but then it found another problem that was the same as this, the updated file is in the repo, but it is requesting the old version. I looked thru the fileslist and others to see if maybe that was the problem, but they were updated to the new versions.
I have had a Supermicro X7DCL-3 motherboard based machine, running CentOS 5.2 x86_64, recently upgraded to 5.3.Strangely enough, although I must have installed the 5.2 using DVD disk, the running system does not show the DVD drive. The machine was not used very much so I noticed that only today, after the update. There is no trace of it in 'dmesg', thera are no /dev/cd* and/or /dev/dvd* devices. The IDE controller is IT8213 (as shown by 'lspci'). In 5.2 kernel (2.6.18-92.el5-x86_64) lspci says "unknown device". I have checked the /usr/src/kernels/*/.config files and both kernels (5.2 and 2.6.18-128.el5-x86_64 of 5.3) seam to have the support for that controller added into the kernel:CONFIG_BLK_DEV_IT821X=yAny idea why it is not working? The Supermicro has apparently noticed this also as their OS compatibility chart lists the IDE interface for that motherboard as supported up to RHEL 5.1 but not for 5.2.
I've noticed this happen with every CentOS installation I've done in the past and it's confusing me. On the software template screen select, I always select "Server" and leave the extras option unchecked, I also check "Customise now". The only things I choose are the editors (to get vi), Web server and server configuration tools (and this time also Java). I didn't select any GUI programs, yet it still installs things like X, GNOME components and also samba. Why does it do that? There no way they're needed for dependencies. Is there something I'm missing when selecting the software components? Why does it still install samba when I didn't select it from under "Servers" components? Or have I misunderstood what software selection does and it installs all those components regardless but doesn't automatically turn the services on?
I have somewhere between 8 and 12 servers, spread amongst different webhosts, all running CentOS 5.3. Everything on the servers has been compiled from source: > EngineX, PHP, MySQL, Munin, etc
I compile from source because I usually run ./configure to modify the source before installing. What would be the easiest way to keep the server software updated? I am considering creating custom packages from a server which I would keep up to date manually. Then use Capistrano or Puppet to install those packages on all of my servers.
I came to a "weird" situation when I saw in yum log files that several centOS systems have been automatically updated via yum. I checked the following: 1. chkconfig for init services that could upgrade the system: only yum-updatesd 2. In the config file of yum-updatesd.conf the do_update function is set to no. 3. If an updated made manually by a user ..no. Where else should I look or how this update happened?
Recently I updated to centos 5.5 , every thing is fine , but the mkinitrd can't updated
When try: yum clean all yum update
The output : Loading mirror speeds from cached hostfile * addons: mirror.cogentco.com * base: pubmirrors.reflected.net * extras: mirror.highspeedweb.net * updates: mirror.cogentco.com Excluding Packages in global exclude list Finished Setting up Update Process .....
Error unpacking rpm package mkinitrd-126.96.36.199-61.el5_5.1.i386 error: unpacking of archive failed on file /lib/bdevid/ata.so: cpio: rename Failed: mkinitrd.i386 0:188.8.131.52-61.el5_5.1 Complete!
I have installed CentOS 5.3 with Xen on a PowerEdge 2650 machine with 6GB of RAM. As usual, PAE was already enabled so I did not have any problem with utilising all of the memory. However after upgrading to the latest release of the kernel (2.6.18-128.7.1.el5xen), memory available decreased to 4GBs. Then I switched back to the old kernel and 6GB was there. Then finally have switched back to the new kernel and 6GB is again there. So now PAE seems to be enabled but what concerns me is the inconsistent behaviour. (Also I am not sure the reason was the upgraded kernel.)
I haven't updated my centos box for almost about a year, my theory is if it ain't broke don't fix it.These last two weeks I've been replacing hardware, a motherboard, memory, processor, and a hard-disk. Everything worked fine with the current 2.6.18-128.1.10, but I decided that I should upgrade to the latest along with all the new packages. But in doing so I would need to recompile the driver module for the raid controllers, rr1740. So I recompiled them using the 2.6.18-164.1 build while I was in kernel 128. When I was done, I restarted the machine and when it booted to the new 164 kernel, it came back very long error messages but here's what I can remember off the top of my head.
What is the best place to get an updated nVidia video driver for CentOS 5.5? Is there a CentOS package available that will update it? Or is it best to download it directly from nVidia? Also, I do not have an internet connection on the machine, so it will have to be a manual download and installation.
I had a problem with centos 5 not recognising usb sticks dispite installing and using centos 5 on different computers. This was cured by slotting the stick in imediatly after start up which seems odd but I have seen others having similar problems.
I installed new CentOS 5.5(X86_64) on my server. My server has 48 G RAM (12*4G) and can be found when starting server. Moreover, I installed dmidecode software to detect the memory. This software can find all the memory. I used command (top, cat /proc/meminfo) to check memory. Both commands can only find 33G RAM. uname -a command output like this: 2.6.18-194.el5xen #1 SMP Fri Apr 2 15:34:40 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I am having a problem trying to get my UPS (APC BACK-UPS ES 750) to be recognized (via USB) on my new CentOS 5.4 system. I had no trouble a while ago getting it to work on an old Fedora Core 3 system, and I don't think the problem is even with the apcupsd package because at the very least, I expect to see the device appear when I plug in the usb cable and use (from the APCUPSD User Manual):
i have installed centos 5.1 but it won't recognize 2nd nic card (eth1). i was unable to install the driver supplied by the cd. i am using intellinet gigabite pci network card. the network card recognize by centos 5.3 but i need to use centos 5.1. i also tried another intel gigabite adopter but it also won't recognize by centos 5.1.
I have installed the LG BE08LU20 on five Centos servers during the past three months. Two HP ML115, two Dell T110 and mine which is an older Dell Dimension. All except one of the Dell T110 work fine. The BE08LU20 drive is used for 50Gb backups using mondoarchive. On the problem machine which has just been installed from scratch again, it will quite happily mount cd and dvds but not 50Gb BD-RE. I take the same BD-RE disk which it objects to and load it on my identical be08lu20 on a Dell Dimension with Centos 5.5 and it is recognized and allows writing. I swapped my working drive for the problem one but it makes no difference. The 'faulty' drive works perfectly correctly on mine. The OS is Centos 5.5 I have used the same DVD to install three machines with it. Two work including mine, but not the T110. Another customer with T110 also has a be08lu20 and mondoarchive with bd-re disks and theirs worked from the start. They have Centos 5.3 and up-to-date patches, but it should make no difference I've tried both usb and e-sata the result is the same. The centos 5.5 has kernel 184.108.40.206-el5PAE
If I load a bd-re disk in the drive and mount it - this is what I get [root@localhost log]# mount /dev/scd0 /mnt/cdrom mount: you must specify the filesystem type This is the log Aug 25 00:33:17 gilmartin1 kernel: end_request: I/O error, dev sr0, sector 2096896 Aug 25 00:33:17 gilmartin1 kernel: Buffer I/O error on device sr0, logical block 524224
There was another problem with this particular machine. I could install Centos, configure Samba and join the users to the domain without a hiccup. Then in the small hours of the morning (not always the same time) it just locked up, no kbd, no mouse, no display, no disk active, no network. Only solution was switch off and it would come up again quite happily with nothing logged and run without a problem for another 20-24 hours. Dell eventually agreed to replace the motherboard. I installed Centos again from scratch. It's been fine all week. The blu-ray problem has been there from the start, and has NOT been solved by the new motherboard.
my android phone doesn't seem to be recognized by the system and it's file system is vfat how did it occur while i've been using my phone as a storage device it still works yesterday but upon plugging it in the usb port it says "cannot mount volume".....
I just installed CentOS 5.2 on a mini Atom server and it wont recognize the nics. Not sure what kind they are, think they are Intel. (built in)It's the first time this has happened to me. Where do I start to get it to recognize the nics? Normally it works out of the box.
I have a samsung removable hard drive, which have 3 fat32 partitions on it. When I plug into the usb. nothing happened and i just see a sdc was added in /dev/...so, there's nothing wrong with the drive, because i can use it on windows and ubuntu.
I have updated bind using yum on a Centos 5.3 server, after restarting, I have this error now. Error in named configuration: zone localhost/IN: loaded serial 42 /var/named/mydomain.hosts:20: unknown RR type 'SPF' My version of is : bind.x86_64 30:9.3.6-16.P1.el5
So I am experimenting with other linux distros.....I just installed a small partition with OpenGEU, the one still based on Ubuntu.....now it wont recognize Mint. Ubuntu Studio is next on my list, but before I invest any more work I want to make sure I can add more partitions to grub, not just the most recent linux partition...
I think that future distros of linux should have a fix for this....if you install linux it should detect every other operating system on the disk, not just windows plus the most recent linux install.
install /boot separate? I always create a / and /home partition but never separate boot. Does that make life easier?
I have a home samba server with a 3ware Escalade 8506-8. I have 5 x 500 gig hard drives in a RAID 5 array. Recently, my 8506 died and I need to get a new one. However, I saw a 3ware Escalade 9500S-12 on ebay for about $20.00 dollars more than a replacement 8506-8.
My question is, if I put my drives on the 9500S, will it recognize my existing RAID array? Or will it want to build a new RAID array and format all of my data?Hope I have asked this question clearly, little short on sleep this week.