Sudo apt-get update fail: Malformed line 59 | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Sudo apt-get update fail: Malformed line 59

UNIX for Dummies Questions & Answers


Tags
update fail

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-12-2013
kayak kayak is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 26 October 2013, 7:02 AM EDT
Posts: 29
Thanks: 11
Thanked 1 Time in 1 Post
Sudo apt-get update fail: Malformed line 59

I am trying to update/add a repository. Whenever I try to do a

Code:
sudo apt-get update

I get the message:

Code:
E: Malformed line 59 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.

and when I do:


Code:
gksudo gedit /etc/apt/sources.list

I see the following:

Code:
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cz.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cz.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://cz.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ oneiric-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cz.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cz.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe 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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick 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://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb http://archive.canonical.com/natty partner
deb-src http://archive.canonical.com/natty partner
deb http://archive.canonical.com/ oneiric partner
deb-src http://archive.canonical.com/ oneiric partner
deb http://archive.canonical.com/ oneiric partner
deb-src http://archive.canonical.com/ oneiric partner

Can someone please tell me what is wrong and what I need to do to fix it to do updates and install?
Sponsored Links
    #2  
Old 01-12-2013
radoulov's Avatar
radoulov radoulov is offline Forum Staff  
Moderator
 
Join Date: Jan 2007
Last Activity: 24 April 2014, 2:22 PM EDT
Location: Варна, България / Milano, Italia
Posts: 5,642
Thanks: 177
Thanked 608 Times in 566 Posts
Try commenting the lines with natty.

Code:
deb http://archive.canonical.com/natty partner 
deb-src http://archive.canonical.com/natty partner

Why you have Maverick, Oneiric and Natty in the source list?
Three different distros. Is it intentional?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Reinstall sudo apt-get? CS_NA UNIX for Dummies Questions & Answers 0 06-18-2012 09:24 PM
Error message of sudo apt-get programAngel UNIX for Dummies Questions & Answers 2 06-09-2012 05:53 PM
sudo apt-get install build-essential not working sparkle UNIX for Dummies Questions & Answers 4 04-12-2009 05:28 PM
apt-get update not working gauri UNIX for Dummies Questions & Answers 1 02-14-2006 06:02 AM



All times are GMT -4. The time now is 03:10 PM.