Ho un problema con il sources.list

Installazione, configurazione e uso di programmi e strumenti.
Valerioloi
Prode Principiante
Messaggi: 2
Iscrizione: domenica 5 dicembre 2010, 18:29

Ho un problema con il sources.list

Messaggio da Valerioloi »

Salve a tutti sono nuovo, e anche un pò inesperto,non so se sono nella sezione giusta ma ho un problema:

Non riesco a scaricare nessun programma;
Quando vado nel gestore pacchetti mi esce:

Si è verificato un errore:
E: Tipo "r" non riconosciuto alla riga 1 nel file /etc/apt/sources.list
E: Impossibile leggere l'elenco delle sorgenti.
Correggere il problema nella configurazione del repository.
E: _cache->open() failed, please report.

Mi potete aiutare? grazie in anticipo
Ultima modifica di Stealth il domenica 5 dicembre 2010, 18:46, modificato 1 volta in totale.
bo462
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 872
Iscrizione: sabato 21 giugno 2008, 18:01
Contatti:

Re: Ho un problema con il sources.list

Messaggio da bo462 »

Devi postare il risultato del comando da terminale

Codice: Seleziona tutto

cat /etc/apt/sources.list
usando il bottuncino col cancelletto # sopra il box di composizione dei messaggi,
grazie e possibilmente modificare il titolo del post in maniera più esplicativa, come da regolamento.
Valerioloi
Prode Principiante
Messaggi: 2
Iscrizione: domenica 5 dicembre 2010, 18:29

Re: Ho un problema con il sources.list

Messaggio da Valerioloi »

aspetta..dopo aver scritto il comando cosa devo fare?

Forse ho capito: il risultato dopo aver inserito il comando è :

Codice: Seleziona tutto

r# deb cdrom:[Ubuntu-Netbook 10.04 _Lucid Lynx_ - Release i386 (20100429.4)]/ 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 http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# 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
deb http://getswiftfox.com/builds/debian unstable non-free
Ultima modifica di Valerioloi il domenica 5 dicembre 2010, 19:07, modificato 1 volta in totale.
bo462
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 872
Iscrizione: sabato 21 giugno 2008, 18:01
Contatti:

Re: Ho un problema con il sources.list

Messaggio da bo462 »

Sembra che ci sai una "r" di troppo nel primo rigo (la prima lettera prima del cancelletto)

Codice: Seleziona tutto

r# deb cdrom:[Ubuntu-Netbook 10.04 _Lucid Lynx_ - Release i386 (20100429.4)]/ lucid main restricted
la devi cancellare ma non toccare niente altro
apri il file da terminale così

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
cancelli la r prima del cancelletto nel primo rigo e salvi. SOLO la r niente altro.
dopo sempre da terminale dai

Codice: Seleziona tutto

sudo apt-get update && sudo apt-get upgrade
inserendo la passwd quando te la chiede
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti