Pagina 1 di 1

[Risolto] Problema con gli aggiornamenti...

Inviato: sabato 19 novembre 2011, 16:19
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!

Re: Problema con gli aggiornamenti...

Inviato: sabato 19 novembre 2011, 19:12
da hellojoker
togli il repository se non c'è

Re: Problema con gli aggiornamenti...

Inviato: sabato 19 novembre 2011, 19:52
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/

Re: Problema con gli aggiornamenti...

Inviato: lunedì 21 novembre 2011, 15:46
da LittleMo
Come faccio a togliere il repistory?

Re: Problema con gli aggiornamenti...

Inviato: lunedì 21 novembre 2011, 16:01
da Diabolik62
postaci risposte dei seguenti comandi
ls /etc/apt/sources.list.d/
cat /etc/apt/sources.list

Re: Problema con gli aggiornamenti...

Inviato: lunedì 21 novembre 2011, 17:10
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

Re: Problema con gli aggiornamenti...

Inviato: lunedì 21 novembre 2011, 17:49
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

Re: Problema con gli aggiornamenti...

Inviato: lunedì 21 novembre 2011, 20:15
da LittleMo
Risolto! Grazie mille dell'aiuto!  ;)