Procedure Prototype: Installing Catalyst 15.5 on Fedora 22

Update:  The procedure checked out (see below – thanks naibaf7!), so I ran it myself and I can verify that it works as well.  See the next post in the series for the full instructions.

Ok, so I can’t try this out right now since I have to use my computer today to work and I can’t risk the potential downtime, but it looks like downgrading to xorg-x11-server-Xorg and xorg-x11-server-common package versions 1.16 isn’t so hard.  I’ve tested the following procedure in a VM running a fresh installation of the Fedora 22 KDE Plasma Desktop Spin and it works.

I attempted for some time to get dnf to constrain the packages available from the fedora21* repositories to just the xorg-x11* packages, but adding the include=xorg-x11* line to the fedora21.repo and fedora21-updates.repo files causes some very unexpected, and thus far inexplicable, behavior (try it and watch all your packages disappear from all your other repositories).  So, we have to be careful and watch our dnf operations to ensure we don’t accidentally pull a bunch of fc21 content into our systems, but so far it has worked just fine in VM-land for the procedure detailed below.

Anyone feel like testing it out with a system that has an AMD GPU in it and trying to install the driver per the instructions from the latest Fedora 21 procedure?  If not, I’ll do it tonight, but here’s the procedure in the meanwhile:

Downgrading Fedora 22 KDE Spin to Server 1.16

1)  Isolate the so you don’t have to worry about the X server while you work

# systemctl isolate

2)  Add the Fedora 21 repositories from which we will obtain the older X11 server 1.16 packages (it looks like a lot of people failing to get dnf downgrade to work might not be doing this)

# cd /etc/yum.repos.d/
# cp fedora.repo fedora21.repo
# vim fedora21.repo
# cp fedora-updates.repo fedora21-updates.repo
# vim fedora21-updates.repo
# vim fedora.repo
     Add "exclude=xorg-x11-server-Xorg xorg-x11-server-common" to the [fedora] stanza
# vim fedora-updates.repo
     Add "exclude=xorg-x11-server-Xorg xorg-x11-server-common" to the [updates] stanza
# dnf repolist 

(fedora21 repositories appear as expected)

3)  Manually install the GPG Keys

# cd /etc/pki/rpm-gpg/
# curl > ./RPM-GPG-KEY-fedora-21-primary
# curl > ./RPM-GPG-KEY-fedora-21-secondary
# for LINK in `find -name RPM-GPG-KEY-fedora-22\* -type l`; do LINKMV=`echo $LINK | sed '/s/22/21/g'`; if [[ $LINK =~ armhfp|i386|x86_64 ]]; then ln -s RPM-GPG-KEY-fedora-21-primary $LINKMV; else ln -s RPM-GPG-KEY-fedora-21-secondary $LINKMV; fi; done;

4)  Downgrade the important packages

# dnf --allowerasing downgrade xorg-x11-server-common xorg-x11-server-Xorg

5)  Reboot

# shutdown -r now

6)  Fully update your system

# dnf upgrade

(The xorg-x11-server-common and xorg-x11-server-Xorg packages should not be listed for upgrade to .fc22 packages.)

Like I said, I’ll give it a go tonight most likely, but everything seems well-prepared for the Catalyst driver installation in my VM.

Reversing the Process

The process is very easily reversed (hopefully in the event of a new Catalyst driver release, but also in the event that you simply want to get up to the new Xorg server).

1)  Remove the fedora21* .repo files

# rm /etc/yum.repos.d/fedora21*

2)  Remove the “exclude=xorg-x11-server-Xorg xorg-x11-server-common” lines from the fedora 22 repository files.

3)  Remove the GPG Keys (if you’re really neurotic).

# rm /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-21*

3)  Execute dnf upgrade

# dnf upgrade

That’ll bring you back up to the fc22 package versions.

This entry was posted in Information Technology and tagged , , , . Bookmark the permalink.

2 Responses to Procedure Prototype: Installing Catalyst 15.5 on Fedora 22

  1. naibaf7 says:

    Thanks, got it working with a patched 15.101/15.5 run installer of fglrx on an AMD W9100 and Fedora 22 with this method. Everything works.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s