Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-22-2010, 08:36 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2010
Location: Adelaide, South Australia
Distribution: Fedora
Posts: 14
Rep:
|
Debian 5.05 setup, HELP?
Hi I downloaded the first CD Image as instructed at http://www.debian.org/releases/stable/debian-installer/ and installed it on my laptop. I would like some help to install the "Synaptic Package Manager" and a mirror repository so that my system can update.
I have apparently installed " apt-cdrom add" and then typed "apt-get update" and I tried to install the mirror when the system was installed but as the wireless was not connected it apparently did not add the correct details.
I am sorry if my information is incorrect or misguided but I really want to try Debian and just need a little help to get me going.
Your Help is Much Appreciated, thank you
Last edited by murenti; 08-22-2010 at 08:37 PM.
Reason: to Add tags
|
|
|
|
08-22-2010, 09:22 PM
|
#2
|
|
Senior Member
Registered: Dec 2005
Posts: 1,632
Rep: 
|
Copy/paste the following to the file /etc/apt/sources.list (as root)
Code:
deb http://ftp.au.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.au.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
deb ftp://ftp.debian-multimedia.org lenny main
Save the file, close the editor. Next, issue these commands, still as root:
Code:
apt-get update && apt-get dist-upgrade && apt-get install synaptic
The && dictates that each command is only executed if the previous one has finished successfully. The sequence: updating the package cache, completely upgrading your system to the latest versions of the installed software and install Synaptic. Let the machine finish.
It is wise to have a wired connection to the internet, at least until you've managed to get wireless working...
|
|
|
1 members found this post helpful.
|
08-22-2010, 10:14 PM
|
#3
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,557
|
You said that wireless was not connected. Do you now have a working network connection (either wireless or wired)?
Evo2.
|
|
|
|
08-22-2010, 11:43 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2010
Location: Adelaide, South Australia
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I have a wired connection, but I dont know how to change the file as a root user
I did this "Alt+F2" and typed "gedit /etc/apt/sources.list"
This didnt allow editing at the root level.
|
|
|
|
08-23-2010, 12:32 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2010
Location: Adelaide, South Australia
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I also tried changing my user to a root privledge but it still rejected my attempts at root level file changing.
|
|
|
|
08-23-2010, 12:33 AM
|
#6
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,557
|
to become root, open a terminal and enter the following command:
You should then be prompted for the root password: type it and press enter.
Then, from the same terminal you can launch a text editor and edit and save the file.
Evo2.
|
|
|
1 members found this post helpful.
|
08-23-2010, 12:40 AM
|
#7
|
|
LQ Newbie
Registered: Aug 2010
Location: Adelaide, South Australia
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I entered su -l in root terminal and then root password
then entered gedit /etc/apt/sources.list
it says the following
"cannot open display:
Run 'gedit --help' to see a full list of available command line options."
Last edited by murenti; 08-23-2010 at 12:42 AM.
|
|
|
|
08-23-2010, 12:59 AM
|
#8
|
|
LQ Newbie
Registered: Aug 2010
Location: Adelaide, South Australia
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I also opened a terminal typed "su -l"-Entered Root password-then tried "gedit /etc/apt/sources.list" in the terminal, and it said "cannot open display: Run 'gedit --help' to see a full list of available command line options." I then tried "Alt+F2"-"gedit /etc/apt/sources.list" to see if the editor was root accesable but unfortunately it wasnt. Your patience and help is very much appreciate and I am open to further help please.
gedit --help options are not very helpful, just for your info
Last edited by murenti; 08-23-2010 at 01:01 AM.
|
|
|
|
08-23-2010, 01:29 AM
|
#9
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,557
|
If you are already in "root terminal" then you don't need to run "su -l" (switch user).
Use an editor that does not need to open a new window: Eg "nano"
Code:
nano /etc/apt/sources.list
Evo2.
|
|
|
1 members found this post helpful.
|
08-23-2010, 01:40 AM
|
#10
|
|
LQ Newbie
Registered: Aug 2010
Location: Adelaide, South Australia
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I am only new to Linux and still learning, but with NANO how do I save it please
Also, thanks for your help but I have learned that gksudo gedit solves the problem, thank you very much for your help
Last edited by murenti; 08-23-2010 at 01:50 AM.
|
|
|
|
08-23-2010, 02:40 AM
|
#11
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,557
|
Nano has instructions at the bottom of the screen. ^x (Ctrl x ) to quit and then you will be asked if you want to save: press y. Then I think you will be prompted for the file name: the default name is the original name so press enter.
Evo2.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|