LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


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

Rep: Reputation: 0
debian /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, 08:04 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
/etc/apt/sources.list is not an executable file.

To insatll an application, you start a terminal as root user, then give the command: apt-get install <filename>
where <filename> is the name of the file to install.

Or, you can use Synaptic for a GUI (visual) application (frontend) that does the same as apt-get.
 
Old 01-16-2008, 06:38 AM   #3
amitsurana
LQ Newbie
 
Registered: Oct 2007
Location: India
Distribution: ubuntu, redhat
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
Jus by entering URL you cannot install any new s/w.
sources.list has a list of repositories.
So probably u can better use Adept-Manager GUI client to install new apps.

To update ur packages using terminal.

#sudo apt-get update
#sudo apt-get install <package-name>

bingo... u got the package installed

cheers,
Amit
 
  


Reply


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
/etc/apt/sources.list update problem asparagus Debian 1 01-15-2008 08:46 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 02:57 PM
/etc/apt/sources.list on debian etch cccc Debian 3 03-30-2007 01:23 PM
Debian sarge sources.list e apt-get, first steps Zingaro2002 Debian 10 05-22-2006 09:28 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM


All times are GMT -5. The time now is 08:02 PM.

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