10.04 alternate missing packages

Asked by Jez

I have just installed 10.04 from the alternate CD (live CD kept on crashing) but the installation could not complete as it could not install files from the internet.
I only have a tty login screen and terminal. I have tried to update and install via Aptitude but it keeps asking for the CD.
I then checked etc/apt/sources.list which only shows the following:

deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)]/ lucid main restricted

Is there a fix for this or can I edit the etc/sources.list to include the Ubuntu repos? I do not have a text editor installed (not even nano), I have just viewed the file using the cat command.

Please help.

Question information

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

Here's what I do for all my versions. I download the

https://help.ubuntu.com/community/Installation/MinimalCD

Then burn and boot from cd. You will see this

boot: (then type) cli

when your done boot back into the terminal and run

sudo aptitude install ubuntu-desktop

Revision history for this message
Ingolemo (ingolemo) said :
#2

You should be able to reset your sources.list with the following command, but be aware that this is only a stopgap list and that you should build a proper one once you have a suitable text editor.

sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse' >/etc/apt/sources.list"

Revision history for this message
Jez (hoppy1971) said :
#3

wojox-

After giving up on the live CD and the Alternate CD I tried the minimal CD. After installing ubuntu-desktop and rebooting I selected ubuntu from grub. I get the purple splash screen for a few seconds then my PC crashes and I have to do a hard reset.
I have had the same problem with the other CD's and a USB stick.
I have used the USB stick to install 10.04 on my laptop with no problems.
What now?

Revision history for this message
wojox (wojox) said :
#4

Okay boot a LiveCD and press e on getting the GRUB bootloader.
Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
Press Ctrl and X to boot
You should now be able to login to your Ubuntu as usual

Revision history for this message
Jez (hoppy1971) said :
#5

Wojox-

ok, tried nomodeset but it didnt work. I then booted into recovery mode and tried running in low graphics mode and it works!

I now have to install ATI graphics drivers and hope for the best.

Many thanks for your help.