View unanswered posts | View active topics It is currently Mon Sep 16, 2019 6:12 am



Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
 How to apply CompuLab repository 
Author Message

Joined: Wed Jun 02, 2010 9:08 am
Posts: 68
Post How to apply CompuLab repository
Denis wrote:
Required system changes
- Add the following lines to /etc/apt/sources.list
Code:
## 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?


Thu Jan 06, 2011 7:19 pm
Profile

Joined: Fri Dec 17, 2010 8:51 pm
Posts: 12
Post Re: Linux Mint 9 is officially supported
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).


Thu Jan 06, 2011 7:31 pm
Profile

Joined: Wed Jun 02, 2010 9:08 am
Posts: 68
Post Re: Linux Mint 9 is officially supported
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!


Thu Jan 06, 2011 10:15 pm
Profile

Joined: Tue Oct 20, 2009 9:23 pm
Posts: 43
Post Re: Linux Mint 9 is officially supported
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


Thu Jan 06, 2011 10:53 pm
Profile

Joined: Wed Jun 02, 2010 9:08 am
Posts: 68
Post Re: Linux Mint 9 is officially supported
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?


Thu Jan 06, 2011 11:22 pm
Profile

Joined: Sun Jan 10, 2010 11:17 am
Posts: 57
Post Re: Linux Mint 9 is officially supported
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 :)


Fri Jan 07, 2011 12:38 am
Profile

Joined: Wed Jun 02, 2010 9:08 am
Posts: 68
Post Re: Linux Mint 9 is officially supported
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.


Fri Jan 07, 2011 12:53 am
Profile

Joined: Tue Oct 20, 2009 9:23 pm
Posts: 43
Post Re: Linux Mint 9 is officially supported
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.


Fri Jan 07, 2011 7:35 am
Profile

Joined: Wed Jun 02, 2010 9:08 am
Posts: 68
Post Re: Linux Mint 9 is officially supported
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.


Fri Jan 07, 2011 1:22 pm
Profile

Joined: Tue Oct 20, 2009 9:23 pm
Posts: 43
Post Re: Linux Mint 9 is officially supported
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


Fri Jan 07, 2011 4:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.