Kan ikke installere programmer og updatere systemet (løst)

Her kan du få hjælp til installationen af Ubuntu.
Klop
Indlæg: 74
Tilmeldt: 24. feb 2008, 21:38

Kan ikke installere programmer og updatere systemet (løst)

Indlæg af Klop »

Hej
Når jeg åbner "add/remove" i menuen får jeg følgende fejlmelding:

"Failed to check for installed and available applications

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'."

Når jeg åbner synaptic, får jeg følgende fejlmelding:

E: Malformed line 48 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

Jeg har forsøgt med 'sudo apt-get update' og 'sudo apt-get install -f', med følgende resultat:

klop@klop-laptop:~$ sudo apt-get update
[sudo] password for klop:
E: Malformed line 48 in source list /etc/apt/sources.list (dist parse)
klop@klop-laptop:~$ sudo apt-get install -f
E: Malformed line 48 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
klop@klop-laptop:~$

Problemet er opstået i forbindelse med installation af "Crossover".

Nogen ideer til hvad der er gået galt? og endnu vigtigere, hvordan jeg kan fikse det :D

P.s. Jeg vil gerne undskylde at I får fejlmeldingerne på engelsk, men systemet vil nu heller ikke ændre sprog
Senest rettet af Klop 29. sep 2009, 23:23, rettet i alt 1 gang.
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Christian.Arvai »

Hej

Prøv denne kommando :

Kode: Vælg alt

sudo dpkg --configure -a && sudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade
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
Klop
Indlæg: 74
Tilmeldt: 24. feb 2008, 21:38

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Klop »

Tak for det hurtige svar.

Desværre ser det ikke ud til at virke:

klop@klop-laptop:~$ sudo dpkg --configure -a && sudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade
[sudo] password for klop:
E: Malformed line 48 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
klop@klop-laptop:~$
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Christian.Arvai »

Prøv at gå ind i : Filsystem/etc/apt/sources.list , åben den med tekstredigering og send hele indholdet herind.

Hvad har du i system>administration>softwarekilder>tredjeparts-software ?
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
Klop
Indlæg: 74
Tilmeldt: 24. feb 2008, 21:38

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Klop »

Fra sourcelist:

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://dk.archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://dk.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://dk.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://dk.archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://dk.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://dk.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://dk.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb http://www.bunkus.org/ubuntu/jaunty/ ./
deb-src http://www.bunkus.org/ubuntu/jaunty/ ./
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free
deb http://svn.deluge-torrent.org/branches/1.1.0_RC deluge

Fra tredjeparts software:
http://archive.canonical.com/ubuntu jaunty partner
http://archive.canonical.com/ubuntu jaunty partner (source code)
http://www.bunkus.org/ubuntu/jaunty/ ./
http://www.bunkus.org/ubuntu/jaunty/ ./ (Source code)
http://dl.google.com/linux/deb/ stable non free
http://dl.google.com/linux/deb/ testing non free
http://svn.deluge-torrent.org/branches/1.1.0_RC deluge
Medibuntu - Ubuntu 9.04 "jaunty jackalope" free non-free
Medibuntu (source) - Ubuntu 9.04 "jaunty jackalope" free non-free (source code)
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Christian.Arvai »

Prøv at gå ind i terminalen og skriv :

Kode: Vælg alt

gksu gedit


Vælg "Åben"
Gå ind i : Filsystem/etc/apt/sources.list
Fjern linien : deb http://svn.deluge-torrent.org/branches/1.1.0_RC deluge
Vælg "Gem"
Luk vinduet igen

Og kør så denne kommando :

Kode: Vælg alt

sudo dpkg --configure -a && sudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade
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
Klop
Indlæg: 74
Tilmeldt: 24. feb 2008, 21:38

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Klop »

Yes!! Så virker det igen!
Ved update slutter den dog med:

Reading package lists... Done
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Nogen forslag til hvad det betyder?
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Christian.Arvai »

Du mangler en key til Google, du kan hente den med denne kommando :

Kode: Vælg alt

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A040830F7FAC5991
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
Klop
Indlæg: 74
Tilmeldt: 24. feb 2008, 21:38

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Klop »

Tusind tak!! Rart man altid kan regne med dig Christian. Nu spiller alt igen.
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Kan ikke installere programmer og updatere systemet

Indlæg af Christian.Arvai »

Det var så lidt, jeg får altså ofte hjælp fra folk jeg kender til at løse div. spørgsmål, så det er ikke fordi at jeg kan løse alting selv :)


PS : Kan du ikke lige gå ind på dit første indlæg og redigere overskriften ved at tilføje (Løst)
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