CentOS 5 :: Yum Automatically Update The Box To 5.3?
Apr 1, 2009
I see Centos 5.3 is out, actually i have been seeding for the last 18hrs. Will yum automatically update the box to 5.3 or is there a special way to do it. Am using the centos plus kernel.
Ever since I've been using 10.04 I have never once had the update manager come up by itself like it used to with 9.04. I've given it a week one time thinking maybe there were no updates but then when I finally selected it myself it worked just fine (and had about 20 updates waiting). I've just been opening it every few days and manually getting my updates since then. This bothers me because in the future I may forget to update and miss something important.
My settings are:
-Important updates -Recommended updates -Check for updates Daily -Only notify about available updates
I have ubuntu 9.10 and using dyndns by apt-get install ddclient but when my internet disconnect and my real ip changed it wont update automatically i have to go to computer and type in terminal ddclient then it get update ....is there any way to get it update automatically.
I have an old computer and BIOS counts the time slower than real. So, how can I set my OS to update the time automatically using the internet? If it updated the time only during booting, it would be enough.
Is it possible to configure a cron script to update the packages in /var/cache/apt-cacher/packages? When a client machine updates a package, apt-cacher checks that it's cached package is up-to-date, and downloads a new version if it is not.
I'd like apt-cacher to check it's cached packages every night and download any updated ones, on the premise that since it exists in the apt-cacher cache, someone has that package installed and is going to want to update it. Is this possible? Does apt-cacher do this anyway, and I haven't noticed?
I'd like to have my own script be executed automatically after doing a Linux kernel update. Is there somewhere i can link into this process that isn't touched by the update itself? The purpose of this idea is to try automate the installation of sound (alsa 1.0.23-2) and video drivers (nvidia from website) that i typically need to do after every kernel update.
I just noticed that my USB sticks are not automatically mounted anymore after having updated kernel from 2.6.32-24-generic to 2.6.32-25-generic on my Acer Extensa 5220 laptop. It still works if I "sudo modprobe usb-storage". What might have gone wrong? I'm not experiencing this on my desktop machine also running 10.04. How to fix this permanently? And now I remember that I'm not able to use my mobile broadband either (Nokia N900 in PC Suite mode through USB). It's just not detected anymore. It must suffer from this same problem. I tried to roll back to the previous kernel, but then the restricted driver for my Broadcom WLAN refuses to install
Just wondering is there a way to make the update manager display automatically in Ubuntu 10.10 after it check the repositories for updates. I keep having to manually put sudo apt-get upgrade all the time. Even set to daily it never pops up.
I'm currently writing a script that will update the software packages on six ubuntu servers so I don't have to go in and update them manually constantly. Problem is, I'm not sure which command I should use to do this the most effective and safe way. Currently, I use sudo apt-get upgrade -y on my own machine, though I can see how this could be dangerous on production servers. I was in the IRC chat and I was told aptitude safe-upgrade is something I may want to look into. Is there a way I can only update security related stuff instead of everything? What do you guys suggest would be the best way going about this? Another issue I can foresee is certain packages that have an interactive prompt. While apt-get upgrade -y takes care of most of this, MySQL would fail with this as it opens up it's own prompt. Anyway I could make my script skip these types of prompts, so I can go back and update them later manually?
this is probably something trivial but how can I auto start gdm on CentOS 5.4??I had to perform a text install due to Anaconda having some issues as I'm running Cent on Sun's VirtualBox.I have tried to add chkconfig --add gdm which didn't work, also there is no init.d script either for gdm so not sure if it's in a directory somewhere or if I have to create it manually??IF I run simply gdm from teh cli then everything is ok and starts fine....
I'm using testing/Wheezy 64 bit: after upgrading to the latest repository kernel (2.6.38-2-amd64) my WLAN card isn't showing up unless I do a "modprobe brcm80211" or add " brcm80211" to /etc/modules.
No nameservers found; Try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: [...]
After running wvdial. I suppose I have to create a file ifcfg-ppp0, but what does it have to contain in order to automatically grep the DNS servers from wvdial?
In Ubuntu, it works just fine, just that I don't have an Ubuntu installation anymore.
I updated Fedora 14 with the new kernel-2.6.35.12-88.fc14.i686 but when I reboot its rebooting automatically after showing the bios. What can I do now.
I did an automatic update and rebooted this morning and I now have a bit of a nightmare situation where I can't open the majority of applications, including the terminal. When I rebooted, my desktop loaded as normal, but then when I try to open the terminal (from Applications -> Accessories or from my quick launch panel), nothing happens other than the quick launch panel disappears for a second then reappears. This is the case for most other apps, but not for Chrome (obviously).
EDIT: Used Alt+F2 to open the terminal, ran safe upgrade and then rebooted, but still having the same issue. As Ubuntu was booting, there was a "Broken pipe" message, which didn't stop the boot process but is still a bit worrying. I've run a file system check but this hasn't resolved the problem either.
Do you have any idea on how to achieve my goal? Here is the scenario. As a requirement on our development process for every ticket we have we need to create a branch(svn) so that we can develop without disturbing other developer. Now for every checkout I made I need to create a vhost so that I can develop first in my local before deploying to the branch.The site I'm working on is based in Drupal. The files I checked out is just the all folder of Drupal. The core files are already in my local. So the script would grab the core files and copy the all folder in my checkout branch then put them in the vhost.So basically I need a script that will do these automatically for me:1. Setup a vhost Ex: My branch name is 1205googleplusone. Inside that branch has two folders, all and default. What I need only is the DocumentRoot should only point to all folder.2. Update the /etc/hosts Ex: The URL should be 1205googleplusone.domain.com. 3. Create a new database for the new site The script should create a new database and update the configuration.php
On two Centos5 servers, yum gives a segmentation fault error when trying 'yum update' or 'yum check-update' after running 'yum clean' :
[Code]....
The error is the same for the other computer except while attempting to update the rpmforge repository. Nothing has really changed on the servers in some time and 'yum update' worked fine on each yesterday and I have no idea why they would both suddenly fail!
Since I installed Centos in Text mode it automatically boots into terminal instead of X. I merely have to type "startx' and the gui loads without a problem. Is there a simple way to automate this so that I boot directly into the gui?
(BTW, I checked many of the posts about the GUI but most dealt with startx not working or with modifying VNC Server - that wiki seems like overkill in my case.)
For some reason, when I do a yum check-update I get a list of no changed packages to install. If I follow this immediately with a yum update then it tries to install drbd83. I've tried a yum clean all and repeated the commands and get the same thing. This happens on both the machines that are set up to use DRBD. Just seems weird and I don't understand. Anyone got an explanation?
I have a error when i want to update my system via YUMI execute the next command.sh@ yum -y updateYou could try using --skip-broken to work around the problemYou could try running:package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigestThe program package-cleanup is found in the yum-utils package.
when I plug in a Small USB key, hotplug sees the new device, mounts it in userspace and creates a link on the desktop. The user can open the link and read and write to the USB key. I have tested 3 different usb keys and they all work. When I plug in a USB 250 GB drive (Lacie), also fat32, it doesn't mount:
May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB) May 11 12:25:29 tinkerer kernel: sdf: Write Protect is off May 11 12:25:29 tinkerer kernel: sdf: assuming drive cache: write through May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB
However, I can mount the drive manually as root. The problem is that the user cannot write to the device if it's mounted by root.Is this a problem with hotplug/udev or another way that I can make this device available rw to the user?
I have Centos 5.3 on my home computer. When I was logging-in to the terminal it was like ( myname@34myhome.local$ ) now when I log-in to the terminal I get (myname@dhpdpc64$ ) I have not changed anything. It seems like my domain name has changed. Why the domain name changes automatically?
1st referring to: [URL]. I have no paid support channel at Redhat as I am using an evaluation copy. I use a pretty fresh installed RHEL 5.4, which should be very similar to CentOS. After the basic installation I installed xen and xen-kernel via yum with no errors. I can manually select the xen-kernel at boot time. But after booting the normal kernel shows up.
[root@noname boot]# uname -r 2.6.18-164.11.1.el5 My /boot/grub/menu.lst looks like: default=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-164.11.1.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-164.11.1.el5 module /vmlinuz-2.6.18-164.11.1.el5xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet module /initrd-2.6.18-164.11.1.el5xen.img title Red Hat Enterprise Linux Server (2.6.18-164.11.1.el5) root (hd0,0) kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet initrd /initrd-2.6.18-164.11.1.el5.img title Red Hat Enterprise Linux Server (2.6.18-164.el5) root (hd0,0) kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet initrd /initrd-2.6.18-164.el5.img
I can't see anything wrong and I did not change/try anything. My machine has a intel core 2 quad q6600 cpu, wihich should be capable of virtualization. It's not a problem of default=1 or default=0, because I selected the xen-kernel manually in the grub menu. Btw: I changed the menu.lst with default=0. Then the system is repeatedly booting; last visible message 'starting udev'.
I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)
This just started happening when I go to use my scanner with xsane: Failed to open device "epkowa:interpreter:001:003": Access to resource has been denied The work around is # chmod 2777 /dev/bus/usb/001/003
How do I tell CentOS I want my users to automatically be able to read my scanner when I boot up or when I insert the scanners USB cord after boot up?
i am using squid proxy on centos 5.x release with stable version. during installation time i fixed date time region.it was basicaly gmt +3:00 hours. so everything was fixed, now since past few days every 24 hours it change its time automaatically. this looks like it take update somewhere from internet or internally something is mess up.could someone guide me how to fixed permanantly date time. even either restart the machine or passing 24 hours it do never change it. etc