Can't install GUI on server from Desktop CD
I have the need for a Ubuntu server with normal server components such as SSH, NFS, and Samba servers, system accounting and status, etc, but also need X components for the in-house application. I figured it would be easier to install the server version then add the desktop rather than install the desktop then add all the missing server bits.
The server is on a secure network with no Internet access.
With the desktop CD in the drive, I have modified /etc/apt/sources.list (both manually and with "sudo apt-cdrom add") so that I have the line:
deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
and left the "...Ubuntu-Server 10.10 ..." line commented out.
sudo apt-get update
-> all good, with the usual Internet errors, BUT
sudo apt-get install ubuntu-desktop
fails with "Unable to locate package"
and aptitude only lists 33 new packages from the CD.
Tried clearing the package list ("forget new packages") and reloading -> still only 33.
Obviously dpkg/apt is somehow detecting that I have the server installed and is denying access to the non-server packages.
Is there a way to trick or force the installer, or to un-bundle the ubuntu-desktop package from the CD?