Update Manager Error Ubuntu 12.04

Asked by Alejandro Da Lozzo

After installing Libreoffice 3.6.1, I had the following problem.

"Failed to initialize the package information

Had a problem impossible to correct when initializing the package information.

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

'E: Type' b-src "known on line 1 in source list / etc / apt / sources.list.d / libreoffice-libreoffice-prereleases-precise.list '"

What can I do?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:

This question was reopened

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

Can you give the output of:

cat /etc/apt/sources.list.d/libreoffice-libreoffice-prereleases-precise.list; lsb_release -a; uname -a

Thanks

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

Hi ,

It tells you where is the mistake.

""E: Type' b-src "known on line 1 in source list / etc / apt / sources.list.d / libreoffice-libreoffice-prereleases-precise.list '"""

So you must open this file and correct the mistake.

'b-src' is not right.

The correct is 'deb-src'

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gksudo gedit /etc/apt/sources.list.d/libreoffice-libreoffice-prereleases-precise.list
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

and change 'b-src' to 'deb-src'

Thanks

Revision history for this message
Alejandro Da Lozzo (adalozzo-o) said :
#3

Thanks NikTh, that solved my question.

Revision history for this message
Alejandro Da Lozzo (adalozzo-o) said :
#4

NikTh: you are a genius!! Thank you very much!
However, now I get this message:

The action may require the installation of packages from unauthenticated sources.
gir1.2-mutter-3.0 libmutter0 mutter-common

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

Can you give the output of:

sudo apt-get update

Thanks

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

Can you give the output of:

sudo apt-get update

Thanks

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

Sorry for double post....

Revision history for this message
Alejandro Da Lozzo (adalozzo-o) said :
#8

W: GPG error: http://ppa.launchpad.net required Release: The following signatures could not be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
W: Failed to fetch cdrom :/ / Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) / dists/oneiric/main/binary-i386/Packages Please use 'apt-cdrom' to make this CD recognized by APT. You can not use 'apt-get update "to add new CDs

W: Failed to fetch cdrom :/ / Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) / dists/oneiric/restricted/binary-i386/Packages Please use 'apt-cdrom' to make this CD recognized by APT. You can not use 'apt-get update "to add new CDs

W: Failed to fetch http://ppa.launchpad.net/gloobus-dev/covergloobus/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. Have been ignored, or old ones used instead

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

http://ppa.launchpad.net/gloobus-dev/covergloobus/ubuntu/dists/
The covergloobus PPA doesn't support support Precise so is no value to you and should be removed. If you also run:

gksudo gedit /etc/apt/sources.list and comment out the top 3 lines (referencing the CD media) then you will not get the errors you are seeing.

Revision history for this message
Alejandro Da Lozzo (adalozzo-o) said :
#10

I removed covergloobus PPA.
I removed the top 3 lines referencing the CD media.
But I still get the same error:

The action may require the installation of packages from unauthenticated sources.

gir1.2-mutter-3.0 libmutter0 mutter-common

??

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#11

Hi ,

I am not sure but i think this is another problem from your original.

Open a terminal and run this commands with order. It will be better to copy them from here and paste to terminal for more accuracy.

++++++++++++++++++++++++++++++++++++
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
sudo apt-key update
sudo apt-get dist-upgrade
++++++++++++++++++++++++++++++++++++

and give here any errors

Thanks

Revision history for this message
Alejandro Da Lozzo (adalozzo-o) said :
#12

NikTh: as I said previously you're the best!!!