LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-22-2006, 10:48 PM   #1
ricardisimo
LQ Newbie
 
Registered: Oct 2006
Location: Earth
Distribution: Ubuntu 9.04
Posts: 15

Rep: Reputation: 0
Unhappy How do I change - not edit - my source.list


I don't want to edit the list... I've already done that with the help of several threads here, at Ubuntu and at PsychoCats. The problem is that none of it is working, and I think that's because I'm not using /etc/apt/sources.list at all, but rather /etc/apt/sources.list.d/dapper-universe.list.
Whenever I try using apt-get or aptitude, I get some version of basically the same response:
Code:
E: Malformed line 4 in source list /etc/apt/sources.list.d/dapper-universe.list (dist parse)
E: The list of sources could not be read.
I've now changed my sources.list to read exactly as is described here, but it matters not, because synaptic et al. are looking at dapper-universe.list, which reads thusly:
Code:
# automatically added by gnome-app-install on 2006-09-22 01:59:33.498379
deb http://security.ubuntu.com/ubuntu edgy-security universe
deb-src http://security.ubuntu.com/ubuntu edgy-security universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ edgy-updates
I should mention that I am on Edgy, and that this whole debacle began with installation problems with Audacious; it wouldn't install properly, and after several tries I finally decided to try to add the Audacious Ubuntu download repository to my software sources dialog.
Now here I am, throwing myself at your gentle mercies. Pity me. I am not an animal. TIA.
 
Old 12-22-2006, 11:31 PM   #2
kev000
Member
 
Registered: Oct 2006
Posts: 53

Rep: Reputation: 15
why aren't you adding the extra repositories to your /etc/apt/sources.list?
 
Old 12-22-2006, 11:44 PM   #3
ricardisimo
LQ Newbie
 
Registered: Oct 2006
Location: Earth
Distribution: Ubuntu 9.04
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kev000
why aren't you adding the extra repositories to your /etc/apt/sources.list?
I did. Like I said, /etc/apt/sources.list looks fantastic and up-to-date and it does absolutely nothing, because nothing is even looking that way, not gDebi not synaptic, not apt-get nor aptitude. They all look to /etc/apt/sources.list.d/dapper-universe.list and see some problem with that last line,
Quote:
deb http://archive.ubuntu.com/ubuntu/ edgy-updates
. No idea what's going on at this point.
 
Old 12-22-2006, 11:48 PM   #4
kev000
Member
 
Registered: Oct 2006
Posts: 53

Rep: Reputation: 15
did you by chance upgrade from dapper to edgy? I wonder if that has anything to do with it. does /etc/apt/sources.list.d/dapper-universe.list even exist? Maybe you could create a symlink to the normal /ect/apt/sources.list

Last edited by kev000; 12-22-2006 at 11:51 PM.
 
Old 12-23-2006, 02:18 AM   #5
ricardisimo
LQ Newbie
 
Registered: Oct 2006
Location: Earth
Distribution: Ubuntu 9.04
Posts: 15

Original Poster
Rep: Reputation: 0
What's a symlink? What I'd like is for gDebi et al. to use the proper file on their own, but if I have have to trick them into doing it, I guess that's all right.
Why don't I just copy and paste everything that's in /etc/apt/sources.list into the other one? Will that work?
 
Old 12-23-2006, 01:24 PM   #6
ricardisimo
LQ Newbie
 
Registered: Oct 2006
Location: Earth
Distribution: Ubuntu 9.04
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

I think it's at least partially resolved. As per someone's suggestion over at Ubuntu, I just deleted the sources.list.d/dapper-universe.list file, and now all is right with the world. Well, I guess Bush is still in the White House, so there's still a long ways to go, but...
Thanks for replying, kev.
 
Old 12-23-2006, 10:19 PM   #7
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Rep: Reputation: 15
Quote:
Originally Posted by ricardisimo
I did. Like I said, /etc/apt/sources.list looks fantastic and up-to-date and it does absolutely nothing, because nothing is even looking that way, not gDebi not synaptic, not apt-get nor aptitude. They all look to /etc/apt/sources.list.d/dapper-universe.list and see some problem with that last line, . No idea what's going on at this point.
try
Code:
 deb http://archive.ubuntu.com/ubuntu/ edgy-updates universe
if you havent got it resolved.
 
  


Reply

Tags
apt-get, aptitude, repositories, sourceslist


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 errors when trying to edit tparker Linux - Desktop 2 11-10-2006 05:45 AM
How can I edit sources.list elementadiobam Ubuntu 9 09-20-2006 09:57 AM
Edit My Apt Sources List carlosinfl Debian 19 08-26-2005 06:13 AM
where do i edit the bootup menu list between XP/Redhat9? tecrax Linux - Newbie 7 09-08-2004 09:36 AM
how to change source.list from knoppix to the debian one? maximalred Debian 11 06-06-2004 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:10 AM.

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
Open Source Consulting | Domain Registration