fejl i linie 57 ( LØST )

Her kan du få hjælp til installationen af Ubuntu.
Sv.Aage
Indlæg: 161
Tilmeldt: 16. jul 2007, 08:46
Geografisk sted: Strandby

fejl i linie 57 ( LØST )

Indlæg af Sv.Aage »

hej med jer

efter forsøg på at få lagt medibuntu ind som kilde i softwarekilder efter opgradering til 9.10

jeg brugte guiden fra feedomnotbeer.dk som jeg også tidligere har gjort og kopieret ind i terminalen

men nu får jeg denne besked når jeg vil åbne eks. opdateringshånteringen

http://img691.imageshack.us/img691/6023/problemb.png

Hvordan får jeg rettet dette ?????
Senest rettet af Sv.Aage 31. okt 2009, 21:16, rettet i alt 1 gang.
zob
Redaktør
Indlæg: 4430
Tilmeldt: 6. jan 2009, 22:01
Geografisk sted: København

Re: fejl i linie 57

Indlæg af zob »

Lad os se følgende.

Kode: Vælg alt

cat -n /etc/apt/sources.list


Jeg ved ikke om du nåede at copy-paste inden jeg fik rettet linjen, men hvis din cursor bare står og blinker, så kopier linjen på ny. Der var en fejl i. Du kan bare taste CTRL+C i terminalen for at standse den proces du har igang.
Sv.Aage
Indlæg: 161
Tilmeldt: 16. jul 2007, 08:46
Geografisk sted: Strandby

Re: fejl i linie 57

Indlæg af Sv.Aage »

det gav følgende

svend@svend-desktop:~$ cat -n /etc/apt/sources.list
1 # deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
3 # newer versions of the distribution.
4
5 deb http://dk.archive.ubuntu.com/ubuntu/ karmic main restricted
6 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
11 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://dk.archive.ubuntu.com/ubuntu/ karmic universe
19 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic universe
20 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-updates universe
21 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic-updates universe
22
23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
24 ## team, and may not be under a free licence. Please satisfy yourself as to
25 ## your rights to use the software. Also, please note that software in
26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
27 ## security team.
28 deb http://dk.archive.ubuntu.com/ubuntu/ karmic multiverse
29 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic multiverse
30 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
31 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
32
33 ## Uncomment the following two lines to add software from the 'backports'
34 ## repository.
35 ## N.B. software from this repository may not have been tested as
36 ## extensively as that contained in the main release, although it includes
37 ## newer versions of some applications which may provide useful features.
38 ## Also, please note that software in backports WILL NOT receive any review
39 ## or updates from the Ubuntu security team.
40 deb http://dk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
41 deb-src http://dk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
42
43 ## Uncomment the following two lines to add software from Canonical's
44 ## 'partner' repository. This software is not part of Ubuntu, but is
45 ## offered by Canonical and the respective vendors as a service to Ubuntu
46 ## users.
47 deb http://archive.canonical.com/ubuntu karmic partner
48
49 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-security main restricted
50 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic-security main restricted
51 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-security universe
52 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic-security universe
53 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-security multiverse
54 deb-src http://dk.archive.ubuntu.com/ubuntu/ karmic-security multiverse
55 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-backports restricted main multiverse universe
56 deb http://dk.archive.ubuntu.com/ubuntu/ karmic-proposed restricted main multiverse universe
57 deb http://dk.archive.ubuntu.com/ubuntu/ karmic main"
svend@svend-desktop:~$ ^C
svend@svend-desktop:~$


Blev du klogere af det ?? Jeg gjorde ikke :-(
zob
Redaktør
Indlæg: 4430
Tilmeldt: 6. jan 2009, 22:01
Geografisk sted: København

Re: fejl i linie 57

Indlæg af zob »

Ok. Der er altså noget helt galt i det der i System->Administration->Softwarekilder hedder "Server for Danmark" (fanebladet Ubuntu-software - midt på siden). Kan jeg få dig til at vælge et andet filspejl her? Klik der hvor der nu står Server for Danmark og vælg andet og find (under Danmark) den der hedder http://ftp.klid.dk/ftp/ubuntu
Sv.Aage
Indlæg: 161
Tilmeldt: 16. jul 2007, 08:46
Geografisk sted: Strandby

Re: fejl i linie 57

Indlæg af Sv.Aage »

det gav dette billede

http://img252.imageshack.us/i/software.png/

og følgende i terminalen

svend@svend-desktop:~$ cat -n /etc/apt/sources.list
1 # deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
3 # newer versions of the distribution.
4
5 deb http://ftp.klid.dk/ftp/ubuntu/ karmic main restricted
6 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic restricted main" main multiverse universe #Added by software-properties
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-updates main restricted
11 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic-updates restricted main multiverse universe #Added by software-properties
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
svend@svend-desktop:~$ cat -n /etc/apt/sources.list
1 # deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
3 # newer versions of the distribution.
4
5 deb http://ftp.klid.dk/ftp/ubuntu/ karmic main restricted
6 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic restricted main" main multiverse universe #Added by software-properties
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-updates main restricted
11 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic-updates restricted main multiverse universe #Added by software-properties
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://ftp.klid.dk/ftp/ubuntu/ karmic universe
19 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://ftp.klid.dk/ftp/ubuntu/ karmic multiverse
27 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-updates multiverse
28
29 ## Uncomment the following two lines to add software from the 'backports'
30 ## repository.
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://dk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
37 deb-src http://dk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository. This software is not part of Ubuntu, but is
41 ## offered by Canonical and the respective vendors as a service to Ubuntu
42 ## users.
43 deb http://archive.canonical.com/ubuntu karmic partner
44
45 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-security main restricted
46 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic-security restricted main multiverse universe #Added by software-properties
47 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-security universe
48 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-security multiverse
49 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-backports restricted main multiverse universe
50 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic-backports restricted main multiverse universe #Added by software-properties
51 deb http://ftp.klid.dk/ftp/ubuntu/ karmic-proposed restricted main multi
verse universe
52 deb-src http://ftp.klid.dk/ftp/ubuntu/ karmic-proposed restricted main multiverse universe #Added by software-properties
53 deb http://ftp.klid.dk/ftp/ubuntu/ karmic main"
svend@svend-desktop:~$ ^C
svend@svend-desktop:~$
zob
Redaktør
Indlæg: 4430
Tilmeldt: 6. jan 2009, 22:01
Geografisk sted: København

Re: fejl i linie 57

Indlæg af zob »

Jeg har en fornemmelse af at den sidste linje er i overskud. Jeg har ikke noget tilsvarende i min sources.list.

Prøv at tage en backup af din sources.list:

Kode: Vælg alt

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup


Og prøv derefter at fjerne den sidste linje fra din sources.list.

Kode: Vælg alt

gksudo gedit /etc/apt/sources.list

Gem og luk og

Kode: Vælg alt

sudo aptitude update


Hvad så?
Sv.Aage
Indlæg: 161
Tilmeldt: 16. jul 2007, 08:46
Geografisk sted: Strandby

Re: fejl i linie 57

Indlæg af Sv.Aage »

Det ser ud til at det virker nu, Mange TAK
zob
Redaktør
Indlæg: 4430
Tilmeldt: 6. jan 2009, 22:01
Geografisk sted: København

Re: fejl i linie 57 ( LØST )

Indlæg af zob »

Cool.