Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

First of all say apology to Ask Duplicate Question.

I'm Using First time Ubuntu 12.10 OS.when i'm update the Update Manager it is giving error like this ....

Failed to load the package list:

This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.

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

I'm Search solution for this error some body say type following commands...

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

But again it is showing following error..

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

At Top Right corner of my system show Red (-) symbol when we click the symbol it is showing..

 An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:
E:Malformed line 60 in source list /etc/apt/sources.list (dist parse)

Please help me any body how to solve this one... Update: This is my Sources.list

    # deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-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://in.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal universe
deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-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://in.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://in.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-updates multiverse

## 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://in.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-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 quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 quantal main
deb http://archive.canonical.com/ lucid partner
deb-src http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/lucid partner
deb-src http://archive.canonical.com/lucid partner
deb http://archive.ubuntu.com/ubuntu hardy main multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy main multiverse
deb http://archive.ubuntu.com/ubuntu hardy-updates main multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy-updates main multiverse
deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu quantal main
deb httphttp://archive.ubuntu.com/ubuntu hardy-updates main multiverse
deb-src httphttp://archive.ubuntu.com/ubuntu hardy-updates main multiverse
share|improve this question
1  
I suspect people would like to see what is in line 60 of sources.list. Why don't you include the contents of sources.list. Also mention if you've tried editing it by hand. And please avoid this "somebody says" type of thing. It can be quite dangerous. –  user25656 Feb 16 '13 at 7:49
    
please tell me what i'm do next? –  Java Developer Feb 16 '13 at 9:05
1  
Can you give us your /etc/apt/sources.list file to look at? –  smartboyhw Feb 16 '13 at 9:36
add comment

1 Answer

vi /etc/apt/sources.list

or

gedit /etc/apt/sources.list (if you are not familiar with vi.) 

Then check the line 60. May be it contains any special characters. Add # on the begining. then exit from vi and try. But don't change any other line.

sudo apt-get update
share|improve this answer
    
How to Save this sources.list file it is not saved. –  Java Developer Feb 18 '13 at 7:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.