LinuxQuestions.org
Review your favorite Linux distribution.
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 01-30-2008, 11:50 PM   #1
AlteRFirE
Member
 
Registered: Nov 2006
Posts: 48

Rep: Reputation: 15
kernel-headers in fc8


Hi guys, im having trouble getting kernel headers for my current version in fc8
if i do a uname -a i get
2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
but when I do a yum install kernel-devel or kernel-headers to get the kernel source to install my Nvidia drivers it gets :
rpm -qa | grep kernel-*

kernel-devel-2.6.23.14-115.fc8
kernel-2.6.23.1-42.fc8
yum-kernel-module-1.1.10-1.fc9
kernel-headers-2.6.24-7.fc9

and i think thats a bit strange. obviously when i goto sh the nvidia driver script it says i dont have the headers for my kernel. Im a bit worried about the .fc9 packages i have installed... eg:

rpm -qa | grep fc9
compizconfig-python-0.6.0.1-2.fc9
yum-fedorakmod-1.1.10-1.fc9
compiz-fusion-gnome-0.6.0-13.fc9
vim-common-7.1.242-1.fc9
yum-refresh-updatesd-1.1.10-1.fc9
compiz-manager-0.6.0-4.fc9
yum-3.2.10-3.fc9
yum-kernel-module-1.1.10-1.fc9
gnome-compiz-manager-0.10.4-3.fc9
pygpgme-0.1-7.fc9
yum-fastestmirror-1.1.10-1.fc9
zlib-1.2.3-16.fc9
zlib-devel-1.2.3-16.fc9
compiz-fusion-extras-0.6.0-2.fc9
eclipse-ecj-3.3.1.1-14.fc9
vim-X11-7.1.242-1.fc9
compiz-fusion-0.6.0-13.fc9
mpfr-2.3.0-2.fc9
kernel-headers-2.6.24-7.fc9
yumex-2.0.3-2.fc9
compiz-fusion-extras-gnome-0.6.0-2.fc9

Im trying (ino its not real tech) to get my desktop effects working etc and 3d support and this has really stumped me.


when i try and do yum installs for things that have normally worked perfectly before i get such messages as:

Downloading Packages:

Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package mplayer needs libdvdread.so.3, this is not available.
Package kdebase-libs needs kdebase = 6:3.5.8-30.fc8, this is not available.
Package mencoder needs libdvdread.so.3, this is not available.

when i installed i just ticked everything as i was leaving work and let it do its thing overnight, i came back and it was done, no errors, is it possible that i could have installed things that are buggering it up?

Thanks
OJ
 
Old 01-31-2008, 02:14 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Somehow you have the development repos set to active (could become a major issue). Please post the results of:

Quote:
yum repolist
Any time you tell yum to get an unspecified version of a package it will get the most current package. So when you asked for kernel-devel it got just what you asked for. You can either update your kernel to the current one or ask for the specific kernel you want.

Quote:
yum info kernel-devel
(above) will tell you what is available in the repo (normally only the last two kernels).


You may just be better off adding the Livna repo (fedora approved) and installing the nvidia drivers via there kmods.

Installing the nvidia drivers from their(nvidia's) website has (at least in the past) been known to replace certain OS components with versions that are not compatible with other things (this is getting better).

Last edited by lazlow; 01-31-2008 at 02:15 AM.
 
Old 01-31-2008, 02:45 AM   #3
AlteRFirE
Member
 
Registered: Nov 2006
Posts: 48

Original Poster
Rep: Reputation: 15
thanks for the speedy responce.



yum repolist
Loading "fastestmirror" plugin
Loading "fedorakmod" plugin
Loading "refresh-updatesd" plugin
Loading "kernel-module" plugin
repo id repo name status
development Fedora - Development enabled
development-debuginf Fedora - Development - Debug enabled
development-source Fedora - Development - Source enabled
fedora Fedora 8 - i386 enabled
fedora-debuginfo Fedora 8 - i386 - Debug enabled
fedora-source Fedora 8 - Source enabled
livna Livna for Fedora Core 8 - i386 - Base enabled
updates Fedora 8 - i386 - Updates enabled
updates-debuginfo Fedora 8 - i386 - Updates - Debug enabled
updates-source Fedora 8 - Updates Source enabled
updates-testing Fedora 8 - i386 - Test Updates enabled
updates-testing-debu Fedora 8 - i386 - Test Updates Debug enabled
updates-testing-sour Fedora 8 - Test Updates Source enabled

#

yum info kernel-devel
Installed Packages
Name : kernel-devel
Arch : i686
Version: 2.6.23.14
Release: 115.fc8
Size : 31 M
Repo : installed
Summary: Development package for building kernel modules to match the kernel
Description:
This package provides kernel headers and makefiles sufficient to build modules
against the kernel package.


Available Packages
Name : kernel-devel
Arch : i586
Version: 2.6.24
Release: 9.fc9
Size : 5.0 M
Repo : development
Summary: Development package for building kernel modules to match the kernel
Description:
This package provides kernel headers and makefiles sufficient to build modules
against the kernel package.

Name : kernel-devel
Arch : i686
Version: 2.6.24
Release: 9.fc9
Size : 5.0 M
Repo : development
Summary: Development package for building kernel modules to match the kernel
Description:
This package provides kernel headers and makefiles sufficient to build modules
against the kernel package.

>
I think i have livna repos installed now, i did a yum install of
kmod-nvidia-96xx-2.6.23.1-42.fc8
kmod-fglrx-2.6.23.1-42.fc8
but i got these errors too...Setting up Install Process
Parsing package install arguments
Package kmod-nvidia-96xx-2.6.23.1-42.fc8-96.43.01-16.lvn8.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package kmod-fglrx-2.6.23.1-42.fc8.i686 0:8.42.3-7.lvn8 set to be updated
--> Processing Dependency: fglrx-kmod-common >= 8.42.3 for package: kmod-fglrx-2.6.23.1-42.fc8
--> Running transaction check
---> Package xorg-x11-drv-fglrx.i386 0:8.443.1-1.7.12.lvn8 set to be updated
--> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2) for package: xorg-x11-drv-fglrx
--> Processing Dependency: fglrx-kmod >= 8.443.1 for package: xorg-x11-drv-fglrx
--> Processing Dependency: libstdc++.so.5 for package: xorg-x11-drv-fglrx
--> Processing Dependency: libstdc++.so.5(CXXABI_1.2) for package: xorg-x11-drv-fglrx
--> Processing Dependency: fglrx-kmod >= 8.443.1 for package: xorg-x11-drv-fglrx
--> Running transaction check
---> Package compat-libstdc++-33.i386 0:3.2.3-62 set to be updated
---> Package kmod-fglrx.i586 0:8.443.1-2.7.12.lvn8 set to be updated
--> Processing Dependency: kmod-fglrx-2.6.23.14-107.fc8 = 8.443.1-2.7.12.lvn8 for package: kmod-fglrx
--> Running transaction check
---> Package kmod-fglrx-2.6.23.14-107.fc8.i586 0:8.443.1-2.7.12.lvn8 set to be updated
--> Processing Dependency: kernel-i586 = 2.6.23.14-107.fc8 for package: kmod-fglrx-2.6.23.14-107.fc8
--> Running transaction check
---> Package kernel.i586 0:2.6.23.14-107.fc8 set to be installed
--> Processing Conflict: xorg-x11-drv-nvidia-96xx conflicts xorg-x11-drv-fglrx
--> Processing Conflict: xorg-x11-drv-fglrx conflicts xorg-x11-drv-nvidia-96xx
--> Finished Dependency Resolution
xorg-x11-drv-fglrx-8.443.1-1.7.12.lvn8.i386 from livna has depsolving problems
--> xorg-x11-drv-fglrx-8.443.1-1.7.12.lvn8.i386 (livna) conflicts with xorg-x11-drv-nvidia-96xx
xorg-x11-drv-nvidia-96xx - 96.43.01-3.lvn8.1.i386 from installed has depsolving problems
--> xorg-x11-drv-nvidia-96xx - 96.43.01-3.lvn8.1.i386 (installed) conflicts with xorg-x11-drv-fglrx
Error: xorg-x11-drv-fglrx-8.443.1-1.7.12.lvn8.i386 (livna) conflicts with xorg-x11-drv-nvidia-96xx
Error: xorg-x11-drv-nvidia-96xx - 96.43.01-3.lvn8.1.i386 (installed) conflicts with xorg-x11-drv-fglrx



funnily enough i still get the nvidia loading screen on boot but no d3 desktop.
cheers.
OJ

Last edited by AlteRFirE; 01-31-2008 at 02:47 AM.
 
Old 01-31-2008, 03:02 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Ok, it was like I thought. You have the development repos enabled (generally a bad idea). Here is a look at mine:

Quote:
[fred@localhost ~]$ yum repolist
Loading "protectbase" plugin
Loading "protect-packages" plugin
Loading "priorities" plugin
Loading "skip-broken" plugin
repo id repo name status
InstallMedia Fedora 8 enabled
adobe-linux-i386 Adobe Systems Incorporated enabled
fedora Fedora 8 - x86_64 enabled
livna Livna for Fedora Core 8 - x86_64 - Base enabled
updates Fedora 8 - x86_64 - Updates enabled
If you go to /etc/yum.repos.d/ and look into the files, you can (as root) edit the sections enabled=1 to enabled=0(shuts off repo). Here is one section of one of my .repo files:

Quote:
[development]
name=Fedora - Development
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
note the enabled=0


You have to turn on desktop effects to get the 3d effects. System->Preferences->Look & Feel->Desktop Effects.
 
  


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
nvidia.ko for kernel 2.6.23.1-42 fc8 was not found jozmak Fedora 32 06-01-2008 11:13 AM
Updated Fedora kernel to 2.6.23.9-85.fc8 from 1-49 now all sorts of problems Berwhale Linux - Newbie 3 01-31-2008 05:25 PM
can't print using kernel-2.6.23.9-85.fc8 shaoxuan Fedora 1 12-24-2007 03:39 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 01:15 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 07:29 PM


All times are GMT -5. The time now is 04:07 PM.

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