Errore apt-get

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
ric18
Prode Principiante
Messaggi: 38
Iscrizione: mercoledì 9 maggio 2007, 15:21

Errore apt-get

Messaggio da ric18 »

Quando da terminale do

Codice: Seleziona tutto

sudo apt-get update
Alla fine mi esce questo messaggio

Codice: Seleziona tutto

W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources  Somma hash non corrispondente

E: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.
Allego il source.list

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty 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/ trusty main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://it.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://it.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://it.archive.ubuntu.com/ubuntu/ trusty universe
deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://it.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://it.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://it.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://it.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.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
Avatar utente
tokijin
Moderatore Globale
Moderatore Globale
Messaggi: 4618
Iscrizione: mercoledì 3 giugno 2009, 23:10
Desktop: plasma 5.27.4
Distribuzione: Kubuntu 23.04
Località: Abruzzo

Re: Errore apt-get

Messaggio da tokijin »

Ciao, controlla se risolvendo come spiegato qui AmministrazioneSistema/RisoluzioneProblemiAggiornamenti#hash risolvi.

Ciao :ciao:

EDIT
ops @daigo, non mi ero accorto del tuo post :)
Sei abbruzzese se dopo che ti sei strafogato un chilogrammo di pasta, hai il coraggio di dire alla cuoca "cacc ch'è cott" - Se entra un piccione in casa..chiudi le finestre!
Ubuntu User #28657 - Il mio vecchio hardware - Tag Codice
daigo

Re: Errore apt-get

Messaggio da daigo »

Codice: Seleziona tutto

sudo perl -p -i.orig -e's/it.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list

Codice: Seleziona tutto

sudo rm -r /var/lib/apt/lists/* && sudo apt-get update
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: corradoventu e 7 ospiti