Click to See Complete Forum and Search --> : problems compiling kernel-headers!


DimGR
05-24-2004, 02:35 PM
im trying for the 10th time to set up ati drivers on my debian box.

this is the error i get


apt-get install kernel-headers-2.6.6-1-386
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
alsaplayer-gtk: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
gtkglarea5: Depends: xlibmesa3-gl but it is not installable or
libgl1
karm: Depends: xlibmesa3-gl but it is not installable or
libgl1
kcontrol: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
kdemultimedia-kfile-plugins: Depends: xlibmesa3-gl but it is not installable or
libgl1
knotes: Depends: xlibmesa3-gl but it is not installable or
libgl1
kscd: Depends: xlibmesa3-gl but it is not installable or
libgl1
kxconfig: Depends: xlibmesa3-gl but it is not installable or
libgl1
libglut3: Depends: freeglut3 but it is not going to be installed
libk3bcore2: Depends: xlibmesa3-gl but it is not installable or
libgl1
libqt3c102-mt: Depends: xlibmesa3-gl but it is not installable or
libgl1
libsdl-perl: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
libwine: Depends: freeglut3 but it is not going to be installed
Depends: xlibmesa3-gl but it is not installable or
libgl1
libwxgtk2.4: Depends: xlibmesa3-gl but it is not installable or
libgl1
mplayer-686: Depends: xlibmesa3-gl but it is not installable or
libgl1
pia: Depends: xlibmesa3-gl but it is not installable or
libgl1
python2.3-qt3c102: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
qtparted: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
xawtv: Depends: xlibmesa3-gl but it is not installable or
libgl1
xbase-clients: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
xlibmesa-dri: Depends: xlibmesa-gl but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).




dpkg --purge --ignore-depends=xlibmesa-gl xlibmesa-gl
dpkg - warning: ignoring request to remove xlibmesa-gl which isn't installed.



apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
freeglut3 libglu1-mesa libkcddb1 libtag1 scantv xawtv xawtv-plugins
xlibmesa-gl
Suggested packages:
xawtv-plugin-qt tv-fonts
The following packages will be REMOVED:
xlibmesa3-glu
The following NEW packages will be installed:
freeglut3 libglu1-mesa libkcddb1 libtag1 xlibmesa-gl
The following packages will be upgraded:
scantv xawtv xawtv-plugins
3 upgraded, 5 newly installed, 1 to remove and 110 not upgraded.
16 not fully installed or removed.
Need to get 0B/1073kB of archives.
After unpacking 1266kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 95682 files and directories currently installed.)
Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0.dfsg.1-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-1_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

DimGR
05-24-2004, 07:08 PM
Originally posted by DimGR
im trying for the 10th time to set up ati drivers on my debian box.

this is the error i get


apt-get install kernel-headers-2.6.6-1-386
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
alsaplayer-gtk: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
gtkglarea5: Depends: xlibmesa3-gl but it is not installable or
libgl1
karm: Depends: xlibmesa3-gl but it is not installable or
libgl1
kcontrol: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
kdemultimedia-kfile-plugins: Depends: xlibmesa3-gl but it is not installable or
libgl1
knotes: Depends: xlibmesa3-gl but it is not installable or
libgl1
kscd: Depends: xlibmesa3-gl but it is not installable or
libgl1
kxconfig: Depends: xlibmesa3-gl but it is not installable or
libgl1
libglut3: Depends: freeglut3 but it is not going to be installed
libk3bcore2: Depends: xlibmesa3-gl but it is not installable or
libgl1
libqt3c102-mt: Depends: xlibmesa3-gl but it is not installable or
libgl1
libsdl-perl: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
libwine: Depends: freeglut3 but it is not going to be installed
Depends: xlibmesa3-gl but it is not installable or
libgl1
libwxgtk2.4: Depends: xlibmesa3-gl but it is not installable or
libgl1
mplayer-686: Depends: xlibmesa3-gl but it is not installable or
libgl1
pia: Depends: xlibmesa3-gl but it is not installable or
libgl1
python2.3-qt3c102: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
qtparted: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
xawtv: Depends: xlibmesa3-gl but it is not installable or
libgl1
xbase-clients: Depends: xlibmesa-gl but it is not going to be installed or
libgl1
xlibmesa-dri: Depends: xlibmesa-gl but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).




dpkg --purge --ignore-depends=xlibmesa-gl xlibmesa-gl
dpkg - warning: ignoring request to remove xlibmesa-gl which isn't installed.



apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
freeglut3 libglu1-mesa libkcddb1 libtag1 scantv xawtv xawtv-plugins
xlibmesa-gl
Suggested packages:
xawtv-plugin-qt tv-fonts
The following packages will be REMOVED:
xlibmesa3-glu
The following NEW packages will be installed:
freeglut3 libglu1-mesa libkcddb1 libtag1 xlibmesa-gl
The following packages will be upgraded:
scantv xawtv xawtv-plugins
3 upgraded, 5 newly installed, 1 to remove and 110 not upgraded.
16 not fully installed or removed.
Need to get 0B/1073kB of archives.
After unpacking 1266kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 95682 files and directories currently installed.)
Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0.dfsg.1-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-1_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)






any ideas?

JohnT
05-24-2004, 07:36 PM
Just one that I noticed , off-hand....

The following extra packages will be installed:
freeglut3 libglu1-mesa libkcddb1 libtag1 scantv xawtv xawtv-plugins
xlibmesa-gl
Suggested packages:
xawtv-plugin-qt tv-fonts
The following packages will be REMOVED:
xlibmesa3-glu





You removed xlibmesa3-glu which is required.

DimGR
05-24-2004, 07:41 PM
Originally posted by JohnT
Just one that I noticed , off-hand....



i tried to remove it but i can not



You removed xlibmesa3-glu which is required.

JohnT
05-24-2004, 07:50 PM
Why don't you try from source? You'd get better feedback on dependencies. You can use checkinstall to build a Deb pkg. after you configure and make.

bwkaz
05-24-2004, 09:03 PM
Umm... I don't see anything about compiling kernel-headers...

Not that you can even compile them. They're headers, after all, not source files...

JohnT
05-24-2004, 09:37 PM
Originally posted by bwkaz
Umm... I don't see anything about compiling kernel-headers...

Not that you can even compile them. They're headers, after all, not source files... Sometimes its best to ignore the obvious. :D