Can't install ubuntu-xen-server using aptitude

Asked by Daniel

Hi,
I wanted to try out xen on my ubuntu gutsy gibbon laptop.
One of the places I went to was https://help.ubuntu.com/community/Xen.

When I try:
% aptitude install ubuntu-xen-server [1]
aptitude says I need linux-xen package but when I try to install linux-xen, aptitude says "No candidate version found for linux-xen".
(I noticed there was a linux-image-xen which I installed after the above but it doesn't solve the problem).

Many Regards,
Daniel Bush

[1] - output from aptitude
=========================
[ snip first part with lots of xen-related packages ]
The following packages have unmet dependencies:
  ubuntu-xen-server: Depends: linux-xen which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
ubuntu-xen-server [Not Installed]

Score is -9881

Accept this solution? [Y/n/q/?]
===========================

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

With my updated Ubuntu 7.10 i have no problem to install linux-xen.

The system install:
  linux-image-2.6.22-14-xen linux-image-xen
  linux-restricted-modules-2.6.22-14-xen linux-restricted-modules-xen
  linux-ubuntu-modules-2.6.22-14-xen linux-xen

What is your /etc/apt/sources.list contents...?

Thank you

Revision history for this message
Ivan Lautaro Lemos (ivancete) said :
#2

You need to add repositories of xen

sudo gedit /etc/apt/sources.list

after, sudo apt-get update

To fix the broken packages, you just need to open up Synaptic Package Manager, go to Edit, and select Fix Broken Packages.

Revision history for this message
Daniel (dlb-id-au) said :
#3

Hi, thanks for following up.
See below:
On 03/11/2007, elart.it <email address hidden> wrote:
>
> Your question #16886 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/16886
>
> Status: Open => Answered
>
> elart.it proposed the following answer:
> With my updated Ubuntu 7.10 i have no problem to install linux-xen.
>
> The system install:
> linux-image-2.6.22-14-xen linux-image-xen
> linux-restricted-modules-2.6.22-14-xen linux-restricted-modules-xen
> linux-ubuntu-modules-2.6.22-14-xen linux-xen
>
> What is your /etc/apt/sources.list contents...?

deb http://ftp.iinet.net.au/pub/ubuntu gutsy main restricted universe
#multiverse
deb http://ftp.iinet.net.au/pub/ubuntu gutsy-updates main restricted
universe
deb http://ftp.iinet.net.au/pub/ubuntu gutsy-backports main restricted
universe
deb http://ftp.iinet.net.au/pub/ubuntu gutsy-security main restricted
universe #multiverse
deb-src http://ftp.iinet.net.au/pub/ubuntu gutsy main restricted universe
#multiverse

(I've commented out multiverse)

Revision history for this message
Daniel (dlb-id-au) said :
#4

Hi Ivan,
On 03/11/2007, ivancete <email address hidden> wrote:
>
> Your question #16886 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/16886
>
> ivancete proposed the following answer:
> You need to add repositories of xen

Do you mean I have to include a special repo in my sources.list ?
I can edit the file, but I'm not sure outside of the usual entries what goes
in there.

sudo gedit /etc/apt/sources.list
>
> after, sudo apt-get update
>
> To fix the broken packages, you just need to open up Synaptic Package
> Manager, go to Edit, and select Fix Broken Packages.

 Tried this. But I think my system is mostly in order and there wasn't much
to fix.

Thanks,
Daniel.

Revision history for this message
Daniel (dlb-id-au) said :
#5

Problem solved.
I needed to have multiverse enabled in my /etc/apt/sources.list in order for the missing packages to be available (linux-xen and the xen restricted modules etc).
My thanks to elart.it and ivancete for giving me the clue :)
Thanks guys.

Revision history for this message
Daniel (dlb-id-au) said :
#6

Thanks elart.it, that solved my question.