Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-15-2008, 06:09 PM   #1
LQ Newbie
Registered: Apr 2006
Location: Bangladesh
Distribution: debian
Posts: 14

Rep: Reputation: 0
Exclamation /etc/apt/sources.list update problem

i have entered the url at /etc/apt/sources.list but i can not save it an the message is that i have not permission.

ive in tered as single user mode using root pass wards and entered /etc/apt/sources.listat the command promt but still it says permission denied

while i can not enter the url and update atp-get, cant install the softwers

can u tell what is wrong with it?
Old 01-15-2008, 07:46 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'm not sure what you're trying to do. If you want to edit the file, you need to use an editor. So as root you would do something like nano /etc/apt/sources.list and then modify it to point to the repositories you want.

If you want to update apt, you run apt-get update. If you want to install software you run apt-get install softwarename.

Here's a good link to how to work with Debian.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in /etc/apt/sources.list john83reuben Linux - General 2 12-20-2007 07:58 AM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
apt/sources.list problem r.stiltskin Ubuntu 1 09-27-2006 10:43 AM
[HELP] Problem with sources.list apt-get omisphere Linux - Newbie 1 06-15-2006 11:49 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration