Release file for [...] is expired

Sezione dedicata alle problematiche sull'uso dei tool di installazione e gestione di pacchetti, in una distribuzione Debian-based.

Release file for [...] is expired

Messaggioda wtf » 28/06/2012, 22:27

Ho un paio di PC con debian testing e da qualche giorno, di punto in bianco, ricevo il seguente messaggio d'errore quando lancio aptitude update (idem per apt-get update):
Codice: Seleziona tutto
Get: 1 http://security.debian.org testing/updates InRelease [87,8 kB]
Get: 2 http://debian.fastweb.it testing InRelease [190 kB]   
Scaricato 278 kB in 0s (524 kB/s)                           
E: Release file for http://debian.fastweb.it/debian/dists/testing/InRelease is expired (invalid since 6g 6h 52min 35s). Updates for this repository will not be applied.


Ho provato a cambiare mirror, ma l'errore non cambia; ho controllato anche che la data sia corretta su tutti i PC e lo è. Su uno dei PC uso apt-cacher-ng, ma anche provando a saltarlo l'errore si ripresenta.
Di seguito il contenuto di alcuni file del PC su cui è installato apt-cacher (ma sono pressoché identici ai corrispettivi dell'altro):

sources.list
Codice: Seleziona tutto
# Principale, semiliberi e non liberi
deb http://debian.fastweb.it/debian/ testing main contrib non-free

# Sicurezza
deb http://security.debian.org/ testing/updates main contrib


apt.conf
Codice: Seleziona tutto
APT::Default-Release "testing";
APT::Cache-Limit 32000000;
Apt::Get::Purge;
APT::Clean-Installed;
APT::Get::Fix-Broken;
APT::Get::Fix-Missing;
APT::Get::Show-Upgraded "true";
APT::Force-LoopBreak=true;
APT::Get::AllowUnauthenticated 1;
Acquire::http::Proxy "http://localhost:3142/";


preferences
Codice: Seleziona tutto
Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release o=Debian
Pin-Priority: -10


Grazie in anticipo.
Cose da sapere:
Avatar utente
wtf
wiki member
wiki member
 
Messaggi: 356
Iscritto il: 12/04/2011, 10:58
Località: Brianza

Re: Release file for [...] is expired

Messaggioda skizzhg » 28/06/2012, 23:57

Il file Release ha degli header, come puoi vedere, il sistema lo considera non valido se in una settimana non ha ricevuto aggiornamenti. Il mirror di fastweb è noto per avere questi ritardi, sarà anche veloce (non più o meno di altri) ma dal punto di vista della gestione è davvero scadente.
Cambiando mirror o aspettando che se ne accorgano il problema si risolve, come anche passare
Codice: Seleziona tutto
 -o 'Acquire::Check-Valid-Until=false'

ad aptitude.
Nel tuo caso specifico c'è apt-cacher di mezzo che ricorda qualcosa? Legendo "REMOTE MIRROR CONFIGURATION" in /usr/share/doc/apt-cacher-ng/README.Debian parrebbe di sì.
skizzhg
wiki member
wiki member
 
Messaggi: 378
Iscritto il: 04/12/2010, 1:25

Re: Release file for [...] is expired

Messaggioda wtf » 29/06/2012, 23:17

Il mirror di fastweb l'ho scelto perché indicato come più veloce da un applicativo disponibile da repository (di cui non ricordo il nome).
Cambiare mirror come già detto non mi è di alcun aiuto, mentre disabilitare apt-cacher-ng migliora un po' la situazione (cosa che avevo già fatto in realtà, ma invece di eliminare la riga mi limitavo a commentarla).
Adesso come errore ottengo:
Codice: Seleziona tutto
Hit http://ftp.it.debian.org testing InRelease
Hit http://security.debian.org testing/updates InRelease
Hit http://ftp.it.debian.org testing/main amd64 Packages/DiffIndex
Hit http://security.debian.org testing/updates/main amd64 Packages
Hit http://ftp.it.debian.org testing/contrib amd64 Packages/DiffIndex
Hit http://ftp.it.debian.org testing/non-free amd64 Packages/DiffIndex     
Hit http://security.debian.org testing/updates/contrib amd64 Packages     
Get: 1 http://ftp.it.debian.org testing/contrib Translation-en [35,2 kB]   
Get: 2 http://ftp.it.debian.org testing/main Translation-it [2369 kB]
Get: 3 http://ftp.it.debian.org testing/main Translation-en [3891 kB]
Get: 4 http://ftp.it.debian.org testing/non-free Translation-en [63,1 kB]
Err http://ftp.it.debian.org testing/contrib Translation-en         
  404  Not Found [IP: 213.92.8.5 80]
Err http://ftp.it.debian.org testing/main Translation-it
  404  Not Found [IP: 213.92.8.5 80]
Err http://ftp.it.debian.org testing/main Translation-en
  404  Not Found [IP: 213.92.8.5 80]
Err http://ftp.it.debian.org testing/non-free Translation-en
  404  Not Found [IP: 213.92.8.5 80]
Ign http://security.debian.org testing/updates/contrib Translation-it_IT
Ign http://security.debian.org testing/updates/contrib Translation-it
Ign http://security.debian.org testing/updates/contrib Translation-en
Ign http://security.debian.org testing/updates/main Translation-it_IT
Ign http://security.debian.org testing/updates/main Translation-it
Ign http://security.debian.org testing/updates/main Translation-en
Scaricato 4 B in 2s (1 B/s)
W: Failed to fetch http://ftp.it.debian.org/debian/dists/testing/contrib/i18n/Translation-en: 404  Not Found [IP: 213.92.8.5 80]

W: Failed to fetch http://ftp.it.debian.org/debian/dists/testing/main/i18n/Translation-it: 404  Not Found [IP: 213.92.8.5 80]

W: Failed to fetch http://ftp.it.debian.org/debian/dists/testing/main/i18n/Translation-en: 404  Not Found [IP: 213.92.8.5 80]

W: Failed to fetch http://ftp.it.debian.org/debian/dists/testing/non-free/i18n/Translation-en: 404  Not Found [IP: 213.92.8.5 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Impossibile ricostruire la cache dei pacchetti
Cose da sapere:
Avatar utente
wtf
wiki member
wiki member
 
Messaggi: 356
Iscritto il: 12/04/2011, 10:58
Località: Brianza

Re: Release file for [...] is expired

Messaggioda michele1960 » 30/06/2012, 9:04

Scaricamento di:3 http://security.debian.org squeeze/updates Release [86,9 kB]
E: File Release scaduto, http://debian.fastweb.it/debian/dists/s ... es/Release viene ignorato (non valido da 7g 4h 55min 40s)
root@debian-c:/home/michele# apt-get upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
root@debian-c:/home/michele#

Ciao a tutti
ho gnome squeeze stabile e da fastweb ricevo il medesimo errore (file relese scaduto)
cosa è meglio fare secondo voi o aspettare che se ne accorgano?
Ciao Michele
michele1960
Full Member
Full Member
 
Messaggi: 137
Iscritto il: 28/03/2009, 14:25

Re: Release file for [...] is expired

Messaggioda wtf » 30/06/2012, 11:11

Credo che nel mio caso sia proprio apt-cacher-ng la fonte di problemi, perché elimando ogni riferimento al suddetto programma dal pc client apt ha ripreso a funzionare correttamente, mentre dal computer su cui è installato il suddetto proxy anche elimando la riga che dice di passare da apt-cacher-ng continuo ad ottenere come output quello che ho indicato nel mio precedente post.

EDIT1: ho "purgato" apt-cacher-ng, ma il problema persiste. Ho notato invece che apt-get funziona senza problemi.
EDIT2: ho "purgato" e reinstallato aptitude, ma non ho risolto nulla.
EDIT3: ho notato che il problema riguarda solo il pc dove ho installato apt-cacher-ng e solo se uso aptitude; l'altro PC ha ripreso a funzionare regolarmente sia senza che con apt-cacher-ng, sia usando apt-get che aptitude.
EDIT4: sembra che il problema si stia risolvendo da solo, ora ricevo errore solo per le traduzioni (sempre e solo usando aptitude).

@michele
Cambia mirror che fai prima, io ho messo ftp.it.debian.org.
Cose da sapere:
Avatar utente
wtf
wiki member
wiki member
 
Messaggi: 356
Iscritto il: 12/04/2011, 10:58
Località: Brianza


Torna a Apt-get and friends

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite