LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Yum update and nvidia driver install give missing dependencies (https://www.linuxquestions.org/questions/fedora-35/yum-update-and-nvidia-driver-install-give-missing-dependencies-550958/)

BasV 05-03-2007 09:15 AM

Yum update and nvidia driver install give missing dependencies
 
Hi all,

I got stuck with some problems with yum updates. I got two problems which seen to be related.

First. I added JPackage repos to yum repos.d. Now when I update (just yum update) then it tags some package to be updated, but then actually fails on a missing dependency to lucene package. The following is the yum update output:

Code:

Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package lucene.noarch 0:1.4.3-2jpp set to be updated
---> Package geronimo-specs.noarch 0:1.0-0.M2.3jpp set to be updated
---> Package axis.noarch 0:1.4-2jpp set to be updated
---> Package avalon-framework-javadoc.noarch 0:4.1.5-1jpp set to be updated
---> Package avalon-framework.noarch 0:4.1.5-1jpp set to be updated
---> Package xml-commons.noarch 0:1.3.02-2jpp set to be updated
---> Package xml-commons-apis-javadoc.noarch 0:1.3.02-2jpp set to be updated
---> Package xml-commons-which.noarch 0:1.3.02-2jpp set to be updated
---> Package xml-commons-resolver.noarch 0:1.1-3jpp set to be updated
---> Package avalon-framework-manual.noarch 0:4.1.5-1jpp set to be updated
---> Package xml-commons-apis.noarch 0:1.3.02-2jpp set to be updated
---> Package xml-commons-apis-manual.noarch 0:1.3.02-2jpp set to be updated
---> Package xml-commons-resolver-javadoc.noarch 0:1.1-3jpp set to be updated
---> Package xml-commons-which-javadoc.noarch 0:1.3.02-2jpp set to be updated
--> Running transaction check
--> Processing Dependency: jdk = 2000:1.6.0_01-fcs for package: java-1.6.0-sun-compat
--> Processing Dependency: geronimo-specs = 1.0-0.M2.2jpp.12 for package: geronimo-specs-compat
--> Processing Dependency: lucene = 0:1.4.3-1jpp.14 for package: lucene-devel
--> Processing Dependency: xmlbeans for package: geronimo-specs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xmlbeans.noarch 0:1.0.4-2jpp set to be updated
--> Running transaction check
--> Processing Dependency: jdk = 2000:1.6.0_01-fcs for package: java-1.6.0-sun-compat
--> Processing Dependency: geronimo-specs = 1.0-0.M2.2jpp.12 for package: geronimo-specs-compat
--> Processing Dependency: lucene = 0:1.4.3-1jpp.14 for package: lucene-devel
--> Finished Dependency Resolution
Error: Missing Dependency: geronimo-specs = 1.0-0.M2.2jpp.12 is needed by package geronimo-specs-compat
Error: Missing Dependency: lucene = 0:1.4.3-1jpp.14 is needed by package lucene-devel

When I do a yum list installed and grep on lucene then I see>:

Code:

lucene.i386                              1.4.3-1jpp.14          installed     
lucene-devel.i386                        1.4.3-1jpp.14          installed

So, both packages seem to be present and yum still complains...

Also, when I install the xorg.nvidia drivers from livna, I get a similar problem. I install the xorg-x11-drv-nvidia.i386 package.

The install output is:

Code:

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package xorg-x11-drv-nvidia.i386 0:1.0.9755-4.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: nvidia-kmod >= 1.0.9755 for package: xorg-x11-drv-nvidia
--> Processing Dependency: livna-config-display for package: xorg-x11-drv-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package livna-config-display.noarch 0:0.0.9-1.lvn6 set to be updated
---> Package kmod-nvidia.i686 0:1.0.9755-2.2.6.20_1.2948.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.20-1.2948.fc6 for package: kmod-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.20-1.2948.fc6 set to be installed
--> Running transaction check
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i586 0:2.6.20-1.2944.fc6 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                Arch      Version          Repository        Size
=============================================================================
Installing:
 xorg-x11-drv-nvidia    i386      1.0.9755-4.lvn6  livna            4.9 M
Removing:
 kernel                  i586      2.6.20-1.2944.fc6  installed          43 M
Installing for dependencies:
 kernel                  i686      2.6.20-1.2948.fc6  updates            16 M
 kmod-nvidia            i686      1.0.9755-2.2.6.20_1.2948.fc6  livna            2.3 M
 livna-config-display    noarch    0.0.9-1.lvn6    livna              51 k

Transaction Summary
=============================================================================
Install      4 Package(s)       
Update      0 Package(s)       
Remove      1 Package(s)       

Total download size: 23 M
Is this ok [y/N]: Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  package kernel-2.6.20-1.2948.fc6 is already installed
  file /boot/System.map-2.6.20-1.2948.fc6 from install of kernel-2.6.20-1.2948.fc6 conflicts with file from package kernel-2.6.20-1.2948.fc6
  file /boot/config-2.6.20-1.2948.fc6 from install of kernel-2.6.20-1.2948.fc6 conflicts with file from package kernel-2.6.20-1.2948.fc6
  file /boot/symvers-2.6.20-1.2948.fc6.gz from install of kernel-2.6.20-1.2948.fc6 conflicts with file from package kernel-2.6.20-1.2948.fc6
  file /boot/vmlinuz-2.6.20-1.2948.fc6 from install of kernel-2.6.20-1.2948.fc6 conflicts with file from package kernel-2.6.20-1.2948.fc6

Error Summary
-------------

Also here when is list the installed kernels I see:

Code:

kernel.i586                              2.6.20-1.2948.fc6      installed     
kernel.i586                              2.6.20-1.2944.fc6      installed     
kernel-devel.i686                        2.6.20-1.2948.fc6      installed     
kernel-devel.i686                        2.6.20-1.2944.fc6      installed     
kernel-headers.i386                      2.6.20-1.2948.fc6      installed     
kernel-xen.i686                          2.6.20-1.2944.fc6      installed     
kernel-xen.i686                          2.6.20-1.2948.fc6      installed     
kernel-xen-devel.i686                    2.6.20-1.2948.fc6      installed     
kernel-xen-devel.i686                    2.6.20-1.2944.fc6      installed

Which all seems fine.

Does anyone have any idea how to resolve these problems and if they are even related.

Thanks!

Dummy-in-Linux 05-03-2007 08:41 PM

Seems you have more then one problem, but first start with the first problem.

It seems that you are hit by a old Fedora Core 6 bug, which is that the installer (Anaconda) sometimes selects the i586 kernel when it actual had to select the i686 kernel.

http://fedoraproject.org/wiki/Bugs/F...3822f143Script

Open this website find script. Download it to your hard drive and run it as root(sh kernel-fix.sh)

BasV 05-03-2007 09:23 PM

Thanks... but is it really that bug?

When I uname I run the i686 kernel. It just has also installed the i586 kernel (which might have been caused by that bug)

Code:

uname -a
Linux localhost.localdomain 2.6.20-1.2948.fc6 #1 SMP Fri Apr 27 18:53:15 EDT 2007 i686 i686 i386 GNU/Linux

Could you explain why you think it's related to this bug?

Thanks!

Ryptyde 05-03-2007 09:32 PM

Take the advice given it is a well known documented bug of the install of the i586 kernel.

BasV 05-04-2007 04:52 AM

Oki, it did fix the problem with the nvidia driver update. Thanks very much for that!

It didn't solve the problem with the JPackage update. I'll try to post the question in the JPackage newsgroup.

Dummy-in-Linux 05-04-2007 07:53 AM

Thanks, happy it works


All times are GMT -5. The time now is 08:30 PM.