Fejlmeddelelse: Could not initialize the package information

Alle tekniske spørgsmål som ikke hører ind under de andre fora.
kristenhofgaard
Indlæg: 5
Tilmeldt: 17. maj 2012, 13:56
Geografisk sted: København V

Fejlmeddelelse: Could not initialize the package information

Indlæg af kristenhofgaard »

Hej folkens
En fejlmeddelelse i notifications-området rapporterer om en fejl jeg ikke kan forstå. Den dukker også op når jeg forsøger at åbne updatemanageren, synaptic og softwarecentret (som slet ikke vil åbne).
Håber virkelig nogen kan hjælpe. Jeg er ikke inde i terminal-kodesprog så jeg vil sætte stor pris på en tydelig forklaring.
Mange tak
vh Kristen

Har for få dage siden installeret UbuntuStudio 12.04 LTS 32bit

Fejlteksten når jeg åbner update-managerenr:
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:

'W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/restricted i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages), W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages), E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en%5fUS, E:The package lists or status file could not be parsed or opened.'


Fejltekst når jeg åbner synaptic package manager:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en%5fUS
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

W: Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/restricted i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages)
W: Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages)
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af Christian.Arvai »

Hej og velkommen til forum.

Du har, på en eller anden måde, fået tilføjet de samme arkiver flere gange under Opdateringshåndtering>Opsætning>Anden software.

Kode: Vælg alt

W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/restricted i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages), 
W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages),
W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages),
W:Duplicate sources.list entry http://dk.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages (/var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages),

viser at det er følgende som du skal lede efter:

Kode: Vælg alt

precise/restricted
precise/main
precise/multiverse
precise/universe

Så slet dem som der er dubletter af, ved at fjerne fluebenet ud for de enkelte linier, og prøv at opdatere pc'en igen bagefter.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af Christian.Arvai »

Jeg er nysgerrig nu. Har du tilføjet de softwarekilder f.eks. via terminalen eller et script? Som udgangspunkt skal de kun være 1 gang på listen i opdateringshåndteringen, så jeg (vi er så flere herinde) vil gerne vide hvordan det er sket.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
kristenhofgaard
Indlæg: 5
Tilmeldt: 17. maj 2012, 13:56
Geografisk sted: København V

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af kristenhofgaard »

Tak for det hurtige svar!
Der er rigtignok 2 (næsten) ens linier i:
http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu main
og
http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu main (source code)

screenshot af min software source dialogbox
screenshot af min software source dialogbox
Screenshot - anden software - dubletter.png (152.29 KiB) Vist 261 gange


Hvilken skal jeg fjerne flueben fra?

Jeg installerede kdenlive via terminal (indsatte koder jeg knap forstod):

Kode: Vælg alt

sudo add-apt-repository ppa:sunab/kdenlive-release && sudo apt-get update && sudo apt-get install kdenlive

men så gik installationen vist i stå eller der skete et eller andet så jeg blev i tvivl om den nu var installeret ordentligt. derfor prøvede jeg igen med samme kode... troede den kunne finde ud af hvad der manglede...

Mange tak :)
Kristen
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af Christian.Arvai »


Er ikke problemet - (source code) er kildekoden, så det er ikke en dublet.

Prøv at giv os resultatet af:

Kode: Vælg alt

ls /var/lib/apt/lists
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
kristenhofgaard
Indlæg: 5
Tilmeldt: 17. maj 2012, 13:56
Geografisk sted: København V

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af kristenhofgaard »

k@kristen-vega:~$ ls /var/lib/apt/lists
archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages
archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages.IndexDiff
archive.canonical.com_ubuntu_dists_precise_Release
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_main_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_main_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_main_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_main_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_main_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_main_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_Release
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en%5fUS
dk.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise_Release
dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_main_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_main_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_Release
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_source_Sources.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages.IndexDiff
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Index
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Translation-en
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_source_Sources
dk.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_source_Sources.IndexDiff
lock
partial
ppa.launchpad.net_sunab_kdenlive-release_ubuntu_dists_precise_main_binary-i386_Packages
ppa.launchpad.net_sunab_kdenlive-release_ubuntu_dists_precise_main_source_Sources
ppa.launchpad.net_sunab_kdenlive-release_ubuntu_dists_precise_main_source_Sources.IndexDiff
ppa.launchpad.net_sunab_kdenlive-release_ubuntu_dists_precise_Release
security.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_precise-security_main_i18n_Index
security.ubuntu.com_ubuntu_dists_precise-security_main_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_precise-security_main_source_Sources
security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Index
security.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_precise-security_multiverse_source_Sources
security.ubuntu.com_ubuntu_dists_precise-security_multiverse_source_Sources.IndexDiff
security.ubuntu.com_ubuntu_dists_precise-security_Release
security.ubuntu.com_ubuntu_dists_precise-security_Release.gpg
security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_precise-security_restricted_i18n_Index
security.ubuntu.com_ubuntu_dists_precise-security_restricted_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_precise-security_restricted_source_Sources
security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-i386_Packages
security.ubuntu.com_ubuntu_dists_precise-security_universe_i18n_Index
security.ubuntu.com_ubuntu_dists_precise-security_universe_i18n_Translation-en
security.ubuntu.com_ubuntu_dists_precise-security_universe_source_Sources
k@kristen-vega:~$
kristenhofgaard
Indlæg: 5
Tilmeldt: 17. maj 2012, 13:56
Geografisk sted: København V

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af kristenhofgaard »

Jeg kan måske tilføje at problemet gentager sig efter genstart hvor der dukker en fejlmeddelelse op og de to ikoner i højre hjørne som det ses på mit skærmbillede i tidligere indlæg.

Jeg håber virkelig nogen kan hjælpe for jeg er helt lost her...
mvh kristen
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af Christian.Arvai »

Mystisk. Jeg kan ikke se at der skulle være fejl i den liste. Jeg må lige tænke lidt over det.

Andre må gerne give et bud i mellemtiden ;)
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
kristenhofgaard
Indlæg: 5
Tilmeldt: 17. maj 2012, 13:56
Geografisk sted: København V

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af kristenhofgaard »

Da jeg ikke kunne løse problemet og ikke havde flyttet rigtigt ind i min UbuntuStudio distro valgte jeg at prøve noget andet. Jeg roder nu med OpenSuse...
Tak for forsøget Christian.

vh
kristen
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af Christian.Arvai »

Det var da så lidt. Hvis du skulle gå tilbage til Ubuntu, så tror jeg at du skal hente en ny isofil, brænde den ved laveste hastighed, og prøve med den.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
Atze
Indlæg: 1
Tilmeldt: 7. sep 2013, 07:46

Re: Fejlmeddelelse: Could not initialize the package informa

Indlæg af Atze »

Prøv dette:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update


Virkede for mig.
Hilsen Atze