'update-manager' package

Asked by Angelia James on 2010-08-08

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

Ubuntu 10.04

I cannot use the Update Manager and a 'warning notice' remains in my top panel.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
2010-08-09
Last query:
2010-08-09
Last reply:
2010-08-08

This question was originally filed as bug #615136.

Philip Muškovac (yofel) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Philip Muškovac (yofel) said : #2

Can you please open a Terminal (Applications->Accessories->Terminal), run 'gedit /etc/apt/sources.list' and paste the contents of the file here? Thanks.

Angelia James (mymorninglite) said : #3

daylite@daylite-desktop:~$ 'gedit /etc/apt/sources.list'
bash: gedit /etc/apt/sources.list: No such file or directory
daylite@daylite-desktop:~$

Please open a terminal and please copy and paste the result of this terminal command:

ls -l /etc/apt/

Thank you

Angelia James (mymorninglite) said : #5

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates restricted main multiverse universe #Added by software-properties

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

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://GNOME GIT

Angelia James (mymorninglite) said : #6

daylite@daylite-desktop:~$ ls -l /etc/apt/
total 60
drwxr-xr-x 2 root root 4096 2010-07-22 11:04 apt.conf.d
drwxr-xr-x 2 root root 4096 2010-04-14 21:33 preferences.d
-rw------- 1 root root 0 2010-04-29 05:18 secring.gpg
-rw-r--r-- 1 root root 2815 2010-08-08 12:39 sources.list
drwxr-xr-x 2 root root 4096 2010-08-08 12:35 sources.list.d
-rw-r--r-- 1 root root 2815 2010-08-08 12:39 sources.list.save
-rw------- 1 root root 1200 2010-07-29 13:31 trustdb.gpg
-rw-r--r-- 1 root root 13167 2010-08-08 12:25 trusted.gpg
-rw-r--r-- 1 root root 12814 2010-08-07 19:07 trusted.gpg~
drwxr-xr-x 2 root root 4096 2010-04-14 21:33 trusted.gpg.d
daylite@daylite-desktop:~$
daylite@daylite-desktop:~$

Please open a terminal and please copy and paste the result of this terminal command:

gksudo gedit /etc/apt/sources.list

and remove the latest row, this row:

deb http://GNOME GIT

save and exit then retry to update your system.

Hope this helps

Better...

Please open a terminal and please type this terminal command or copy and paste from here to terminal:

gksudo gedit /etc/apt/sources.list

an editor come in front of you please remove the latest row, this row:

deb http://GNOME GIT

save and exit then retry to update your system.

Hope this helps

Angelia James (mymorninglite) said : #9

Thanks marcobra (Marco Braida), that solved my question.