Bug "Could not initialize the package information "

Asked by Bob

Could not initialize the package information

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:Type '[Oracle Repository]' is not known on line 54 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
enubuntu
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

cat /etc/apt/sources.list | head -n 55 | tail -n 3; echo; lsb_release -a

Thanks

Revision history for this message
Bob (ms-dhillon) said :
#2

deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
[Oracle Repository]
[Oracle Repository]

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid

Thanks

Revision history for this message
Best enubuntu (mr.tennents) said :
#3

Ok, do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list

3. Now, in the text editor, change this line:
[Oracle Repository]
[Oracle Repository]

into this:
# [Oracle Repository]
# [Oracle Repository]

Then save and close.

4. In the terminal now run:
sudo apt-get update

5. Try to update now with update manager.

Revision history for this message
Bob (ms-dhillon) said :
#4

Thanks, Update manger worked now!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Teamwork prevails :)