LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2011, 02:44 AM   #1
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200
Blog Entries: 2

Rep: Reputation: 19
Unhappy Serious problem with sources list, what to do?


Hello

I did something when installing a program. Now I get a warning sign and this text: E:Malformed line 64 in sources list/etc/sources.list (dist parse).
This really worries me, what to do???
 
Old 11-28-2011, 02:48 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Well id start by looking at or around line 64 of /etc/apt/sources.list

if you cant see anything obvious, post it, so we have something to work with.
 
Old 11-28-2011, 03:27 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Post your sources.list in (code tags) for us to look at with you. It is probably just a mistake with spaces or spelling.
 
Old 11-28-2011, 05:13 AM   #4
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
How to?
Please bear in mind that I'm a newbie with this. I cannot get to /etc/apt/sources.list through the terminal, could you be kind enough as to show me step by step what the necessary movements are???
 
Old 11-28-2011, 05:19 AM   #5
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
open the terminal and type this,

cat /etc/apt/sources.list



then copy and past it in here but use the code tags that the advanced editor has. That way it keeps things in a scrolled window so they are not too long.

Last edited by Amdx2_x64; 11-28-2011 at 05:20 AM.
 
Old 11-28-2011, 06:07 AM   #6
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Is this what you were asking for???

deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://helineva.net/deb lucid main
deb-src http://helineva.net/deb lucid main
deb http://helineva.net/deb lucid main
deb-src http://helineva.net/deb lucid main
deb http://helineva.net/deb lucid main
deb-src http://helineva.net/deb lucid main
deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main
deb-src http://deb.torproject.org/torproject.org <DISTRIBUTION> main
deb http://deb.torproject.org/torproject.org<oneiric main
 
Old 11-28-2011, 06:19 AM   #7
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Yes that is the one.

There are a few problems with that list.

What version of Ubuntu are you using?


Open the terminal and copy and paste this

cat /etc/issue


then copy and paste what it says here.

Last edited by Amdx2_x64; 11-28-2011 at 06:29 AM.
 
Old 11-28-2011, 07:05 AM   #8
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Well I have to head out. So I will get this started and someone else can help you along. You have two versions of Ubuntu in that list and the last three lines are wrong.

Oneiric is Ubuntu 11.10
Lucid Is Ubuntu 10.04

And these lines are all wrong.

Quote:
deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main
deb-src http://deb.torproject.org/torproject.org <DISTRIBUTION> main
deb http://deb.torproject.org/torproject.org<oneiric main
Look at the bold italic I underlined above in black.

<DISTRIBUTION> should simply be the version of your Ubuntu without the < >

<oneiric - I explained above that you had two versions of Ubuntu in that list. However this has a < there as well, and it shouldn't be there, It should be a space not a <


So you really need to let us know what version of Ubuntu you are using.



Edit: I just noticed this as well,

Quote:
deb http://helineva.net/deb lucid main
deb-src http://helineva.net/deb lucid main
Is in there three times. And it is the only one that has Lucid in it.


So your /etc/apt/sources.list should look like this, assmming that you are using Ubuntu Oneiric 11.10.

Quote:
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://deb.torproject.org/torproject.org oneiric main
deb-src http://deb.torproject.org/torproject.org oneiric main
What you need to do is open the terminal and type in

sudo nano /etc/apt/sources.list

then your password

then delete all that is in there and copy the above corrected sources.list to it. BUT ONLY IF YOU ARE USING UBUNTU ONEIRIC 11.10. Please check that first.

after you do that

then hit ctrl o (at the same time) then hit enter which saves the file
then crtl x (at the same time) this exits you from there.

then do sudo apt-get update

Last edited by Amdx2_x64; 11-28-2011 at 07:32 AM.
 
1 members found this post helpful.
Old 11-28-2011, 09:06 AM   #9
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Thank you, Amdx2! I am ever greatful for your help. Hope myself someday get the idea of all this and stop making stupid mistakes! Is 64 years old too old?
 
Old 11-28-2011, 03:19 PM   #10
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Quote:
Originally Posted by teboil12 View Post
Thank you, Amdx2! I am ever greatful for your help. Hope myself someday get the idea of all this and stop making stupid mistakes! Is 64 years old too old?
You are very welcome. I am glad I could help. And don't worry about making mistakes. Just make sure to create back ups of your pictures, media, bookmarks, passwords, etc, then the mistakes are just a way of learning. (Trust me on the back ups. Some years ago I learned the hard way. ) And, there is no such things as being to old too learn anything.


Also in my signature there is an Ubuntu Sources List Generator. Take a look at it. Just back up your current sources.list before you do anything if you use it,

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup


Have Fun

Last edited by Amdx2_x64; 11-28-2011 at 03:25 PM.
 
  


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
problem with sources.list qrange Debian 4 01-20-2011 07:15 AM
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of vsssuccess@gmail.com Linux - Desktop 1 11-17-2010 08:17 AM
Problem with sources.list jwaters504 Debian 3 09-25-2007 05:58 PM
problem with sources.list phantom_cyph Debian 11 07-19-2007 08:44 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:38 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
Open Source Consulting | Domain Registration