Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 17977  / 1 Year ago, sun, april 16, 2023, 10:45:27

I've just updated to 14.10 from 14.04, and have come across a problem having both wine and fglrx installed



The wine dependencies that are causing the problem go like this



wine > wine1.6 > wine1.6-amd64 > (ocl-icd-libopencl1 (>=1.0) | libopencl1) && (ocl-icd-libopencl1 (>=1.0) | libopencl-1.1-1)



fglrx > fglrx-core > conflicts with libopencl1 && replaces libopencl1



I've tried altering the wine package files to remove the dependencies but end up getting confused, I've scoured the internet trying to get it to ignore the problem, but I can't get it working



Any help would be much appreciated



edit
I have found 2 bug reports relating to this - https://bugs.launchpad.net/ubuntu/+source/wine1.6/+bug/1376587 & https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1129409


More From » ati

 Answers
5

Biting the bullet and revising only the fglrx-core package, simple compared to wine, really looks less hazardous, and easier, than somewhat corrupting the package manager data to be able to still install other packages.



1) Have wine installed without fglrx.



2) From a directory with the package,



fglrx-updates-core_14.201-0ubuntu2_amd64.deb


make a place to unpack the package,



mkdir abc


3) Unpack the package with two commands,



dpkg -x fglrx-updates-core_14.201-0ubuntu2_amd64.deb abc

dpkg --control fglrx-updates-core_14.201-0ubuntu2_amd64.deb abc/DEBIAN


4) edit the text file "control" that has the dependencies,



gedit abc/DEBIAN/control


This is what "control" looks like changed:



Package: fglrx-updates-core
Source: fglrx-installer-updates
Version: 2:14.201-0ubuntu2.1
Architecture: amd64
Maintainer: Ubuntu Core Developers <[email protected]>
Installed-Size: 121292
Depends: libc6 (>= 2.3.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), lib32gcc1, libc6-i386, dkms, make, linux-libc-dev
Conflicts: fglrx-driver-core
Replaces: fglrx-driver-core, libopencl1
Provides: fglrx-driver-core
Section: restricted/misc
Priority: extra
Homepage: http://support.amd.com
Description: Minimal video driver for the AMD graphics accelerators
Minimal video driver for the AMD Radeon and FireGL graphics accelerators.
.
This package provides 2D display drivers.


Only Version, Conflicts and Provides are changed. Leaving the version unchanged is OK, but then the package manager will say the original file in the repo is an update, something you want to be sure NOT to do.



Save, and exit gedit.



5) put the results back into a package of some different name,



dpkg -b abc fglrx-updates-core_14.201-0ubuntu2_amd64-hey.deb


Actually you could use the same name, but don't confuse yourself.



6) install,



sudo dpkg -i fglrx-updates-core_14.201-0ubuntu2_amd64-hey.deb


7)Then,



sudo apt-get install fglrx-updates


8) Thank the people who posted.



Thanks so much to the people that posted here who figured out what the problem was. My Utopic works perfectly, including the package managers. The Utopic upgrade was black-screening with the "open" drivers, so I went back to my usual fglrx (originally giving up wine.) The Ubuntu people who do the fixing have said that, due to predetermined procedure, the easy fix, already done, cannot be in repos until after April of 2015, if at all, because the "wine" conflict is caused by the not-Ubuntu-supported "universe" repo. I would upload the entire changed file if I knew a place to do so.


[#22712] Tuesday, April 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
singerrupt

Total Points: 435
Total Questions: 111
Total Answers: 109

Location: Angola
Member since Tue, May 5, 2020
4 Years ago
;