uppdateringsproblem (löst)

Frågor om LiveCDn samt installation och uppgradering av Ubuntu och dess varianter
lillolle
Inlägg: 36
Blev medlem: 08 apr 2007, 19:12
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Ort: Finland

uppdateringsproblem (löst)

Inlägg av lillolle »

När jag vill starta uppdateringshanteraren får jag följande meddelande:

"Ett problem utan lösning inträffade vid initiering av paketinformationen.
Rapportera det här felet mot paketet "update-manager" och inkludera följande felmeddelande:
'E:Rad 55 i källistan /etc/apt/sources.list har fel format (typ), E:Listan över källor kunde inte läsas.' "

Försökte även med "sudo apt-get update" i terminalen men får ett "E: Rad 55 i källistan /etc/apt/sources.list har fel format (typ)"

Läser listan med kommandot "gedit kate /etc/apt/sources.list" i terminalen och på rad 55 står det "[A[A"

Sen blev det stopp!
Har nån nån aning om vad jag nu borde göra.

P.S Ni får gärna vara övertydliga. Jag är inte så bra på det hår som det verkar, försökte bara fatta mig kort ;)
Senast redigerad av 1 lillolle, redigerad totalt 23 gånger.
Användarvisningsbild
xtr3m3
Inlägg: 2108
Blev medlem: 23 feb 2009, 05:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Mora

Re: uppdateringsproblem

Inlägg av xtr3m3 »

Gör så här i terminalen:

Kod: Markera allt

gedit /etc/apt/sources.list
Kopiera hela listan och lägg upp den här.
Bild
lillolle
Inlägg: 36
Blev medlem: 08 apr 2007, 19:12
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Ort: Finland

Re: uppdateringsproblem

Inlägg av lillolle »

#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fi.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid-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://fi.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fi.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid-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://fi.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid-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://fi.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

[A[A
c
Användarvisningsbild
xtr3m3
Inlägg: 2108
Blev medlem: 23 feb 2009, 05:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Mora

Re: uppdateringsproblem

Inlägg av xtr3m3 »

Ok. Tror jag vet vad felet är.
Öppna terminalen och skriv:

Kod: Markera allt

gksu gedit /etc/apt/sources.list
Ange ditt lösenord (det syns inte när du skriver det).

Längst ner tar du bort:

Kod: Markera allt

[A[A
c
Sen är det bara att spara. Stänga ner det och köra:

Kod: Markera allt

sudo apt-get update
Sen borde det fungera :)
Bild
lillolle
Inlägg: 36
Blev medlem: 08 apr 2007, 19:12
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Ort: Finland

Re: uppdateringsproblem

Inlägg av lillolle »

yes allt ok :D
Användarvisningsbild
xtr3m3
Inlägg: 2108
Blev medlem: 23 feb 2009, 05:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Mora

Re: uppdateringsproblem (löst)

Inlägg av xtr3m3 »

Va bra :)
Glöm inte att markera tråden som löst.
Bild
Skriv svar

Återgå till "Installation och uppgradering"