source.list

Installazione, configurazione e uso di programmi e strumenti.
maxmike76
Prode Principiante
Messaggi: 117
Iscrizione: domenica 8 novembre 2009, 13:35

source.list

Messaggio da maxmike76 »

salve
ho fatto molto probabilmente una c.....a con i repository aggiungedone uno.
adesso non riesco più ad aprire il gestore pacchetti, quando lo apro mi da un messaggio di errore.
praticamente mi dice che la riga 59 di source.list è errata.
ho provato ad aprirlo con il terminale ma mi da un file bianco :'(
che faccio?
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: source.list

Messaggio da maxbigsi »

nel terminale dai questo comando

Codice: Seleziona tutto

cat -n /etc/apt/sources.list
posta qui il risultato
Ultima modifica di maxbigsi il martedì 4 gennaio 2011, 19:02, modificato 1 volta in totale.
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
maxmike76
Prode Principiante
Messaggi: 117
Iscrizione: domenica 8 novembre 2009, 13:35

Re: source.list

Messaggio da maxmike76 »

maxmike76@maxmike76-desktop:~$ cat -n /etc/apt/sources.list
    1 # deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007.1)]/ maverick 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://it.archive.ubuntu.com/ubuntu/ maverick main restricted
    6 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick main restricted
    7
    8 ## Major bug fix updates produced after the final release of the
    9 ## distribution.
    10 deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
    11 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://it.archive.ubuntu.com/ubuntu/ maverick universe
    17 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick universe
    18 deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe
    19 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-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://it.archive.ubuntu.com/ubuntu/ maverick multiverse
    27 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
    28 deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
    29 deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
    30
    31 ## Uncomment the following two lines to add software from the 'backports'
    32 ## repository.
    33 ## N.B. software from this repository may not have been tested as
    34 ## extensively as that contained in the main release, although it includes
    35 ## newer versions of some applications which may provide useful features.
    36 ## Also, please note that software in backports WILL NOT receive any review
    37 ## or updates from the Ubuntu security team.
    38 # deb http://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    39 # deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    40
    41 ## Uncomment the following two lines to add software from Canonical's
    42 ## 'partner' repository.
    43 ## This software is not part of Ubuntu, but is offered by Canonical and the
    44 ## respective vendors as a service to Ubuntu users.
    45 # deb http://archive.canonical.com/ubuntu maverick partner
    46 # deb-src http://archive.canonical.com/ubuntu maverick partner
    47
    48 ## This software is not part of Ubuntu, but is offered by third-party
    49 ## developers who want to ship their latest software.
    50 deb http://extras.ubuntu.com/ubuntu maverick main
    51 deb-src http://extras.ubuntu.com/ubuntu maverick main
    52
    53 deb http://security.ubuntu.com/ubuntu maverick-security main restricted
    54 deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
    55 deb http://security.ubuntu.com/ubuntu maverick-security universe
    56 deb-src http://security.ubuntu.com/ubuntu maverick-security universe
    57 deb http://security.ubuntu.com/ubuntu maverick-security multiverse
    58 deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
    59 deb Index of /yavdr/stable-vdr/ubuntu maveric meerkat
    60 deb-src Index of /yavdr/stable-vdr/ubuntu maveric meerkat
maxmike76@maxmike76-desktop:~$
maxmike76
Prode Principiante
Messaggi: 117
Iscrizione: domenica 8 novembre 2009, 13:35

Re: source.list

Messaggio da maxmike76 »

infatti la 59 è quella che ho aggiunto io
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: source.list

Messaggio da maxbigsi »

dai

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
ed elimini le righe 59 e 60 salva e chiudi e dopo dai

Codice: Seleziona tutto

sudo apt-get update
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
maxmike76
Prode Principiante
Messaggi: 117
Iscrizione: domenica 8 novembre 2009, 13:35

Re: source.list

Messaggio da maxmike76 »

risolto
non mi ero accorto che in alto a destra avevo un segnale di errore, ho cliccato con il tasto destro, preferenze e poi ho cancellato i repository errati.
grazie
tempesta74
Prode Principiante
Messaggi: 246
Iscrizione: giovedì 26 febbraio 2009, 1:40

Re: source.list

Messaggio da tempesta74 »

maxmike76 ha scritto: praticamente mi dice che la riga 59 di source.list è errata.
ho provato ad aprirlo con il terminale ma mi da un file bianco :'(
che faccio?
il nome corretto del file è sources.list

digita:

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
e correggi quello che devi correggere
Ubuntu User #31836
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: source.list

Messaggio da maxbigsi »

bene, metti risolto nel titolo del primo post  ... e poi quando posti file lunghi come il sources.list mettilo dentro il simbolo # che trovi sopra le faccine  ;)
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti