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:
I have a LAMP server that have been working allright for some time now.
I have been running 'yum update' on it every month without problem up until this morning.
Today when I try to update I get the following: Error Downloading Packages: 1:net-snmp-libs-5.3.2.2-9.el5_5.1.i386: failure: RPMS/net-snmp-libs-5.3.2.2-9.el5_5.1.i386.rpm from updates:
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
I installed Fedora 12 inside VirtualBox and trying to make Software Update. It fails with different messages which looks like:Could not add package update for ..Package name may differ. Internet connection is working. Is there another way to update the system?
No updates are available No network connection was detected. =================================
I did updates almost daily on wheezy
Todays updates [via the Pkg Updater GUI] were over 300 meg. After the updates and reboot System was showing version 8.0 in the GUI desktop and using 'cat /etc/debian_version'
Then... From terminal I did ...
apt-get update apt-get dist-upgrade
The dist-upgrade was over 40 minute and ~ 500meg
Things seemed to go well.
I updated sources.list with apt-spy.
[In order to trouble-shoot: I subsequently commented-out the apt-spy sources and found some generic sources on internet]
When I open Update Manager and click "check," it starts downloading package information and then the following pops up: Could not download all repository indexes.
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Failed to fetch [URL] 404 Not Found [IP: 91.189.88.45 80] Failed to fetch [URL] 404 Not Found [IP: 91.189.88.45 80] Some index files failed to download, they have been ignored, or old ones used instead.
I opened Software Sources to try and remove the repositories, but couldn't find them. Plus I'm not sure if I need to manually replace these repositories with newer ones- I'm still relatively new at using Ubuntu (made the full switch from windows in October 2009). Plus, whenever I do install updates with the update manager, the "last updated" time doesn't reset itself. It finishes installing the selected packages, and the message at the top of the Update Manager window reads "Your system is up-to-date. The package information was last updated 28 days ago. Using Ubuntu 9.10 x86_64
my update today failed, because the packages raydium and maniadrive depend on libphp5-5.2.9.so, which is provided by php-embedded, which is (apparently) not in the fedora 64bit repository There does however seem to be an i586 version...
I wanna install adobe flash player with yum but it fails to download, I think there may be something wrong with the repositories. Totally, could you give me a step by step instruction for installing the flash player.. i have already tried downloading it from adobe web site for linux and rpm (yum) but i couldn't install it. i also had NOKEY letter in the result
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.
I need an update on the ndiswrapper sottware package. Previously, when I totally rebuilt my laptop, I was able to find and install the ndiswrapper RPM from somewhere using the Add/Remove software tool provided in CenTOS 4.x - it worked great! The last time I used this was about a year ago - probably Dec 09.I am currently rebuilding my laptop and anticipated be able to find and install the ndiswrappper as before. My current search doesn't find it! Did I miss something here? Is there a server down - or possiblly is this just no longer available using the Add/Remove tool?
I have just been told that httpd was not running on my Centos virtual server. It seems that my hosting company rebooted my server 2 days ago and that httpd restart failed due to:
Starting httpd: httpd: Syntax error on line 213 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/proxy_ajp.conf: Cannot load /etc/httpd/modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module
I had worked around and forgotten about this some time ago. The problem arose because the most recent httpd update installed proxy_ajp.conf into /etc/httpd/conf.d which was then loaded on restart The trouble is I do not use mod_proxy (I think just to try and get a lean and mean web server) and proxy_ajp.conf does not check if mod_proxy is loaded before it tries to LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
Hence httpd fails to restart. RedHats's bug tracker lists this as an old issue (which was never resolved) [URL] My workaround was to rename proxy_ajp.conf to proxy_ajp.conf.orig so that httpd would start up correctly. However any updates simply reinstall proxy_ajp.conf and so IMO the problem needs to be resolved at source. how to ensure that httpd updates do not bite me in the future? Do I really have to run mod_proxy whether or not I need it?
I haved tried 3 times to download DVD-7 from http://cdimage.debian.org/debian-cd/...md64/jigdo-dvd, and every time it has failed with just 5 files left to download.
It says: I cannot begin to describe. All those hours of downloading for nothing! What the heck is happening here? When I try to just continue on, I get error code 3 aborts and have to just start all over.
I have built the linux-image deb using uclibc as cross compiler but I failed to install the package to the root file system on my CF card. It shows the following ERROR message : Code: dpkg: error processing linux-2.6.26_2.6.26-1_uclibc-linux-i386.deb (--install) : Package architecture (uclibc-linux-i386) does not match system (i386) Errors were encountered while processing : linux-2.6.26_2.6.26-1_uclibc-linux-i386.deb
Trying to do a yum update to get everything to latest, towards the end it says this:
[Code]...
how to get around this? I tried yum clean all, then yum update, again but it did the same. I had other deps missing on other servers but yum clean all fixed them -- can't find anyone else who's had this specific issue either, nor an rpm called 'device-mapper-event' or the other things that are missing - am kinda stuck!
I have a weird/stupid question. How do you know what command would start an application after installing it, if the synaptic package name doesn't match?
For example google chrome and lmsensors. The first appears as Chrome in Synaptic and the second as lmsensors, but to run them you have to type google-chrome for the first and sensors for the second in the console to start them. When I did locate sensors or locate chrome/chromium, nothing came up in the search that would hint me that I need to run those commands. I had to rely on a google search and look for someone else's answer. Is there a better way, one that I can figure it out on my own?
I have tried to install CentOS about twenty times. Each time it hangs up at package download. I says that file rsh-o,17-40.e15.i386.rpm cannot be oppened Due to a missing file or corrupt package or corrept nedia.
when ever i try to install updates i get shown an error & the updates stop the error i get says "librpmio.so.0 is needed by package abrt-1.0.3-1.fc12.i686 (updates) librpm.so.0 is needed by package abrt-1.0.3-1.fc12.i686 (updates)"
Today, I try to update firefox by Package Updater but show error by bellow. "Missing Dependency: xulrunner >= 1.9.0.19-1 is needed by package firefox-3.0.19-1.el5.centos.x86_64 (CentOS5updates)"
While i am using yum update am getting an error: Error: Missing Dependency: libgpod.so.0()(64bit) is needed by package rhythmbox-0.11.6-4.el5.x86_64 (installed).
Sometimes i have on some magazines or Internet Zip packages that are the answer of what i am looking for.
Wich tool and how can i do it? c Well, i am in position to say that i had downloaded from Internet or located the package in the Cd or DVD that comes with the magazine.
But now comes the big question. How can i put this package ( install) on my distro ???
Do i have to be a normal user or should it be root or su (superuser) ?
The packages that come with the distro is easy, because i select them and everything is done
As i told before, maybe this is a silly question, but i simple don't know how to install them and i need some of them to leave MS for good.
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.
Code: $sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";
In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.
Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?
we are having with nView on Linux. We are running a dual boot with CentOS-4 (2.6.9-67.ELsmp) and XP.
When we boot into XP and configure the nView manager so we can clone our monitors onto a projector it works perfectly and we get the full 1920x1200 from the Eizo S3421W replicated onto the full projection display. When we attempt the same thing in Linux it doesn't work - I cannot find the same 'Clone' settings. Instead if we try and match the same resolution settings it goes out of scan range.
The best I can get is 1920x1200 on the display and 1600x1200 on the projector. As you know different aspect ratio so on the display you get a strip of picels running down the right that isn't on the projection.
We are running QuadroFX1700s. how we setup the same as in Windows?
I have installed Ubuntu 11.04, 64 bit and now I am trying to install/configure MFC-7420 scanner part (printer works fine)I tried to follow the steps listed at http://ubuntuforums.org/archive/index.php/t-590793.html, but I don't have etc / udev / rules.d/45-libsane.rules file to edit and can not continue with the remaining steps of the guide.
I also tried to follow the steps provided by the Brother Solution Center http:[url].... I have downloaded brscan2 64 bit and installed without error but when I tried to install the brscan-skey-0.2.1-3.amd64.deb using >sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb I get the following error:
************************************************** ************************************************** sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb [sudo] password for aUser: dpkg: warning: overriding problem because --force enabled:[code].....
Which dependencies am I missing? or What am I doing wrong?