You are not logged in.

#1 2007-10-04 13:06:34

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

[solved] fglrx depend? I have NVIDIA!

Okay, take a look.

So simple programs, so many weird dependencies, it doesn't make any sense, especially the radeon utility program fglrx-utils, xinetd, and netbsd-bsd-finger.

I DO NOT have a Radeon graphics card! I have an Nvidia, using the official nvidia drivers.

[root@dezza dezza]# pacman -S perlpanel
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: audiofile-0.2.6-3  esd-0.2.38-3  xinetd-2.3.14-2  
         netkit-bsd-finger-0.17-3  fglrx-utils-8.40.4-1  xmms-1.2.10-9  
         perl-xmms-0.12-2  perlxml-2.34-4  perl-xml-simple-2.18-1  
         glib-perl-1.144-1  cairo-perl-1.041-1  gtk2-perl-1.146-1  
         glade-perl-1.006-1  perl-extutils-depends-0.205-2  
         perl-extutils-pkgconfig-1.07-2  libart-lgpl-2.3.19-1  
         libgnomecanvas-2.14.0-2  gnomecanvas-perl-1.002-3  
         gnome-vfs-perl-1.061-1  libbonobo-2.18.0-2  libgnome-2.18.0-2  
         libbonoboui-2.18.0-2  gnome-keyring-0.8.1-2  libgnomeui-2.18.1-2  
         gnome-perl-1.042-1  perl-gnome2-wnck-0.12-4  
         perl-locale-gettext-1.05-2  perl-date-manip-5.44-2  perlpanel-0.9.1-3  

Total Package Size:   19,68 MB

Proceed with installation? [Y/n]
[root@dezza dezza]# pacman -S xfe
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: fglrx-utils-8.40.4-1  glproto-1.4.8-1  mesa-6.5.2-1  fox-1.6.29-1  
         xfe-1.04-1  xinetd-2.3.14-2  netkit-bsd-finger-0.17-3  

Total Package Size:   15,67 MB

Proceed with installation? [Y/n]

I would really like to know what causes this, cause it will overwrite my libGL libraries and mesa where pacman is my savior:

checking package integrity... done.
cleaning up... done.
(7/7) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
fglrx-utils: /usr/lib/libGL.so exists in filesystem
fglrx-utils: /usr/lib/libGL.so.1 exists in filesystem
fglrx-utils: /usr/lib/xorg/modules/extensions/libglx.so exists in filesystem
mesa: /usr/include/GL/gl.h exists in filesystem
mesa: /usr/include/GL/glext.h exists in filesystem
mesa: /usr/include/GL/glx.h exists in filesystem
mesa: /usr/include/GL/glxext.h exists in filesystem

errors occurred, no packages were upgraded.

I would really much like to know what the cause of this problem is and how to fix it, or where in the database pacman screws up?

Last edited by dezza (2007-10-07 11:44:36)

Offline

#2 2007-10-04 13:49:54

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: [solved] fglrx depend? I have NVIDIA!

remove libgl-dri and use fglrx-utils instead.

Offline

#3 2007-10-04 18:24:10

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [solved] fglrx depend? I have NVIDIA!

Why should I do that if I don't have a radeon card?

And btw, I don't have libgl-dri installed. And I installed the nvidia drivers the official way, and not via pacman.

Last edited by dezza (2007-10-04 18:25:17)

Offline

#4 2007-10-04 18:28:41

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [solved] fglrx depend? I have NVIDIA!

dezza wrote:

And btw, I don't have libgl-dri installed. And I installed the nvidia drivers the official way, and not via pacman.

And voila, there's your problem - the "official" way as far as arch is concerned is via pacman.  The packages you're trying to install require 'libgl' and pacman is searching for a provider of libgl - fglrx is the first one it finds, and so pacman tries to install that.  If you had installed nvidia through pacman, it provides 'libgl' and you'd never see fglrx.

(btw, netkit-bsd-finger is a dep of fglrx-utils, that's where it's coming from.)

How to fix?  Install nvidia through pacman, or make a dummy package called 'libgl' with no files in it and install that.

Offline

#5 2007-10-06 13:00:49

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [solved] fglrx depend? I have NVIDIA!

I did like you told me, created a libgl dummy pkg with no files in it, and installed it.

Then mesa still is a depend of xfe and many packages as well, and if I try to install mesa:

mesa: /usr/include/GL/gl.h exists in filesystem
mesa: /usr/include/GL/glext.h exists in filesystem
mesa: /usr/include/GL/glx.h exists in filesystem
mesa: /usr/include/GL/glxext.h exists in filesystem

So I create another mesa dummy package and installed that aswell.

Now I am missing "libGLU.so.1" when trying to start programs that depend on mesa (such as xfe), so the official NVIDIA drivers provide these files that is with the mesa package, but is missing "libGLU.so.1", is there an alternative library that provides it, or should I make another workaround or what is the proper way to fix this? I like having a custom kernel, and from what I've read the nvidia package from pacman only works with stock kernels.

Offline

#6 2007-10-06 13:17:35

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [solved] fglrx depend? I have NVIDIA!

dezza wrote:

I did like you told me, created a libgl dummy pkg with no files in it, and installed it.

Then mesa still is a depend of xfe and many packages as well, and if I try to install mesa:

mesa: /usr/include/GL/gl.h exists in filesystem
mesa: /usr/include/GL/glext.h exists in filesystem
mesa: /usr/include/GL/glx.h exists in filesystem
mesa: /usr/include/GL/glxext.h exists in filesystem

So I create another mesa dummy package and installed that aswell.

Now I am missing "libGLU.so.1" when trying to start programs that depend on mesa (such as xfe), so the official NVIDIA drivers provide these files that is with the mesa package, but is missing "libGLU.so.1", is there an alternative library that provides it, or should I make another workaround or what is the proper way to fix this? I like having a custom kernel, and from what I've read the nvidia package from pacman only works with stock kernels.

pacman -S nvidia-utils. Includes the userspace stuff, doesnt include the kernel module.

Even better, would be to install the nvidia module with pacman, take the 'nvidia' PKGBUILD, change pkgname, adjust _kernver, fix the dependencies, and build.

James

Offline

#7 2007-10-06 15:00:28

dezza
Member
From: Denmark
Registered: 2007-04-05
Posts: 126

Re: [solved] fglrx depend? I have NVIDIA!

iphitus wrote:

Even better, would be to install the nvidia module with pacman, take the 'nvidia' PKGBUILD, change pkgname, adjust _kernver, fix the dependencies, and build.
James

Hey there.. I actually did this before I came back to this post smile I was interested in the ABS system, and studied the PKGBUILD to find a solution for my problem, my conclusion was that if you installed it trough ABS, you should do just fine, so I did that, and it runs smooth now.

What do you mean by fixing the dependencies? That should only be necessary if you uninstalled kernel26.

SOLVED - I wrote this, for other confused readers:
http://wiki.archlinux.org/index.php/NVI … tom_kernel

Last edited by dezza (2007-10-07 11:43:38)

Offline

Board footer

Powered by FluxBB