Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Sudo apt-get update fail: Malformed line 59

UNIX for Dummies Questions & Answers


Tags
update fail

 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 01-12-2013
radoulov's Unix or Linux Image
radoulov radoulov is offline Forum Advisor  
Forum Adviser
 
Join Date: Jan 2007
Last Activity: 16 December 2015, 5:59 AM EST
Location: Варна, България / Milano, Italia
Posts: 5,690
Thanks: 184
Thanked 629 Times in 586 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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 10:24 PM
Error message of sudo apt-get programAngel UNIX for Dummies Questions & Answers 2 06-09-2012 06:53 PM
sudo apt-get install build-essential not working sparkle UNIX for Dummies Questions & Answers 4 04-12-2009 06:28 PM
apt-get update not working gauri UNIX for Dummies Questions & Answers 1 02-14-2006 07:02 AM



All times are GMT -4. The time now is 07:49 AM.