Synaptic package manager error message in 10.04

Asked by tobyone

E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

How do I resolve this issue?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

You need to dress the line 54 of the file /etc/apt/sources.list contents.

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list +54

Tip: to view the line numbers: in the just opened "gedit" file editor please Edit → Preferences → [view] activate the line numbers

Save and exit then retry to update the system.

If you are still in trouble please copy and paste the entire file contents here.

Hope this helps

Revision history for this message
tobyone (tobyone56) said :
#2

Performed tasks with activated line nos., saved and exited did restart and still
getting the following error message.
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 54 in source list /etc/apt/sources.list (dist parse), E:The
list of sources could not be read.'

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

You need to dress the line 54 of the file /etc/apt/sources.list contents.

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list +54

Please copy and paste the entire file contents here.

Hope this helps

Revision history for this message
tobyone (tobyone56) said :
#4

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid
main restricted
# 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 main restricted

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

________________________________
From: marcobra (Marco Braida) <email address hidden>
To: <email address hidden>
Sent: Thu, July 15, 2010 1:58:06 PM
Subject: Re: [Question #117856]: Synaptic package manager error message in 10.04

Your question #117856 on synaptic in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

    Status: Open => Needs information

marcobra (Marco Braida) requested for more information:
You need to dress the line 54 of the file /etc/apt/sources.list
contents.

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see
nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list +54

Please copy and paste the entire file contents here.

Hope this helps

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list

go to at the end of the file and change the line:

deb http://archive.canonical/lucid partner

to

deb http://archive.canonical.com/ubuntu lucid partner

Save and exit

Hope this helps

Revision history for this message
tobyone (tobyone56) said :
#6

So what you are saying is the CD's from England are unsupported or a restricted
version. What if I reinstall this version and update after I get the Update
Manager working again, would that work?

________________________________
From: tobyone <email address hidden>
To: <email address hidden>
Sent: Fri, July 16, 2010 10:57:28 AM
Subject: Re: [Question #117856]: Synaptic package manager error message in 10.04

Your question #117856 on synaptic in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

    Status: Needs information => Open

You gave more information on the question:
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid
main restricted
# 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 main restricted

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

________________________________
From: marcobra (Marco Braida) <email address hidden>
To: <email address hidden>
Sent: Thu, July 15, 2010 1:58:06 PM
Subject: Re: [Question #117856]: Synaptic package manager error message in 10.04

Your question #117856 on synaptic in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

    Status: Open => Needs information

marcobra (Marco Braida) requested for more information:
You need to dress the line 54 of the file /etc/apt/sources.list
contents.

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see
nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list +54

Please copy and paste the entire file contents here.

Hope this helps

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

You received this question notification because you are a direct
subscriber of the question.

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

No what i say is to dress the last line of the /etc/apt/sources.list file to solve your issue...

I repeat here:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list

go to at the end of the file and change the line:

deb http://archive.canonical/lucid partner

to

deb http://archive.canonical.com/ubuntu lucid partner

Save and exit

Hope this helps

Revision history for this message
tobyone (tobyone56) said :
#8

Your solution worked perfectly. Thanks for taking care of the problem.

________________________________
From: marcobra (Marco Braida) <email address hidden>
To: <email address hidden>
Sent: Fri, July 16, 2010 11:27:27 AM
Subject: Re: [Question #117856]: Synaptic package manager error message in 10.04

Your question #117856 on synaptic in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

    Status: Open => Answered

marcobra (Marco Braida) proposed the following answer:
No what i say is to dress the last line of the /etc/apt/sources.list
file to solve your issue...

I repeat here:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see
nothing when you type it, then press enter)

sudo gedit /etc/apt/sources.list

go to at the end of the file and change the line:

deb http://archive.canonical/lucid partner

to

deb http://archive.canonical.com/ubuntu lucid partner

Save and exit

Hope this helps

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856/+confirm?answer_id=6

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#9

So please close this question by visit the question link

https://answers.launchpad.net/ubuntu/+source/synaptic/+question/117856

with your browser and mark it as solved

Revision history for this message
tobyone (tobyone56) said :
#10

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