Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed a clean XenServer 6.2 from the ISOs provided here. I want to compile a driver against this system and need to install make and sources and so on.

If I do yum install make I get

[root@xenserver-2 driver]# yum install make
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: citrix

The default repo location shipped with the installation just doesn't exist! Can anyone tell me the right location so I can update my /etc/yum.repos.d/Citrix.repo file?

My /etc/yum.repos.d/Citrix.repo looks like

name=XenServer 6.2.0 updates

I also have the following repos /etc/yum.repos.d

  • CentOS-Base.repo
  • CentOS-Debuginfo.repo
  • CentOS-Media.repo
  • CentOS-Vault.repo

which are all disabled. If I enable the [base]-repo in CentOS-Base.repo I can install make. But can I also use the needed sources from this repo instead of citrix-repo? Is it safe at all to use these disabled repos?

share|improve this question
I would not recommend using a CentOS repository with XenServer. Run CentOS if you want to use the CentOS repository... – Aaron Copley Jul 17 '13 at 16:44
up vote 0 down vote accepted

Can you open that URL in the browser? (I can.) Does you server need to use a proxy to get out to the web? You may need to configure Yum for it.

Another option would be to create a local repository from the ISO you already have. Loop mount your ISO and change the baseurl to file:///path/to/loopmount/Packages. Now you can use Yum to install from a local source. You won't get updates, obviously, but at least you can install missing packages. For instances where you may have dozens of dependencies this will be much quicker.

The baseurl path should be the directory on the ISO which contains the repodata subdirectory. On CentOS this is the root, but I am not sure about XenServer. Red Hat has a 'Server' subdirectory for example.

mount -o loop xenserver.iso /path/to/loopmount
share|improve this answer
ok, the URL works now. It didn't when I wrote my question. So thanks for the update and your iso mount suggestion. I wasn't aware of that. – Stephan Jul 23 '13 at 6:16

You're going about this the wrong way. You don't install the DDK into your dom0. It becomes a virtual machine when you import it via XenCenter. Once running, it includes everything necessary to build your device driver.

share|improve this answer
Why the downvote? you don't compile drivers in dom0, use the DDK VM provided by citrix. – Matt Aug 12 '13 at 2:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.