ROSA Linux Bugzilla – Bug 4003
Cannot downgrade dkms-fglrx
Last modified: 2014-05-14 06:14:23 MSD
I am guessing at the relevant package for the source of my problem but fglrx is what I am trying to downgrade. Why? In KDE Desktop Effects, I was recently able to use OpenGL 3.1 as the compositing type and the effects it supports. About the time of the recent fglrx upgrade, I was no longer able to use OpenGL as the compositing method. System Settings claims it crashes kwin. I collected the necessary rpm packages with wget (as `rpm -Uvh --oldpackage <url1> <url2> <url3>...` also no longer works) and gave the following command. The result is a conflict with most of the installed kernels, which I can't understand. I also tried this when booted to a kernel that is not mentioned in the conflicts list, 3.6.10-nrj-desktop-1rosa, but it fails in the same way. Thanks.
[root@localhost rolf]# rpm -Uvh --oldpackage http://mirror.rosalab.ru/rosa/rosa2012.1/repository/x86_64/media/non-free/release/dkms-fglrx-9.010-4-rosa2012.1.x86_64.rpm http://mirror.rosalab.ru/rosa/rosa2012.1/repository/x86_64/media/non-free/release/x11-driver-video-fglrx-9.010-4-rosa2012.1.x86_64.rpm http://mirror.rosalab.ru/rosa/rosa2012.1/repository/x86_64/media/non-free/release/fglrx-control-center-9.010-4-rosa2012.1.x86_64.rpm
error: open of http://mirror.rosalab.ru/rosa/rosa2012.1/repository/x86_64/media/non-free/release/dkms-fglrx-9.010-4-rosa2012.1.x86_64.rpm failed: Input/output error
error: reading http://mirror.rosalab.ru/rosa/rosa2012.1/repository/x86_64/media/non-free/release/dkms-fglrx-9.010-4-rosa2012.1.x86_64.rpm manifest, non-printable characters found
[root@localhost rolf]# cd info/fglrx/9.010-4/
[root@localhost 9.010-4]# ll
-rw-r--r-- 1 rolf audio 1292453 Nov 13 2012 dkms-fglrx-9.010-4-rosa2012.1.x86_64.rpm
-rw-r--r-- 1 rolf audio 4529709 Nov 13 2012 fglrx-control-center-9.010-4-rosa2012.1.x86_64.rpm
-rw-r--r-- 1 rolf audio 25990305 Nov 13 2012 x11-driver-video-fglrx-9.010-4-rosa2012.1.x86_64.rpm
[root@localhost 9.010-4]# rpm -Uvh --oldpackage ./*rpm
error: Failed dependencies:
dkms-fglrx < 13.200.5-1 conflicts with kernel-nrj-desktop-3.10.9-1rosa-1-1.x86_64
dkms-fglrx < 13.200.5-1 conflicts with kernel-nrjQL-desktop-3.11.9-69rosa-1-1.x86_64
dkms-fglrx < 13.200.5-1 conflicts with kernel-nrjQL-desktop-3.12.11-69rosa-1-1.x86_64
dkms-fglrx < 13.200.5-1 conflicts with kernel-nrjQL-desktop-3.12.12-69rosa-1-1.x86_64
dkms-fglrx < 13.200.5-1 conflicts with kernel-nrj-desktop-3.11.10-1rosa-1-1.x86_64
dkms-fglrx < 13.200.5-1 conflicts with kernel-desktop-3.10.34-3rosa-1-1.x86_64
dkms-fglrx < 13.200.5-1 conflicts with kernel-nrjQL-desktop-3.13.11-0rosa-1-1.x86_64
warning: removing x11-driver-video-fglrx-9.010-4.x86_64 "Requires(hint): fglrx-control-center = 9.010" from tsort relations.
warning: removing fglrx-control-center-9.010-4.x86_64 "Requires: x11-driver-video-fglrx = 9.010" from tsort relations.
warning: removing x11-driver-video-fglrx-13.350.1005-1.x86_64 "Requires: x11-driver-video-fglrx = 13.350.1005" from tsort relations.
warning: removing fglrx-control-center-13.350.1005-1.x86_64 "Requires(hint): fglrx-control-center = 13.350.1005" from tsort relations.
[root@localhost 9.010-4]# rpm -q dkms-fglrx
[root@localhost 9.010-4]# ls /lib/modules
3.10.34-desktop-3rosa/ 3.11.9-nrjQL-desktop-69rosa/ 3.13.11-nrjQL-desktop-0rosa/
3.10.9-nrj-desktop-1rosa/ 3.12.11-nrjQL-desktop-69rosa/ 3.6.10-nrj-desktop-1rosa/
[root@localhost 9.010-4]# uname -r
So it looks like you should downgrade the kernel, as well? It is not enough to just boot with another kernel, you shoule remove ("rpm -e") all conflicting kernels.
As for installing rpms through network - this was discussed recently with rpm5 upstream and the answer was that rpm5 doesn't completely implement http requests; for example, it fails if server uses redirection.
I'm now running OpenMandriva Lx release 2014.0 (Phosphorus) for x86_64 and have been busy enough resolving other puzzles, mostly settled in. However, I was just able to choose OpenGL 3.1 for compositing type in systemsettings, so this does not seem to be an issue for me.
I read some rather discouraging comments about network support in rpm and still don't understand whether something can be done to restore it. I have developed a habit over years of usage to query rpm packages on the internet for the things rpm -qp <switches> can provide, or install them if I think they will work for what I want.
I've been otherwise frustrated by, afaict, the seemingly increasing usage of re-directs when copying a link from a web page to command line for downloading or other. There must be some good reason for using re-directs but they are only evil to me. :P I guess that I can only naively hope the fundamental usage of rpm over the internet can be restored but will make adjustments, if I have to.
Thanks for the explanations.