RISOLTO"La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)"

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
enrico7
Prode Principiante
Messaggi: 72
Iscrizione: giovedì 22 luglio 2010, 17:22

RISOLTO"La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)"

Messaggio da enrico7 »

Buongiorno a tutti, sono appena entrato nel mondo linux.
Ho appena installato ubuntu 10.04 ma quando sono andato ad installare JAVA mi ha dato questo errore:

"E: La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)"

Sono andato a vedere la sources list e dentro c'è:

    1 #
    2 # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100427.1)]/ lucid main restricted

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

    6 deb http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
    7 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted

    8 ## Major bug fix updates produced after the final release of the
    9 ## distribution.
   10 deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
   11 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

   12 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
   13 ## team. Also, please note that software in universe WILL NOT receive any
   14 ## review or updates from the Ubuntu security team.
   15 deb http://it.archive.ubuntu.com/ubuntu/ lucid universe
   16 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid universe
   17 deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
   18 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe

   19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
   20 ## team, and may not be under a free licence. Please satisfy yourself as to
   21 ## your rights to use the software. Also, please note that software in
   22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
   23 ## security team.
   24 deb http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
   25 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
   26 deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
   27 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

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

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

   43 deb http://security.ubuntu.com/ubuntu lucid-security main restricted
   44 deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
   45 deb http://security.ubuntu.com/ubuntu lucid-security universe
   46 deb-src http://security.ubuntu.com/ubuntu lucid-security universe
   47 deb http://security.ubuntu.com/ubuntu lucid-security multiverse
   48 deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
   49 deb http://archive.canonical.com/lucid partner
   50 deb http://archive.canonical.com/lucid partner
   51 deb http://archive.canonical.com/lucid partner
   52 deb http://archive.canonical.com/ lucid partner
   53 deb http://archive.canonical.com/ lucid partner
   54 deb http://archive.canonical.com/ lucid partner


Tenendo conto che non sò come modificare la sources.list (tipo eliminare righe o altro), qualcuno è in grado di risolvere questo problema? (Ho assoluto bisogno della Java JRE)

Grazie già da ora della disponibilità!

Enrico
Ultima modifica di enrico7 il venerdì 23 luglio 2010, 18:29, modificato 1 volta in totale.
Avatar utente
Alka-Seltzer PLUS
Rampante Reduce
Rampante Reduce
Messaggi: 8887
Iscrizione: venerdì 18 settembre 2009, 13:29
Desktop: Unity + Gnome flashback
Distribuzione: Ubuntu 16.04 & 14.04 64bit

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da Alka-Seltzer PLUS »

49   deb http://archive.canonical.com/lucid partner
   50   deb http://archive.canonical.com/lucid partner
   51   deb http://archive.canonical.com/lucid partner
   52   deb http://archive.canonical.com/ lucid partner
   53   deb http://archive.canonical.com/ lucid partner
   54   deb http://archive.canonical.com/ lucid partner
Ciao !

Qui c' è troppa roba ;D

Edita quel file dando da terminale ( applicazioni -> accessori -> terminale ) il comando:

Codice: Seleziona tutto

gksudo gedit /etc/apt/sources.list
inserisci la tua password ed elimina le righe dalla 49 alla 53 ( incluse ), salva il file e dai

Codice: Seleziona tutto

sudo apt-get update
Ti posto un sources.list "ordinato" per il tuo PC ( ci hai messo mano ? ):

cat /etc/apt/sources.list

Codice: Seleziona tutto

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

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://it.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://it.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://it.archive.ubuntu.com/ubuntu/ lucid universe
deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://it.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://it.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://it.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-src http://it.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
| MB: ASUS M3A78 PRO | CPU: AMD Phenom II X4 940 BE | RAM: G-SKILL 8GB 800 MHz | VGA: Sapphire ATI HD 5770 | HD: SSD SAMSUNG 850 EVO + WDC WD10EACS-00DS | Optical drive: NEC SATA AD-7201 Lightscribe | Monitor: ASUS MK221H 22' | Speakers: Majestic HTS 221 | Case: Coolermaster ELITE 335 | Power supply: EVGA SuperNova 550 GS V2 | OS: Ubuntu 16.04 64 bit + Ubuntu Linux 14.04 64bit |
Avatar utente
Alka-Seltzer PLUS
Rampante Reduce
Rampante Reduce
Messaggi: 8887
Iscrizione: venerdì 18 settembre 2009, 13:29
Desktop: Unity + Gnome flashback
Distribuzione: Ubuntu 16.04 & 14.04 64bit

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da Alka-Seltzer PLUS »

In sostanza puoi svuotare completamente il tuo ed inserire quello che ti ho proposto in codice :)
| MB: ASUS M3A78 PRO | CPU: AMD Phenom II X4 940 BE | RAM: G-SKILL 8GB 800 MHz | VGA: Sapphire ATI HD 5770 | HD: SSD SAMSUNG 850 EVO + WDC WD10EACS-00DS | Optical drive: NEC SATA AD-7201 Lightscribe | Monitor: ASUS MK221H 22' | Speakers: Majestic HTS 221 | Case: Coolermaster ELITE 335 | Power supply: EVGA SuperNova 550 GS V2 | OS: Ubuntu 16.04 64 bit + Ubuntu Linux 14.04 64bit |
Avatar utente
il_muflone
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18878
Iscrizione: venerdì 1 maggio 2009, 15:31
Desktop: GNOME Shell
Distribuzione: Arch Linux x86_64
Località: Profondo sud
Contatti:

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da il_muflone »

hai numerato male le righe :D
devi contare anche quelle vuote
http://www.muflone.com - I miei contatti e i miei progetti - La guida completa a VirtualBox
Non mandatemi messaggi privati per chiedere aiuto, li cancello senza rispondere nemmeno.
Avatar utente
Alka-Seltzer PLUS
Rampante Reduce
Rampante Reduce
Messaggi: 8887
Iscrizione: venerdì 18 settembre 2009, 13:29
Desktop: Unity + Gnome flashback
Distribuzione: Ubuntu 16.04 & 14.04 64bit

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da Alka-Seltzer PLUS »

il_muflone ha scritto: hai numerato male le righe :D
devi contare anche quelle vuote
Sì: su per giù ce la dovremmo fare associando il numero alle righe da cancellare ;D
| MB: ASUS M3A78 PRO | CPU: AMD Phenom II X4 940 BE | RAM: G-SKILL 8GB 800 MHz | VGA: Sapphire ATI HD 5770 | HD: SSD SAMSUNG 850 EVO + WDC WD10EACS-00DS | Optical drive: NEC SATA AD-7201 Lightscribe | Monitor: ASUS MK221H 22' | Speakers: Majestic HTS 221 | Case: Coolermaster ELITE 335 | Power supply: EVGA SuperNova 550 GS V2 | OS: Ubuntu 16.04 64 bit + Ubuntu Linux 14.04 64bit |
enrico7
Prode Principiante
Messaggi: 72
Iscrizione: giovedì 22 luglio 2010, 17:22

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da enrico7 »

Copiando il codice ha funzionato tutto alla perfezione... SEI UN GRANDE!

Non è che giacchè sai come installare (o dove trovare le istruzioni) di:
-MySQL
-Android SDK


ti dovrebbero fare santo subito!
mille grazie!
Avatar utente
Alka-Seltzer PLUS
Rampante Reduce
Rampante Reduce
Messaggi: 8887
Iscrizione: venerdì 18 settembre 2009, 13:29
Desktop: Unity + Gnome flashback
Distribuzione: Ubuntu 16.04 & 14.04 64bit

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da Alka-Seltzer PLUS »

No :)

Cerca nel forum ;)

Metti risolto nel titolo del tuo primo post !
| MB: ASUS M3A78 PRO | CPU: AMD Phenom II X4 940 BE | RAM: G-SKILL 8GB 800 MHz | VGA: Sapphire ATI HD 5770 | HD: SSD SAMSUNG 850 EVO + WDC WD10EACS-00DS | Optical drive: NEC SATA AD-7201 Lightscribe | Monitor: ASUS MK221H 22' | Speakers: Majestic HTS 221 | Case: Coolermaster ELITE 335 | Power supply: EVGA SuperNova 550 GS V2 | OS: Ubuntu 16.04 64 bit + Ubuntu Linux 14.04 64bit |
enrico7
Prode Principiante
Messaggi: 72
Iscrizione: giovedì 22 luglio 2010, 17:22

RISOLTO "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)"

Messaggio da enrico7 »

GRAZIE!
Avatar utente
Alka-Seltzer PLUS
Rampante Reduce
Rampante Reduce
Messaggi: 8887
Iscrizione: venerdì 18 settembre 2009, 13:29
Desktop: Unity + Gnome flashback
Distribuzione: Ubuntu 16.04 & 14.04 64bit

Re: "La riga 57 nel file /etc/apt/sources.list non è corretta (dist parse)" AIUTO!!!

Messaggio da Alka-Seltzer PLUS »

Alka-Seltzer PLUS ha scritto: No :)

Cerca nel forum ;)

Metti risolto nel titolo del tuo primo post !
#2 ;D
| MB: ASUS M3A78 PRO | CPU: AMD Phenom II X4 940 BE | RAM: G-SKILL 8GB 800 MHz | VGA: Sapphire ATI HD 5770 | HD: SSD SAMSUNG 850 EVO + WDC WD10EACS-00DS | Optical drive: NEC SATA AD-7201 Lightscribe | Monitor: ASUS MK221H 22' | Speakers: Majestic HTS 221 | Case: Coolermaster ELITE 335 | Power supply: EVGA SuperNova 550 GS V2 | OS: Ubuntu 16.04 64 bit + Ubuntu Linux 14.04 64bit |
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti