sudo gedit /etc/apt/sources.list...
ecco il risultato
# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu trusty main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty-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://archive.ubuntu.com/ubuntu trusty universe
deb-src http://archive.ubuntu.com/ubuntu trusty universe
deb http://archive.ubuntu.com/ubuntu trusty-updates universe
deb-src http://archive.ubuntu.com/ubuntu trusty-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://archive.ubuntu.com/ubuntu trusty multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-updates multiverse
## 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://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted
deb http://archive.ubuntu.com/ubuntu trusty-security universe
deb-src http://archive.ubuntu.com/ubuntu trusty-security universe
deb http://archive.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-security 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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
ha risposto
23 Feb '15, 19:19
alemonza
20●1●1●3
Riesci a navigare in internet con Ubuntu? Mi viene il dubbio che tu sia bloccato da qualche server proxy.
E come faccio a verificarlo? Io non ho nessun proxy impostato. Che sia qualche impostazione del modem router?
Apri Software e aggiornamenti → Software per Ubuntu → Scaricare da e seleziona Server principale o Server in Italia.
Quindi riprova con:
Potrebbe essere una stupidata quella che sto per dire, ma cercando su internet le informazioni riguardo alla riga:
i risultati sono unicamente pagine a dominio .ru (Russia) :/
Hai modificato i tuoi repository?
Oppure stai usando qualche particolare DNS? Potresti aver impostato un server DNS nel router.
O sei forse dietro una rete aziendale?
Il server l'ho già cambiato più volte... ma nessun risultato. E' la mia rete di casa. Ho povato anche a settare qualche DNS nel router, ma nulla! Con o senza non c'è differenza.
Spero di essere riuscito a spiegare il problema. Ho installato ubuntu e durante l'installazione non è riuscito neppure a scaricare il pacchetto delle lingue: ho scelto i menu in italiano e li ho ancora in inglese. Non fa aggiornamenti e non scarica applicazioni. Ma in internet vado correttamente. Non ho proxy settati. Boh. Devo provare un altra distribuzione per vedere se i problemi si ripresentano comunque?
Puoi fare una prova da Live (selezioni "Prova" una volta avviato il DVD o la USB di installazione) senza installare nulla, e vedere se il comando:
ti dà lo stesso errore.
Penso comunque che il problema sia della tua rete e che un server proxy non ti permetta di fare ricerche tramite apt, quindi:
Oppure qualche impostazione nel router ti blocca la connessione. Non penso sia un problema di Ubuntu.
non sono dietro una rete aziendale, è una rete casalinga normale e sono connesso al modem router adsl direttamente (normalmente ho uno switch wireless dopo il router, ma, quando ho visto che avevo dei problemi, l'ho tolto per verificare che non fosse lui la causa) Se è utile posso postare il risultato di ifconfig o route...
Per verificare che la connessione funzioni correttamente, basta che apri un terminale e scrivi
ping www.google.it
(Da tastiera Ctrl+c per terminare il comando) Se vedi che non riceve nessun pacchetto vuol dire che la rete non funziona.
Comunque prova ad aprire "Ubuntu Software Center", poi nella barra "in alto" clicca su Modifica/Sorgenti software.
Arrivato a questo punto (alla voce "Scaricare da") prova a cambiare da "Server in Italia" a "Server principale"... E prova a riscrivere il comando apt-get update.
La connessione funziona. Mi collego a internet normalmente e posso pingare tutti i siti. Come ho scritto sopra ho già provato più volte a cambiare il server da cui scaricare (main server, server italia, svizzera...) ma non è cambiato nulla.
Puoi incollarmi qui il contenuto di sources.list?
Da terminale:
sudo gedit /etc/apt/sources.list
Adesso sono al lavoro. Stasera quando torno te lo posto.