Hardy: ubuntu-xen-server and ubuntu-xen-desktop will not install

Bug #222194 reported by Brian Candler on 2008-04-25
16
Affects Status Importance Assigned to Milestone
xen-meta (Ubuntu)
Undecided
Unassigned

Bug Description

On a Hardy system (which was originally Dapper but upgraded using update-manager -d)

# apt-get install ubuntu-xen-server
...
The following packages have unmet dependencies.
  ubuntu-xen-server: Depends: linux-xen but it is not going to be installed
E: Broken packages

# apt-get install linux-xen
...
The following packages have unmet dependencies.
  linux-xen: Depends: linux-restricted-modules-xen (= 2.6.24.16.18) but it is not installable
E: Broken packages

# apt-get install linux-restricted-modules-xen
...
Package linux-restricted-modules-xen is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package linux-restricted-modules-xen has no installation candidate

And for completeness, although it has been reported elsewhere,

# apt-get install ubuntu-xen-desktop
...
The following packages have unmet dependencies.
  ubuntu-xen-desktop: Depends: linux-xen but it is not going to be installed
                      Depends: xenman but it is not installable
E: Broken packages

Additional info:

# lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

# apt-cache policy ubuntu-xen-server
ubuntu-xen-server:
  Installed: (none)
  Candidate: 0.0.1-2ubuntu8
  Version table:
     0.0.1-2ubuntu8 0
        500 http://gb.archive.ubuntu.com hardy/universe Packages

# apt-cache policy linux-xen
linux-xen:
  Installed: (none)
  Candidate: 2.6.24.16.18
  Version table:
     2.6.24.16.18 0
        500 http://gb.archive.ubuntu.com hardy/universe Packages

# apt-cache policy xenman
xenman:
  Installed: (none)
  Candidate: (none)
  Version table:

# apt-cache policy linux-restricted-modules-xen
linux-restricted-modules-xen:
  Installed: (none)
  Candidate: (none)
  Version table:

Tags: xen Edit Tag help
markus (markus-aiki) wrote :

I can also not install ubuntu-xen-server on hardy-amd64 (on a Dell PowerEdge 2970), getting the following results:

markus@system:~# sudo apt-get install ubuntu-xen-server
[...]
Setting up xen-tools (3.8-4ubuntu4) ...

Setting up xen-utils-3.2 (3.2.0-0ubuntu10) ...
grep: /proc/xen/capabilities: No such file or directory

dpkg: dependency problems prevent configuration of ubuntu-xen-server:
 ubuntu-xen-server depends on linux-xen; however:
  Package linux-xen is not configured yet.
dpkg: error processing ubuntu-xen-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 linux-ubuntu-modules-2.6.24-16-xen
 linux-image-xen
 linux-xen
 ubuntu-xen-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

PC_THE_GREAT (pcthegreat) wrote :

same problem here also

root@somewhere:/home/selven# apt-get -f install ubuntu-xen-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  ubuntu-xen-server: Depends: linux-xen but it is not installable
E: Broken packages

PC_THE_GREAT (pcthegreat) wrote :

note: am using an upgraded from gutsy to hardy ubuntu server.

Marty (marty-supine) wrote :

Same issue here.

Trying to force it by actively installing the missing dependency results in version mismatch.

$ sudo apt-get install ubuntu-xen-server linux-xen linux-restricted-modules-xen
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  linux-xen: Depends: linux-restricted-modules-xen (= 2.6.24.19.21) but 2.6.24.18.20 is to be installed
E: Broken packages

  • unnamed Edit (1.6 KiB, text/html; charset=ISO-8859-1)

solved it by reinstalling a fresh copy of hardy instead of upgrading (that
would suck if that was to be production servers)

On Tue, Jun 17, 2008 at 12:12 PM, Marty <email address hidden> wrote:

> Same issue here.
>
> Trying to force it by actively installing the missing dependency results
> in version mismatch.
>
> $ sudo apt-get install ubuntu-xen-server linux-xen
> linux-restricted-modules-xen
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> linux-xen: Depends: linux-restricted-modules-xen (= 2.6.24.19.21) but
> 2.6.24.18.20 is to be installed
> E: Broken packages
>
> --
> Hardy: ubuntu-xen-server will not install
> https://bugs.launchpad.net/bugs/222194
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
$3|v3n

Download full text (3.6 KiB)

OK, I finally got round to replicating this. Under VMware server, I made two separate installations: ubuntu-6.06.1-desktop-i386 and ubuntu-8.04-desktop-i386

(1) On the 8.04 VM, I let it upgrade all packages (203 of them); shutdown; snapshot; restart.

Then I tried "apt-get install ubuntu-xen-desktop". This failed as follows:

The following packages have unmet dependencies.
   ubuntu-xen-desktop: Depends xenman but it is not installable
E: Broken packages

However, "apt-get install ubuntu-xen-server" was successful, and installed 20 new packages.

(2) On the 6.06.1 VM, I let it upgrade all packages (206); reboot; sudo update-manager -d (to upgrade to 8.04); shutdown; snapshot; restart.

After this, trying to apt-get install ubuntu-xen-desktop or
ubuntu-xen-server just said that both packages were unavailable, e.g.

E: Couldn't find package ubuntu-xen-server

Looking in /etc/apt/sources.list, 'universe' was not enabled (and there were
obsolete entries for dapper, albeit commented out). So I used 'synaptic' to
enable the universe set.

After this, apt-get install gave the same errors as I'd originally reported:

# apt-get install ubuntu-xen-desktop
...
The following packages have unmet dependencies.
  ubuntu-xen-desktop: Depends: linux-xen but it is not going to be installed
                      Depends: xenman but it is not installable
E: Broken packages

# apt-get install ubuntu-xen-server
...
The following packages have unmet dependencies.
  ubuntu-xen-server: Depends: linux-xen but it is not going to be installed
E: Broken packages

This is good - it means the problem is repeatable!

(3) Reverting to the snapshots, I installed copied off 'dpkg -l' and /etc/apt from both.

Comparing /etc/apt showed that the fresh 8.04 machine had both 'universe' and 'multiverse' repositories enabled by default, whereas the 6.06.1 upgrade didn't.

As for the dpkg output, the 6.06 box had a lot of old packages in ^rc state, so I grepped these out. But this still left a lot of differences: what I get from
diff -ubB 606 804 | grep '^[-+]'
is attached as dapper-hardy-pkg-diff.txt

I note that the fresh 8.04 install has installed a 'generic' kernel and
modules, whereas the 6.06.1 upgraded machine has a '386' kernel.

(Aside: a fresh 8.04 install seems to pull in a lot less of the kitchen sink
by default, which I think is a Good Thing. A post-update script to remove
all the spurious packages would be useful. Strangely there are also 3
packages which a fresh install gets that an upgrade doesn't)

(4) I tried installing the linux-generic kernel but this didn't make any
difference.

(Aside: updating the kernel also gave me a reminder to read
/usr/share/doc/grub/NEWS.Debian.gz and follow its instructions, which I
otherwise wouldn't have known was needed)

(5) So then I reverted to snapshot and used synaptic to enable both
'universe' and 'multiverse' repositories.

At this point the problem was fixed: ubuntu-xen-desktop was broken as above,
but ubuntu-xen-server installed successfully.

(6) So the conclusions I can draw:
* The ubuntu-xen-desktop metapackage is broken
* The ubuntu-xen-server metapackage works on a fresh 8.04 install, but not a 6.06.1->8.04 upgrade...

Read more...

Brian Candler (b-candler) wrote :

...and I guess I should add: if ubuntu-xen-server depends unconditionally on a package in the multiverse repository, shouldn't ubuntu-xen-server itself live in multiverse?

esby (esby) wrote :

  "* The ubuntu-xen-server metapackage works on a fresh 8.04 install, but not a 6.06.1->8.04 upgraded machine"
I ain't sure about this conclusion as I installed my machine with a hardy 8.04 server, (fresh install) and I am also getting the reported error.

esby

Brian Candler (b-candler) wrote :

Hmm, server and desktop flavours of hardy may be different in terms of which sources they enabled by default.

Check if you have both universe and multiverse enabled in /etc/apt/sources.list. If not, add them, then 'apt-get update', then try again.

  • unnamed Edit (1.0 KiB, text/html; charset=ISO-8859-1)

esby, tried 2 fresh server install and it works.
You may have missed something
+PC

On Wed, Jun 25, 2008 at 6:51 PM, Brian Candler <email address hidden> wrote:

> Hmm, server and desktop flavours of hardy may be different in terms of
> which sources they enabled by default.
>
> Check if you have both universe and multiverse enabled in
> /etc/apt/sources.list. If not, add them, then 'apt-get update', then try
> again.
>
> --
> Hardy: ubuntu-xen-server will not install
> https://bugs.launchpad.net/bugs/222194
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
$3|v3n

did you mean fresh installing and not upgradding any packages?

esby

  • unnamed Edit (801 bytes, text/html; charset=ISO-8859-1)

fresh install hardy, install xen, upgrade package [if any]

On Thu, Jun 26, 2008 at 11:27 AM, esby <email address hidden> wrote:

> did you mean fresh installing and not upgradding any packages?
>
> esby
>
> --
> Hardy: ubuntu-xen-server will not install
> https://bugs.launchpad.net/bugs/222194
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
$3|v3n

Heya, FYI:

I had the same bug error, and apt-cache policy showed the same thing.

I had installed ubuntu using debootstrap.

It turns out that it was missing the security repositories in sources.list.

I added this:

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

and it seemed to solve it.

Andres Mujica (andres.mujica) wrote :
Download full text (4.6 KiB)

Hi i'm also having trouble with ubuntu-xen-server and ubuntu-xen-desktop. However the unmet dependencies are not exactly the same reported here, so if a new bug report must be filled just let me know

>> ubuntu-xen-server

 sudo apt-get install ubuntu-xen-server

The following packages have unmet dependencies:
  ubuntu-xen-server: Depends: python-xen-3.2 but it is not going to be installed
                     Depends: xen-utils-3.2 but it is not going to be installed

>> ubuntu-xen-desktop

 sudo apt-get install ubuntu-xen-desktop

The following packages have unmet dependencies:
  ubuntu-xen-desktop: Depends: python-xen-3.2 but it is not going to be installed
                      Depends: xen-utils-3.2 but it is not going to be installed
                      Depends: xenman but it is not installable

If i dig a little bit more i've found:

sudo apt-get install python-xen-3.2

The following packages have unmet dependencies:
  python-xen-3.2: Depends: python-dev but it is not going to be installed
E: Broken packages

 sudo apt-get install python-dev

The following packages have unmet dependencies:
  python-dev: Depends: python2.5-dev (>= 2.5.2) but it is not going to be installed
E: Broken packages

sudo apt-get install xen-utils-3.2

The following packages have unmet dependencies:
  xen-utils-3.2: Depends: python-xen-3.2 but it is not going to be installed
E: Broken packages

 sudo apt-get install xenman

Package xenman is not available, but is referred to by another package.

E: Package xenman has no installation candidate

So the source for this bug is the python-dev version problem and the no availability of xenman.

With aptitude the proposed solution is:

sudo aptitude install ubuntu-xen-server

The following packages are BROKEN:
  python2.5-dev
The following NEW packages will be automatically installed:
  libc6-xen libconfig-inifiles-perl libexpect-perl libio-pty-perl libio-stty-perl libterm-readline-gnu-perl libterm-size-perl libtext-template-perl perl-doc python-dev
  python-xen-3.2 rinse vnstat xen-docs-3.2 xen-hypervisor-3.2 xen-shell xen-tools xen-utils-3.2 xfsprogs
The following NEW packages will be installed:
  libc6-xen libconfig-inifiles-perl libexpect-perl libio-pty-perl libio-stty-perl libterm-readline-gnu-perl libterm-size-perl libtext-template-perl perl-doc python-dev
  python-xen-3.2 rinse ubuntu-xen-server vnstat xen-docs-3.2 xen-hypervisor-3.2 xen-shell xen-tools xen-utils-3.2 xfsprogs
0 packages upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.3MB of archives. After unpacking 33.4MB will be used.
The following packages have unmet dependencies:
  python2.5-dev: Depends: python2.5 (= 2.5.2-2ubuntu4.1) but 2.5.2-2ubuntu5 is installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Downgrade the following packages:
python2.5 [2.5.2-2ubuntu5 (now) -> 2.5.2-2ubuntu4.1 (hardy-security)]
python2.5-minimal [2.5.2-2ubuntu5 (now) -> 2.5.2-2ubuntu4.1 (hardy-security)]

Score is 114

 sudo aptitude install ubuntu-xen-desktop

The following packages are BROKEN:
  python2.5-dev ubuntu-xen-desktop
The following NEW packages will be automatically installed:
  libc...

Read more...

Confirming because it happens to several people, but it's an rather old bug so I'm afraid it won't be fixed any more (or you are now on a newer system).

Changed in xen-meta (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers