update manager bug-Error opening cache. list of sources cannot be read

Bug #302625 reported by Ashwin
2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

The error given is:

Could not initialize the package information

A unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type '--23:25:19--' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list, E:The list of sources could not be read.'

i am using::
Ubuntu 8.04
                - the Hardy Heron - released in April 2008

its not opening synaptic also, if i open synaptics and enter password it again gives above error.

it happened when i was trying to install adobe acrobat reader ., using medibuntu repositories..

it doesnt allow me to install anything , and also displays red icon in right corner of panel displaying error.
cant even recover it from recovery mode gives same error.

Revision history for this message
Ian Weisser (ian-weisser) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please delete line 1 of /etc/apt/sources.list.d/medibuntu.list and try again.
If it works, please close the bug (or say so and I will close it for you)
If it doesn't work, please attach -don't paste- your /etc/apt/sources.list.d/medibuntu.list file to this bug.

Thanks in advance

Revision history for this message
Ashwin (ashwinraut1988) wrote :

hi, i tried deleting 1st line , now it gives error in 2nd line '=>hardy.list'
and the same thing continues.

I am attaching my file /etc/apt/sources.list.d/medibuntu.list.

Revision history for this message
Ian Weisser (ian-weisser) wrote :

Replace the entire /etc/apt/sources.list.d/medibuntu.list file with the one I have attached. Do not keep the old one - it is not valid.

Of course, the one I have attached is for Hardy. You may need to substitute 'hardy' with 'intrepid' if you are running 8.10.

Please let me know if that works.

Revision history for this message
Ashwin (ashwinraut1988) wrote :

Thank you very much..

 it works, my pacakage manager stopped giving error.
and its working fine now.

after i installed all repositories i got a error at last :

W: GPG error: http://packages.medibuntu.org hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783

but it didnt seem to create any problem, everything is working fine as usual.

Revision history for this message
Ian Weisser (ian-weisser) wrote :

Closing this bug based on your last comment that the problem is resolved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.