CentOS 5 :: Yum Update Three Systems With Only One Download?

Mar 31, 2009

I have three CentOS machines which want updating from CentOS 5.2 to 5.3 sometime in the next week or two.I've always just done su -c 'yum update' on each machine, and let it slowly download and update a zillion pkgs. And every time I do that, I tell myself that *next* time, I'll figure out a better way.

I'd like to be a little more efficient this time, and have the 2nd & 3rd machines re-use some of the packages that the first machine downloaded. Two are workstations, and the third, a headless non-X11 fileserver, so they have different (but overlapping) sets of packages that they'll need. But the in-common packages comprise a lot of downloading that I would rather do only once. There's some way to set up a local yum repo on my server, mirror *everything* onto it, and update all machines from it. But that looks trickier, and way overkill for my purpose. Or I could just download ISOs, and work from there, but two machines don't have optical drives to boot from, and the ISOs contain tons of stuff that none of these systems need, so the download savings would be cancelled out.

A little reading of forums/manpages/etc, and I think I want to make use of yum localupdate (which I've never tried before), and do something along the lines of: 1.) Update the first workstation. It'll download all pkgs it needs overnight, and then update itself: [wkstn]$ su -c 'yum update'

2.) Make sure everything is working correctly.

3.) Grab every *.rpm from wkstn's /var/cache/yum and all its subdirs, and copy these to a temp dir on the server's raid: [wkstn]$ cp -a /var/cache/yum /server/raida/wkstn_yum_cache

4.) Update any server packages that the wkstn already downloaded.[server]$ su -c 'yum localupdate /raida/wkstn_yum_cache/'

5.) Update any server packages that the wkstn did NOT download: [server]$ su -c 'yum update'

6.) Deal with anything that broke on the server. The raid drivers, for example, always seem to need rebuilding, after kernel updates.

7.) Update the other workstation.

Question #0: Will this do what I want? I've never tried yum localupdate before, and the yum manpage doesn't elaborate much. Am I really barking up the wrong tree? Is there some much better way of doing this, for updating just 2 to 4 machines.

[Code]...

View 2 Replies


ADVERTISEMENT

CentOS 5 :: Mirrors Cant Download Or Update Anything?

Feb 6, 2011

there is a problm with my mirrors..i cant even download or update anything .When i write yum install vlc

it tries to download and says
trying another mirror
again trying another mirror
Similarly it tries different mirror and stopped.

View 8 Replies View Related

CentOS 5 Networking :: Unable To Get Update Or Download Any Native Programs. But Able To Access File From Samba?

Jul 4, 2010

Unable to get update or download any native programs. But able to access file from Samba

View 1 Replies View Related

CentOS 5 :: Update Fails With "Package Does Not Match Intended Download"?

Apr 4, 2009

I have many servers running CentOS 5. I noticed yesterday many had a notificationthat updates were available. I clicked update and they all fail using the GUI. WhenI run yum update it shows packages to be upgraded and asks me to confirm. I enter yes but Yum fails on the first package. I wonder if this has something to do with therelease of 5.3?I get the same failure if I run a yum upgrade too.

Total download size: 465 M
Is this ok [y/N]: y
Downloading Packages:

[code]....

View 19 Replies View Related

Ubuntu Installation :: Download The Update And Then The Others To Download From The Local Resource

Aug 2, 2010

Here at home I have several Ubuntu installations, mine, the kids computers and a couple of laptops. What I'm looking for is a solution or a pointer in the right direction to setup on our local Ubuntu server a sort of cache. Each day each Ubuntu on the network, checks for updates and downloads, and installs. What I'm looking for is a way for one machine to download the update and then the others to download from the local resource.

A sort of local cache to try and minimise everyone downloading straight from the net for pretty much the same updates. I did a emerge cache many years ago when I was using Gentoo, so I'm wondering what I can use/do here with Ubuntu as we are all loving this distro now.

View 2 Replies View Related

Ubuntu Installation :: Update Manager Not Restart 10.4 Update After Broken Download

May 2, 2010

I started the upgrade to 10.4 from 9.10 through the update manager. It started the update to 10.4. After downloading almost 95% of the update, it gave an error message of "could not download certain components. downloaded files will not be erased" and stopped the update. I restarted the PC, and started the update manager again. But now it does not show any option of update to 10.4. how do I continue or resume the update process? I just started using ubuntu about 15 days back. So, I am relatively new to this.

View 3 Replies View Related

CentOS 5 :: Re-instal Windows XP - Systems Hangs?

Mar 29, 2009

I had a spare computer (Dell Optiplex GX270) which I had installed Centos 5 on and have been setting up asterisk (telephony) on it. My main computer has broken down and I need to load Windows XP back on to the Optiplex.

I put the Windows XP disk in the drive and directed the bios to boot from the cd. I get the message "Please wait while windows inspects your current hardware configuration" and then after about 10 seconds the screen goes blank (the cd also slows down and then stops) and then the systems seems to just hang.

If I take the cd out and boot from the hard drive Centos loads normally; therefore I'm assuming my problem is not a defective hard drive.

I've spent quite a bit of time searching online for a solution and although there seems to be several different situations where the above can occur, I'guessing that my ssues are related to either partions/mbr and or the bios/cmos. I'm really new to Linux and not knowledgable on partitions and cmos so I'm hoping someone could help me out here.

I've checked in the bios and could not find an option to restore the settings to factory defaults. Should I pull the csmos datterry out? Does this restore the bios settings to factory defaults?

View 5 Replies View Related

CentOS 5 :: File Systems Readonly / Solution For This?

Apr 30, 2011

We have upgraded CentOS release 5.6 (Final) with 2.6.18-238.9.1.el5 kernel. After the reboot all configuration files under /etc became READONLY. my file system's still in rw mode.code...

View 2 Replies View Related

CentOS 5 :: Yum Automatically Updated Systems Without Configured

Aug 11, 2011

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?

View 2 Replies View Related

CentOS 5 :: Create A Workflow For Upgrading Various Systems Using Kickstart?

Mar 18, 2011

I am trying to create a workflow for upgrading various systems using kickstart. I was hoping folks can point me in the right direction.I have a system which already has Centos installed on it. However it is a stripped down version of Centos using a custom kickstart installer. Now I would like to upgrade these systems, using an updated kickstart file spec. I would like to be able to copy over required files into a partition on the system, make a change in the grub.conf, reboot the system and expect the system to use the kickstart file and the iso file located on a partition on the system to self upgrade the entire system.The partition which holds the iso on these systems may be raided, or it may be an LVM partition.

How do I specify in the kickstart file that the location of the iso is on an LVM partition? Is this even supported? I have tried specifiying the disk like so:

< -- isolinux/ks/harddrive.cfg -- >
upgrade
text
harddrive --partition=mapper/VolGroup00-LogVol02 --dir=/isolinux

[code]...

But the installer did not seem to like it. Instead of the iso, can I put the entire tree instead? Would that work?

View 8 Replies View Related

CentOS 5 Networking :: Change A Systems Hostname And IP Address Via Script?

Dec 14, 2010

I am looking for a way via script to change a systems hostname and IP address!

View 1 Replies View Related

CentOS 5 Hardware :: Request For Working Xorg.conf For ATI 4xxx Systems?

Nov 10, 2010

I just set up a new CentOS 5.5 system (using the 5.5 DVD, yum updated all packages to latest) which unfortunately due to various issues and most critically availability, has an ATI-4350. The install went OK but X does not detect the card properly so it's using the slow VESA driver. I followed the instructions here [URL] to download and install the ATI driver. It appeared to be correctly installed but not used.

Display still detects my monitor and 4350 as unknown and using some "Vendor supplied driver". Yet under the "Dual Head" tab, if I would to enable it, the ATI-4350 comes up as an option, hence implying that the driver was corrected installed and the card is actually detected. I suspect it might have to do with my Xorg.conf, although trying to edit in several ways didn't make it work.

View 1 Replies View Related

CentOS 5 Networking :: Resolv.conf -- Systems Ignore Secondary & Tertiary Nameservers?

Feb 10, 2011

I have a number of CentOS servers with latest 5.xI have 3 nameservers in the resolv.conf files. All 3 nameservers test out fine when checking for domain lookups.I'm having some trouble with ns1 and shut it down.l None of the CentOS machines fail over to the ns2 & ns3 entries. Basically everything stops resolving even though the other 2 nameservers are alive and well.

View 1 Replies View Related

CentOS 5 :: Segmentation Fault Error When Trying 'yum Update' Or 'yum Check-update' After Running 'yum Clean'

Jul 26, 2011

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!

View 3 Replies View Related

Ubuntu :: Pdf Download Won't Update On Chromium

Jun 10, 2011

I use chromium on ubuntu 10.10.

I have just noticed, while waiting for exam results, that the pdf containing results would not show, because chromium appears to have saved the old pdf and won't update it.

When I opened the pdf using an incognito window it worked fine and also firefox worked fine.

View 1 Replies View Related

Ubuntu :: Update Labavcodec1d Will Not Download / What To Do?

Mar 20, 2009

Ubuntu keeps notifying me to install its new update but it will not download. A little bit downloads and then it starts over again and again. Is there anything that I can do about this, please?

View 4 Replies View Related

General :: Where To Download Rhel4 Update 9?

Dec 12, 2010

Generally redHat releases beta version free. Where can i download rhel4 update 9?

View 1 Replies View Related

CentOS 5 :: Drbd83 Appears On Yum Update But Not Check-update?

Sep 24, 2009

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?

[root@here]# yum check-update
Loaded plugins: changelog, downloadonly, fastestmirror, priorities, protectbase,
: security
Loading mirror speeds from cached hostfile
* epel: www.mirrorservice.org
* base: mirror.sov.uk.goscomb.net

[Code]...

View 12 Replies View Related

CentOS 5 :: Yum Update FAIL \ Error When Want To Update System Via YUM?

Jul 13, 2010

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.

View 5 Replies View Related

Debian :: Have Slow Download For Update / Speed This Up?

May 26, 2010

I am using debian(lenny) on a pc coexisting with windows. I use grub to decide which o/s to boot.

I picked debian, logged in as a regular user. I selected "Administration" under the "System" tab and then selected "Update Manager". I had to provide the root password.

I was asked to insert Binary DVD-1 and was told to use smart update. I did at which time 16 files begun downloading at between 4400 B/s and 4800 B/s from the Security server. It looks like it is downloading a new linux image.

Is there any way to speed this up?

View 4 Replies View Related

Fedora :: Rsync Only Download Kernel Update?

Nov 23, 2010

I use Fedora 14 32 bit at home and I d not have internet in home , so I download all packages are depend on Fedora 14 in my work place and move all of them to home by USB flashI use rsync for download all packages , in home I make local repo and install all packages I need by use local repo ,right now I want update my kernel , and I want use rsync foe download kernel update for fedora 14 .How I can do this , I want rsync only download update are depend on kernel and does not download other thing How I can do this ?

View 3 Replies View Related

Fedora Networking :: Cannot Update Nor Download Anything In F15 Because Cannot Get On Line

Aug 19, 2011

I am using Fedora 12 Live Disk to post this because Fedora 15 seems to be missing the Network Manager, which is what I need to set up my Dell 1525 laptop.I cannot update nor download anything in Fedora 15 because I cannot get on line.I can't find the Network Manager in F-15.I have the Intel PRO?Wireless 3945ABG internal Mini Card.

View 10 Replies View Related

Ubuntu :: Can't Update Or Download Any Software Using Either Kpackagekit Or Apt-get

May 4, 2010

I finally gave in and took the plunge - I upgraded from kubuntu 9.10 to 10.04. I knew better but I did it anyway. I got a few fglrx-related error messages during upgrade, but it was too late to do anything. Here's the problem - I can't update or download any software using either Kpackagekit or apt-get. If I try I get an error message about unmet dependencies.

[code]....

View 5 Replies View Related

Ubuntu :: Download Packages For Update From Another Computer?

Jul 17, 2010

My internet connection is one where I have to pay according to the amount of data transferred and Ubuntu updates require large downloads. I was wondering if there was some way to export the list of packages required for an update in ubuntu and then go and download them from another PC. (The other PC in question will be running windows).I'd love to know of any apps that can do this ..If there aren't any can someone tell me if there is a way to do this? I am just getting used to Linux but I still have no experience at all with writing shell scripts (which I suppose would be needed for this sort of thing).

So in summary, this is what I want. Synaptic (or any other package manager in Linux) should generate a file with all the packages that should be downloaded. A program on the PC with a better internet connection then interprets this file and downloads the packages creating a local copy of the packages. These local copies are then transferred to the Linux box which required the updates and the updates are applied..

View 5 Replies View Related

General :: GPG Key Missing - Update Key To Download From The Repositories?

Feb 20, 2010

When trying to update, there comes a problem with a missing key. I'm figuring you need to update that key to download from the repositories. I'm a little stumped on how to get the key or renew it.

Quote:
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6

Public key for mtr-0.75-1.el5.rf.i386.rpm is not installed

View 10 Replies View Related

CentOS 5 :: Where To Download CentOS LAMP?

Nov 30, 2009

I am looking for the CentOS LAMP system (all in one) that can fit onto a CD or a DVD. When I check the download section there are 6 files of 700MBs or so. How come there are CentOS versions of Asterisk (for example Trixbox) that has LAMP and CentOS 5 and yet fits on one CD?

Is that a stripped down version? if so, can you please guide me to a simple CentOS version on this site so that I can download it and build LAMP on it?

View 6 Replies View Related

Debian :: Apt-get Update - Index Files Failed To Download

Oct 3, 2010

W: Failed to fetch [URL] Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. Tried 3 different mirrors all have the same error. I assume this is the same issue we had a while back where one package was messing things up. Mirrors I my sources.list

[Code]...

View 9 Replies View Related

Debian :: Apt-get Update Fails To Download All Index Files?

Jul 1, 2011

Does anyone know how to resolve this?

apt-get update
[...]
W: Failed to fetch http://mozilla.debian.net/dists/squeeze-backports/Release  Unable to find expected entry  iceweasel-4.0/binary-i386/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.

View 2 Replies View Related

Debian :: Unable To Download All The Update In One Go And To Complete The Upgrade?

Jul 16, 2010

My internet connectivity is not that fast. Since I am using Squeeze, there will be very frequent updates.

My problem is that I am not able to download all the update in one go and to complete the upgrade. As the number of files to be downloaded and upgraded increases, I can't seem to be able to reach the end point to complete any update.

Can aptitude upgrade just the files that have been downloaded so far, and resume downloading the rest in the next attempt? MS Windows will update the OS with whatever patches downloaded without waiting for the rest if I prematurely shutdown the pc.

View 5 Replies View Related

Ubuntu :: Update Manager Fails To Download Updates?

Jan 10, 2010

I recently installed Ubuntu 9.10 on an old computerd lying around and have been pleasantly surprised by it.I had a small problem with firefox not connecting to the internet but I managed to fix this by disabling ipv6 in about:config.The problem I now have is that update manager fails to download updates and gives a message saying failed to fetch several files.I'm connected to the internet via a wired router

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved