LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 11-15-2006, 01:56 PM   #1
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Rep: Reputation: 15
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?
 
Old 11-15-2006, 01:59 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 11-16-2006, 10:21 AM   #3
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
i agree with the above answer.
 
Old 11-16-2006, 11:15 AM   #4
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 11-16-2006, 12:10 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 11-16-2006, 06:45 PM   #6
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 11-17-2006, 11:08 AM   #7
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
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).
 
Old 11-17-2006, 03:46 PM   #8
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Original Poster
Rep: Reputation: 15
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?
 
Old 11-17-2006, 04:01 PM   #9
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 11-17-2006, 04:57 PM   #10
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 11-17-2006, 09:40 PM   #11
gruntwerk
Member
 
Registered: Dec 2003
Location: PA
Distribution: fc9
Posts: 89

Rep: Reputation: 15
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
 
Old 11-17-2006, 10:25 PM   #12
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 11-17-2006, 11:24 PM   #13
gruntwerk
Member
 
Registered: Dec 2003
Location: PA
Distribution: fc9
Posts: 89

Rep: Reputation: 15
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
 
Old 11-17-2006, 11:46 PM   #14
oldjoe
Member
 
Registered: Nov 2006
Location: Woodstock, IL
Distribution: Fedora Core 6 2.6.18-2868
Posts: 78

Original Poster
Rep: Reputation: 15
thanks gruntwerk, i will try that as soon as i get home.
 
Old 11-18-2006, 12:35 AM   #15
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
if the ndiswrapper is the only problem, try making it with this command:

make KBUILD=/usr/src/kernels/$(uname -r)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum update error natewlew Fedora 9 08-16-2008 12:22 AM
yum update error vegetassj2 Linux - Software 4 09-07-2006 01:01 PM
Yum Update Error in FC4 egrim Fedora 2 04-22-2006 11:05 AM
Yum Update error fcoutel Red Hat 1 12-30-2004 10:22 AM
Error message using yum update Seventh_Warrior Fedora 7 06-23-2004 12:47 PM


All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration