LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 12-05-2011, 10:13 PM   #1
zdwc01
LQ Newbie
 
Registered: Nov 2005
Location: Edmonton, AB
Distribution: ubuntu kubuntu
Posts: 9

Rep: Reputation: 0
How to edit files in directory /etc/apt/sources.list.d/ in ubuntu 11.10


How can I edit files in directory /etc/apt/sources.list.d/ in ubuntu 11.10 to resolve this problem

'W:Ignoring file 'airo-dock-team' in directory '/etc/apt/sources.list.d/' as it has no filename extension, E:Type 'ro-dock-team/ppa/ubuntu' is not known on line 5 in source list /etc/apt/sources.list.d/cairo-dock-team-ppa-oneiric.list'
 
Old 12-05-2011, 10:36 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 206Reputation: 206Reputation: 206
The files in that directory usually are named something.list. I guess perhaps that's what's triggering the warning? Try adding a .list extension.

As for the error, I believe your entry in /etc/apt/sources.list.d/cairo-dock-team-ppa-oneiric.list is malformed.

I have a PPA for Java, it looks like this. Is yours in this format?

Code:
deb http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric main
deb-src http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric main
 
Old 12-06-2011, 02:45 PM   #3
zdwc01
LQ Newbie
 
Registered: Nov 2005
Location: Edmonton, AB
Distribution: ubuntu kubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
Solved should have used GKSUDO instead of just SUDO. Thanks
 
Old 12-06-2011, 02:50 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Quote:
Originally Posted by zdwc01 View Post
Solved should have used GKSUDO instead of just SUDO. Thanks
Or use an editor in the CLI, like vi or nano :-)

Kind regards
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get; E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list tomorrow Linux - Newbie 9 05-21-2009 08:42 AM
Unable to edit /etc/apt/sources.list JudgeMonkey Linux - Newbie 6 12-19-2007 10:24 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
etc/apt/sources.list errors when trying to edit tparker Linux - Desktop 2 11-10-2006 05:45 AM
Edit My Apt Sources List carlosinfl Debian 19 08-26-2005 06:13 AM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration