gnome desktop for server edition

Asked by mubi

i have installed ubuntu server 8.04 but now i need to install gnome desktop through ubunutu desktop cd
sudo apt-cache show displays message no packages found

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tony Mugan (tmugan) said :
#1

Try

sudo apt-get install ubuntu-desktop

Revision history for this message
Tony Mugan (tmugan) said :
#2
Revision history for this message
Tony Mugan (tmugan) said :
#3

It may be necessary to uncomment the lines for universe and multiverse in

sudo nano /etc/apt/sources.list

Then

sudo apt-get update
sudo apt-get install ubuntu-desktop

Revision history for this message
Bhavani Shankar (bhavi) said :
#4

Hello

give this command:

sudo nano /etc/apt/sources.list

delete everything and paste the below text

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://us.archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
deb http://us.archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-security multiverse

Save the source list (cntrl+X then Y)

then

sudo apt-get update

then

sudo apt-get install ubuntu-desktop

to install the gnome desktop

Regards

Bhavani Shankar.

Revision history for this message
mubi (shaikh-mubi) said :
#5

sudo apt-cdrom add
changed the /etc/apt/sources.list file
sudo get-update

but same error message is displayed
is there any other method to solve the problem by desktop cd

Revision history for this message
Bhavani Shankar (bhavi) said :
#6

Please paste the output of

sudo apt-get install ubuntu-desktop

Revision history for this message
Bhavani Shankar (bhavi) said :
#7

OK got the root problem of yours

it is in the cache, but on the internet repositories. If you do sudo aptitude install ubuntu-desktop

You get:

Couldn't find any packages whose name or description matched "ubuntu-desktop"

In which case

the alternate cd can be used as a repo for ubuntu-desktop, Then you add it to the repositories through Synaptic or apt, and comment out all other repositories.

Regards

Bhavani Shankar.

Revision history for this message
mubi (shaikh-mubi) said :
#8

commented all internet repo lines
sudo apt-cdrom add
sudo apt-get update
reading packages done
but now sudo apt-get install ubuntu-install
gives error package couldnot be located

Revision history for this message
Ralph Janke (txwikinger) said :
#9

Try

sudo apt-get install ubuntu-desktop

instead sudo apt-get install ubuntu-install

Hope this helps

Revision history for this message
mubi (shaikh-mubi) said :
#10

sorry on typing
sudo apt-get install ubuntu-desktop
package coulnd'nt be located

Revision history for this message
Tony Mugan (tmugan) said :
#11

Can you run this and paste the result in here so that we can see what your sources.list looks like

cat /etc/apt/sources.list

Revision history for this message
mubi (shaikh-mubi) said :
#12

 deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted

##deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

##deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
##deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
##deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
##deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security team.
##deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
##deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
##deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
##deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
## deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
##deb http://archive.canonical.com/ubuntu hardy partner
## deb-src http://archive.canonical.com/ubuntu hardy partner

##deb http://us.archive.ubuntu.com/ubuntu/ hardy-security main restricted
##deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
##deb http://us.archive.ubuntu.com/ubuntu/ hardy-security universe
##deb http://us.archive.ubuntu.com/ubuntu/ hardy-security multiverse

Revision history for this message
Tony Mugan (tmugan) said :
#13

Can you install the desktop through internet connection?
If so, then you just need to make sure that the "hardy universe

Ok, run this in a terminal

sudo gedit /etc/apt/sources.list

And edit the line to uncomment the "hardy main" repository

deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

Note : There are other repositories that you would benefit from enabling (and adding the universe and multiverse options) but this should be enough for you to run
sudo apt-get install ubuntu-desktop

Revision history for this message
Tony Mugan (tmugan) said :
#14

CORRECTION: The above line should have stated

If so, then you just need to make sure that the link to the "hardy main" repository on the internet is enabled.

Revision history for this message
mubi (shaikh-mubi) said :
#15

my internet connection is weak
so i'll have to install it with cdrom

on typing
sudo apt-cdrom add
it scan & gives message
found 2 packages, 0 source indexes , 0 translation indexes and 1 signature

then it displays the disc name
copys the package list
verify signature and reads package indexes
Then it writes new source list which is

deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted

unmounts cdrom

now running sudo apt-get update

Ign cdrom://Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main Translation-en_IN
Ign cdrom://Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy restricted Translation-en_IN
Reading package lists... Done

now on running sudo apt-get install ubuntu-desktop
Building dependency tree
Reading state information... Done
E: Couldn't find package ubuntu-desktop

Revision history for this message
Tony Mugan (tmugan) said :
#16

It looks like you need the Alternate CD to install straight from CD rather than use an internet connection
http://ubuntuforums.org/showpost.php?p=3107102&postcount=3

You can download that CD image from here if you click the checkbox first.
http://www.ubuntu.com/getubuntu/download

Revision history for this message
mubi (shaikh-mubi) said :
#17

i have a ubuntu desktop edition cd which i'm using
but the thing goes useless everytime

Revision history for this message
Ralph Janke (txwikinger) said :
#18

1) You need to uncomment the lines in your /etc/apt/sources.list file that contain "deb http://us.archive.ubuntu.com/ubuntu/" by removing the "#" signs at the beginning of the line.

2) you need to run

sudo apt-get update

3) you need to run

sudo apt-get install ubuntu-desktop

Can you help with this problem?

Provide an answer of your own, or ask mubi for more information if necessary.

To post a message you must log in.