Ask Your Question

Install newer version of systemd

asked 2015-09-25 10:54:58 -0500

andmalc gravatar image

updated 2015-09-25 10:55:41 -0500

I'm on Fedora 22 but I want to be able to install systemd version 220 from Fedora 23 Beta. I thought that version might be in updates-testing but the following only shows the same version that's in F22:

dnf list available --enablerepo updates-testing systemd

The Administrator Guide ( ) says that I can add a repo using the URL of the repo file. I looked at this mirror for the file but couldn't find it:

What am I doing wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-25 12:52:46 -0500

hedayat gravatar image

updated 2015-09-25 23:45:52 -0500

Create a copy of your own fedora.repo & fedora-updates.repo files in /etc/yum.repos.d/, and replace $releasever in metalink line with 23 in the new copies. For example, the metalink URL in fedora-23.repo will be like this:


Also, you should rename the repository names in brackets, e.g. change [fedora] to [fedora-23]. Also, remove -debug & -source repository definitions completely.

However, make sure that these new .repo files are NOT enabled by default (change enable=1 to enable=0 in these files); and enable them only in the systemd update command:

dnf --enablerepo=fedora-23 update systemd

Update about finding .repo files: Usually you are not expected to find .repo file inside repo directory yourself, and while it might be there, it shouldn't be. The link to .repo file (or a package containing it) is usually found where the repository is introduced. However, fedora repository .repo files are in fedora-release package which is always installed by default, so couldn't find them easily. BTW, even if you found them, they'd be exactly like the ones you already have in /etc/yum.repos.d/ because they are expected to be used inside Fedora 23 (where the $releasever is replaced with 23 automatically).

edit flag offensive delete link more


Perfect! Thanks.

andmalc gravatar imageandmalc ( 2015-09-25 16:15:09 -0500 )edit

You're welcome! :) I add a few more comments about .repo files in the answer for completeness.

hedayat gravatar imagehedayat ( 2015-09-25 23:38:58 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-09-25 10:54:58 -0500

Seen: 778 times

Last updated: Sep 25 '15