Could not initialize the package information

Asked by kpkini

The update manager was cancelled when it was trying to update for the first time after installing Ubuntu. when i try to open the update manager the following error msg is shown .....
E:Type 'ain' is not known on line 63 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

I have tried the following
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

but it again shows the same error
I am using Ubuntu 8.10
                - the Intrepid Ibex - released in October 2008.

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:
Last query:
Last reply:

This question was originally filed as bug #343071.

Revision history for this message
Michael Vogt (mvo) said :
#1

Thanks for your bugreport.

I concert this to a question, please edit the file
/etc/apt/sources.list

and go to line "63" there and put a "#" in front of the line.

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

Open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo gedit /etc/apt/sources.list

give your user password when requested, you don't see nothing when you type it, then press enter.

Go to near the line 63 where there is the 'ain' word and put a "#" in front of that line.

Save and exit, then retry.

Hope this helps

Revision history for this message
kpkini (kpkini) said :
#3

Thanks a lot Michael Vogt and marcobra ... It worked ....

Revision history for this message
kpkini (kpkini) said :
#4

Thanks marcobra, that solved my question.