Why this error when trying to do a yum update?
I am running FC6 version 2.6.18-1.2849 and when I do a yum update this is the error I get.
Transaction Check Error: package kernel-2.6.18-1.2849.fc6 is already installed file /boot/System.map-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6 file /boot/config-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6 file /boot/symvers-2.6.18-1.2849.fc6.gz from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6 file /boot/vmlinuz-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6 What should I do? |
well, acording to this error output, you already have what you want. Did you type something like "yum install kernel" instead of "yum update kernel"? This could have created that error. But it seems that you have the most up to date kernel.
|
i agree with the above answer.
|
Thank you both for the reply. I am a newbie so bare with me.
I just typed in: yum update I thought that was the same thing as the software update available in Applications>System Tools>Software Update. When the computer lets me know that there are software updates available, I install the updates, but I get this same error either way. Its confusing because the computer tells me that there are updates available, and when I choose to install this updates, it gives me an error. |
Is your computer missing some functionality? Personally, I don't update just because there are updates. I update when I see a need to. I'd just consider if it's worth the hassle. If it works as is - I'd leave it.
P.S. Just typing "yum updat" tries to update every single package installed on your computer, which can take a very long time, and it might be that complexity which causes this error. Try "yum update <name of package>" to update just the package that needs updating. |
trouble with ndiswrapper
Well, the reason why I wanted to update everything was because I am having problems with ndiswrapper. To make a long story short, I installed FC6 and started learning about linux. It took me hours of reading but I got my D-Link DWL-G120 wireless adapter working with ndiswrapper. I was having trouble with video playback and did something that set me back quite a bit. I put the FC6 installation cds back in and try to do a update install and it messed some things up. Now, I have my video playback working, xine working, vlc working but no wireless adapter. When I boot up it says the ndiswrapper device eth1 (eth1 is the name for my adapter when I configured it) does not seem to be plugged in. So I went back to my ndiswrapper instructions and wanted to load the module (because I don't know how to fix the problem). In the terminal, when I type the code:
depmod -a I get this error: WARNING: Can't read module /lib/modules/2.6.18-1.2849.fc6/weak-updates/nvidia/nvidia.ko: No such file or directory Now I am stuck. This is where I figured I should do a yum update. Can you help me with this problem? Thanks for your help so far too. |
hmm...
you're making me think on this one. :) i may be wrong on this, but i do believe that ndiswrapper has to be compiled for your kernel. -- what i'm trying to say is that, if you updated your kernel (because you had audio/video issues) after you installed ndiswrapper and got the wireless working, then the new kernel is what is preventing you from getting the wireless working. wireless --> talks to --> ndiswrapper module --> talks to --> kernel. change the kernel, change the chain of 'command' (for lack of a better term). i do not have any ideas on why the audio/video would have a relation to the wireless (specifically why mods to the audio/video hardware/software affected the wireless driver). |
tryin to reinstall
Ok. So, I am trying to reinstall and compile ndiswrapper. I have removed the previous ndiswrapper with a make uninstall. I have downloaded ndiswrapper-1.2.8 and extracted the files. I did a make distclean and it worked. Then I go to do a 'make' and this is the error I get:
make -C driver make[1]: Entering directory `/root/ndiswrapper-1.28/driver' Can't find kernel build files in /lib/modules/2.6.18-1.2849.fc6/build; give the path to kernel build directory with KBUILD=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/root/ndiswrapper-1.28/driver' make: *** [all] Error 2 I am obviously missing something, but what and how do I get it? |
Go to a terminal and, as root, type
yum update kernel-devel what you are missing is the source for your headers. This should fetch it and install it for you. |
when i type in yum update kernel-devel this is what i get:
Loading "installonlyn" plugin Setting up Update Process Setting up repositories livna 100% |=========================| 1.1 kB 00:00 vlc-contrib 100% |=========================| 951 B 00:00 core 100% |=========================| 1.1 kB 00:00 vlc 100% |=========================| 951 B 00:00 updates 100% |=========================| 1.2 kB 00:00 freshrpms 100% |=========================| 1.1 kB 00:00 vlc-source 100% |=========================| 951 B 00:00 vic-devel 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Excluding Packages from Livna for Fedora Core 6 - i386 - Base Finished Could not find update match for kernel-devel No Packages marked for Update/Obsoletion I'm clueless again. I appreciate you hanging with me for this. |
using livna AND freshrpms repos at the same time is not a good thing last I knew
try disabling one of those repositories and see if it works then |
this might be a dumb question but, how do I do that? I'm at work right now and I can't play around to figure it out.
|
there are no dumb questions, only misguided answers.....
in /etc/yum.repos.d there is a file called livna.repo and one called freshrpms.repo in each of them is a line that says enabled=1 changed enabled to 0 in one of them |
thanks gruntwerk, i will try that as soon as i get home.
|
if the ndiswrapper is the only problem, try making it with this command:
make KBUILD=/usr/src/kernels/$(uname -r) |
All times are GMT -5. The time now is 04:19 PM. |