ADD source remains ghosted

Asked by Clarry

I am new to ubuntu 8.04 (or linux, for that matter)
I copied that code for your repository for the ubuntu 8.04 and then went to >system >administration >Software sources and third party> ADD ... but when I pasted your code into the box, the ADD SOURCE button remains ghosted and I can't go any further.
Please help

Question information

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

Raul,

That is probably because either the example you copied was incomplete, or you didn't copy all of the information.

The format you should be entering or copying should include all of these elements:

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

Here's a breakdown:

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

    ^^^
    This will be deb most of the time, but could be deb-src

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

        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        The actual address of the repository

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

                                         ^^^^^
                                    Distribution version

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

                                               ^^^^
                                           Component

For more information you can review:

    https://help.ubuntu.com/community/Repositories/CommandLine

If this resolves your question, please return to Launchpad and mark this question Solved.

Thanks!

Harvey

Revision history for this message
Harvey Muller (hlmuller) said :
#2

Raul,

That didn't come across as plaintext as I expected. If it is confusing, see the link.

If this resolves your question, please return to Launchpad and mark this question Solved.

Thanks!

Harvey

Revision history for this message
Clarry (rllm2-sydney) said :
#3

Thanks Harvey.
The line I am told to put in is on page
https://help.ubuntu.com/community/Medibuntu
and the line itself is
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

which is different to the line you are giving me.
I am doing something wrong.
I have not learned to program yet and count on the directions about pasting it into the box and pressing ADD SOURCE.
Maybe I should come back when I learn more. Sorry.

Revision history for this message
Harvey Muller (hlmuller) said :
#4

Raul,

I see your problem. You don't want to add that line to "Software Sources". It is not the name of a repository. It is a command to be run in a terminal, which will add the repository to your list. I've just run the command in a terminal, and it works great.

Open a terminal, (Assuming Gnome) Applications > Accessories > Terminal

Then copy and paste that line into the terminal and hit enter. Then when you check your "Software Sources" you will see two new lines, one of which will be checked. The second one is supposed to be unchecked.

If this solves your question, please return to Launchpad and mark this question Solved.

Thanks!

Harvey

Revision history for this message
Clarry (rllm2-sydney) said :
#5

Thanks Harvey it is working well.
And thanks for helping me with 'TERMINAL." I was avoiding it because I knew nothing about it.
I noticed in one of your posts that you told someone where they can learn all about entering stuff in the Terminal.
I think I am going to like this Linux