Pagina 1 di 1

[Risolto] Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 18:53
da DeST
qualcuno mi può aiutare a risolvere questo problema?
sudo apt-get update
E: Tipo "nchpad.net/lubuntu-desktop/ppa/ubuntu" non riconosciuto alla riga 1 nel file /etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list
E: Impossibile leggere l'elenco dei sorgenti.
cosa devo vedere? se provo ad aprire con leafpad /etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list è un file vuoto

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 18:58
da Freddy85
posta

Codice: Seleziona tutto

cat /etc/apt/sources.list

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 18:59
da DeST
eccolo

Codice: Seleziona tutto

cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to



# newer versions of the distribution.







deb cdrom:[Lubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main multiverse restricted universe


deb http://it.archive.ubuntu.com/ubuntu/ oneiric main restricted



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







## Major bug fix updates produced after the final release of the



## distribution.



deb http://it.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted



deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric universe



deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric universe



deb http://it.archive.ubuntu.com/ubuntu/ oneiric-updates universe



deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric multiverse



deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric multiverse



deb http://it.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse



deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-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://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
#deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-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 oneiric partner



deb-src http://archive.canonical.com/ubuntu oneiric partner







## Uncomment the following two lines to add software from Ubuntu's



## 'extras' repository.



## This software is not part of Ubuntu, but is offered by third-party



## developers who want to ship their latest software.



deb http://extras.ubuntu.com/ubuntu oneiric main



deb-src http://extras.ubuntu.com/ubuntu oneiric main







deb http://security.ubuntu.com/ubuntu oneiric-security main restricted



deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted



deb http://security.ubuntu.com/ubuntu oneiric-security universe



deb-src http://security.ubuntu.com/ubuntu oneiric-security universe



deb http://security.ubuntu.com/ubuntu oneiric-security multiverse



deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse



deb http://archive.canonical.com/ lucid partner



deb-src http://archive.canonical.com/ lucid partner





Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:01
da Laycastle
DeST ha scritto:
sudo apt-get update
E: Tipo "nchpad.net/lubuntu-desktop/ppa/ubuntu" non riconosciuto alla riga 1 nel file /etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list
E: Impossibile leggere l'elenco dei sorgenti.

Codice: Seleziona tutto

cat /etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:05
da DeST
ecco

Codice: Seleziona tutto

cat /etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list
nchpad.net/lubuntu-desktop/ppa/ubuntu oneiric main # disabilitato durante l'avanzamento a oneiric
non sto capendo niente... speriamo ^^

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:27
da Laycastle
Ciao,
ora tento di spiegarti.
Le informazioni riguardo i repository (gli archivi web da cui attingi quando installi/aggiorni qualcosa o aggiorni le informazioni sui pacchetti) sono scritte su file ben precisi, il più importante dei quali è

Codice: Seleziona tutto

/etc/apt/sources.list
A questo file vengono aggiunte tutte le informazioni dei file (opzionali) presenti nella cartella /etc/apt/sources.list.d (questi file vengono normalmente separati per una questione d'ordine).

Le righe scritte in tutti questi file devono seguire una rigida sintassi comprensibile dal gestore pacchetti.
Nel file in questione (/etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list) sembra che la riga sia stata troncata

Codice: Seleziona tutto

nchpad.net/lubuntu-desktop/ppa/ubuntu oneiric main # disabilitato durante l'avanzamento a oneiric
durante l'aggiornamento di versione. Ovviamente la riga in questione risulta incomprensibile ad apt che quindi termina con un errore.

Siccome il file non contiene altro oltre alla riga errata (e sarebbe quindi inutile tenere un file vuoto) consiglio di rimuoverlo

Codice: Seleziona tutto

sudo rm /etc/apt/sources.list.d/lubuntu-desktop-ppa-oneiric.list

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:31
da Freddy85
(good) Grande spiegazione Laycastle!

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:42
da DeST
grade ora funziona tutto a dovere... o solo un dubbio

visto le numerose installazioni che ho fatto (e i casini che ho combinato) se volessi fare una ripulita/ripristino del sources.list posso tranquillamente sostituire tutte le righe al suo interno con i valori predefiniti che trovo nel wiki?

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:46
da Laycastle
Si. Devi anche eliminare gli altri file in

Codice: Seleziona tutto

/etc/apt/sources.list.d

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 19:49
da Freddy85
se hai risolto, modifica il titolo del primo post ed inserisci [Risolto] all'inizio del titolo

Re: Impossibile leggere l'elenco dei sorgenti aiuto!!!

Inviato: martedì 13 marzo 2012, 20:06
da DeST
ok grazie un milione dell'aiuto ora metto risolto ^^