How to apply CompuLab repository

manoka
Posts: 68
Joined: Wed Jun 02, 2010 9:08 am

How to apply CompuLab repository

Post by manoka »

Denis wrote:Required system changes
- Add the following lines to /etc/apt/sources.list

Code: Select all

## Repository for fit-PC2 users provided by Compulab
deb http://fit-pc2.com/download/ubuntu/dists/lucid binary/
deb-src http://fit-pc2.com/download/ubuntu/dists/lucid source/

Could anybody please explain me how and/or where I can find "/etc/apt/sources.list" and how I can add the code/lines?

BrotherRichard
Posts: 12
Joined: Fri Dec 17, 2010 8:51 pm

Re: Linux Mint 9 is officially supported

Post by BrotherRichard »

The file name contains the full path of where to find it and adding the lines is just a matter of using a text editor (there are several to choose from).

manoka
Posts: 68
Joined: Wed Jun 02, 2010 9:08 am

Re: Linux Mint 9 is officially supported

Post by manoka »

BrotherRichard wrote:The file name contains the full path of where to find it and adding the lines is just a matter of using a text editor (there are several to choose from).

Thanks BrotherRichard,
Unfortunately I don't understand what this means. :? :shock: :oops: :(
I guess, with the "file name" you mean: "/etc/apt/sources.list"?
And what is a "path"?
So, I have to open a text editor ( like e.g. "gedit" in the "Applications" - "Accessories"?) and add (copy and paste?) the lines of the code into this(?) - and then?

I'm sorry, I'm not familiar with this - I just know how to put codes/commands into the Terminal.
Thus, detailed, fool proof, step by step instructions would be highly appreciated!!!

Many thanks in advance!

lucian
Posts: 43
Joined: Tue Oct 20, 2009 9:23 pm

Re: Linux Mint 9 is officially supported

Post by lucian »

do the following:

> sudo apt-get install nano

> sudo nano /etc/apt/sources.list

now u can add the lines to the text "sources.list" located at the path "/etc/apt/"

come back if u need further help

manoka
Posts: 68
Joined: Wed Jun 02, 2010 9:08 am

Re: Linux Mint 9 is officially supported

Post by manoka »

Even many more thanks to lucian!

This seems to have worked well so far.

The only question I have here is:
What needs to be done after adding the lines to the text "sources.list" located at the path "/etc/apt/"?

I tried to close the teminat, but keep getting the message:

"Close this terminal?
There is still a process running in this terminal.
Closing the terminal will kill it.

Cancel --- Close terminal"

I don't see that there is a process running. So what needs to be done?

radioxid
Posts: 57
Joined: Sun Jan 10, 2010 11:17 am

Re: Linux Mint 9 is officially supported

Post by radioxid »

Once you have opened nano using Lucian's command and pasted the lines you have to press ^o to write the changes and then ^x to close nano. Now you can close the terminal, but I'd say the installation is not complete yet there.

have a nice day :)

manoka
Posts: 68
Joined: Wed Jun 02, 2010 9:08 am

Re: Linux Mint 9 is officially supported

Post by manoka »

radioxid wrote:Once you have opened nano using Lucian's command and pasted the lines you have to press ^o to write the changes and then ^x to close nano.

I'm afraid this makes no difference.
Besides that, I was able to write the changes without pressing anything after the commands.

lucian
Posts: 43
Joined: Tue Oct 20, 2009 9:23 pm

Re: Linux Mint 9 is officially supported

Post by lucian »

after you closed nano with ^x (also see the discripions on the bottom of the nano screen) the changes should be written to the file "sources.list".

to make sure that they have added to the file, you can reopen nano

> sudo nano /etc/apt/sources.list

check that the changes are added to the file, than close nano with ^x again. you should be back to the command line now. keep going with the nexts steps as in the guide from the first post.

next step would be:

> sudo apt-get update

...

if you copy paste from the browser, you probaly als copy the "return" from the text, so if you past into the console, the commands *automaticly* executed.

manoka
Posts: 68
Joined: Wed Jun 02, 2010 9:08 am

Re: Linux Mint 9 is officially supported

Post by manoka »

I'm terribly sorry...

The Terminal shows up like this:

_______________________________________________________________________
GNU nano 2.2.2 File: /etc/apt/sources.list Modified

deb http://packages.linuxmint.com/ isadora main upstream import
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe mu$
deb http://security.ubuntu.com/ubuntu/ lucid-security main restricted universe $
deb http://archive.canonical.com/ubuntu/ lucid partner
deb http://packages.medibuntu.org/ lucid free non-free

#deb http://archive.getdeb.net/ubuntu lucid-getdeb apps
#deb http://archive.getdeb.net/ubuntu lucid-getdeb games



^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
_______________________________________________________________________


If I type ^O, paste the code and type ^X, this only gets written in front of the first line, which does look like this:

_______________________________________________________________________
GNU nano 2.2.2 File: /etc/apt/sources.list Modified

^O## Repository for fit-PC2 users provided by Compulab
deb http://fit-pc2.com/download/ubuntu/dists/lucid binary/
deb-src http://fit-pc2.com/download/ubuntu/dists/lucid source/^Xdeb http://pack$
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe mu$
deb http://security.ubuntu.com/ubuntu/ lucid-security main restricted universe $
deb http://archive.canonical.com/ubuntu/ lucid partner
deb http://packages.medibuntu.org/ lucid free non-free

#deb http://archive.getdeb.net/ubuntu lucid-getdeb apps
#deb http://archive.getdeb.net/ubuntu lucid-getdeb games




^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
_______________________________________________________________________


^X doesn't help to exit, or to close nano or the terminal.

I wonder whether the problem could be caused by my "Portuguese" keyboard and -key layout(?) - thus the sign ^ could be in a different place as e.g. on the American one.

lucian
Posts: 43
Joined: Tue Oct 20, 2009 9:23 pm

Re: Linux Mint 9 is officially supported

Post by lucian »

sorry I had to laugh, since first time with nano i need some time to figure it out tooo...

the ^ corosponds to the left strg or ctrl key

so you have to press: ctrl + o , ctrl + x

Post Reply

Return to “Linux Mint”