[Risolto] Problema con gli aggiornamenti...

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
LittleMo
Prode Principiante
Messaggi: 83
Iscrizione: domenica 17 aprile 2011, 12:58

[Risolto] Problema con gli aggiornamenti...

Messaggio da LittleMo »

Da una settimana ho dei problemi con gli aggiornamenti e mi esce questo:
W:Failed to fetch http://deb.inhatch.com/ubuntu-11.04/dis ... ce/Sources  404  Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.
Si può fare qualcosa? Grazie in anticipo!
Ultima modifica di LittleMo il lunedì 21 novembre 2011, 20:15, modificato 1 volta in totale.
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Problema con gli aggiornamenti...

Messaggio da hellojoker »

togli il repository se non c'è
Avatar utente
gnomo56
Rampante Reduce
Rampante Reduce
Messaggi: 6495
Iscrizione: lunedì 11 dicembre 2006, 19:07
Distribuzione: 13.04
Località: Milano
Contatti:

Re: Problema con gli aggiornamenti...

Messaggio da gnomo56 »

Uno dei problemi più noiosi che potrebbe capitare durante l’utilizzo di Ubuntu, è quello di non riuscire più a “trovare” alcuni dei repository importati.
Digitando il classico “sudo apt-get update” otterrete un errore del tipo:

404 – Not Found

e Ubuntu  consiglierà, per risolvere il problema, di eseguire il comando con il suffisso --fix. Purtroppo neanche questo sarà in grado di ripristinare la situazione e risulterà impossibile aggiornare il sistema. Come risolvere quindi? O aprire Sorgenti Software ed eliminate tutti i PPA che vi causano problemi oppure, semplicemente,  affidarsi ad un comodo script/programmino: fix404.
Fix404 è un semplice tool che verifica la presenza di errori del tipo “404 Not Found” e ripristinerà il tutto disabilitando i PPA che causano il problema. Tutto ciò che dovete fare è scaricare il pacchetto deb (testato su Ubuntu 11.04 e Ubuntu 11.10) ed installarlo. Adesso lanciate lo script digitando:

sudo fix404

e, una volta terminato il processo, tutto sarà completamente sistemato e funzionante!

Tratto da
http://www.chimerarevo.com/2011/11/11/ubuntu-errore-404-not-found-dopo-apt-get-update-ecco-come-risolvere/
LittleMo
Prode Principiante
Messaggi: 83
Iscrizione: domenica 17 aprile 2011, 12:58

Re: Problema con gli aggiornamenti...

Messaggio da LittleMo »

Come faccio a togliere il repistory?
Avatar utente
Diabolik62
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 16046
Iscrizione: domenica 20 dicembre 2009, 16:29
Distribuzione: wind 10049 archfce4.12

Re: Problema con gli aggiornamenti...

Messaggio da Diabolik62 »

postaci risposte dei seguenti comandi
ls /etc/apt/sources.list.d/
cat /etc/apt/sources.list
LittleMo
Prode Principiante
Messaggi: 83
Iscrizione: domenica 17 aprile 2011, 12:58

Re: Problema con gli aggiornamenti...

Messaggio da LittleMo »

insolence@Insolence:~$ ls /etc/apt/sources.list.d/
medibuntu.list            screenlets-ppa-oneiric.list
medibuntu.list.save        screenlets-ppa-oneiric.list.save
oneiric-partner.list      ubuntu-x-swat-x-updates-oneiric.list
oneiric-partner.list.save  ubuntu-x-swat-x-updates-oneiric.list.save
insolence@Insolence:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric 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/ 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

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

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

## 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

## 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://deb.inhatch.com/ubuntu-11.04 inhatch main
deb-src http://deb.inhatch.com/ubuntu-11.04 inhatch main
Avatar utente
Diabolik62
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 16046
Iscrizione: domenica 20 dicembre 2009, 16:29
Distribuzione: wind 10049 archfce4.12

Re: Problema con gli aggiornamenti...

Messaggio da Diabolik62 »

dai il seguente comando:
sudo gedit /etc/apt/sources.list
ed elimina

Codice: Seleziona tutto

 http://deb.inhatch.com/ubuntu-11.04 inhatch main
deb-src http://deb.inhatch.com/ubuntu-11.04 inhatch main

salva, chiudi e ripeti l'update
LittleMo
Prode Principiante
Messaggi: 83
Iscrizione: domenica 17 aprile 2011, 12:58

Re: Problema con gli aggiornamenti...

Messaggio da LittleMo »

Risolto! Grazie mille dell'aiuto!  ;)
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: Google [Bot] e 10 ospiti