[RISOLTO] eterno waiting con aptitude update

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

[RISOLTO] eterno waiting con aptitude update

Messaggioda Xline » 13/06/2011, 8:00

da ieri ho un errore in fase di aggiornamento di aptitude.

Dando un "aptitude update" rimango inchiodato come si vede sotto in waiting.
Codice: Seleziona tutto
sudo aptitude update
Ign http://www.lamaresh.net testing InRelease
Ign http://www.debian-multimedia.org testing InRelease                         
Ign http://www.lamaresh.net testing Release.gpg                               
Ign http://www.lamaresh.net testing Release                                   
Ign http://dl.google.com stable InRelease 
...
...
...
Ign http://dl.google.com stable/non-free Translation-en_US                                                                           
Ign http://dl.google.com stable/non-free Translation-en                                                                               
Ign http://dl.google.com stable/main Translation-en_US                                                                               
Ign http://dl.google.com stable/main Translation-en                                                                                   
Ign http://dl.google.com stable/main Translation-en_US                                                                               
Ign http://dl.google.com stable/main Translation-en                                                                                   
Ign http://ftp.it.debian.org testing InRelease                                                                                       
Err http://ftp.it.debian.org testing Release.gpg
  Connection failed
Ign http://ftp.it.debian.org testing Release
Ign http://ftp.it.debian.org testing/main Sources/DiffIndex
Ign http://ftp.it.debian.org testing/non-free Sources/DiffIndex
99% [Waiting for headers]


di seguito il mio sources.list (che non è stato modificato dal 20 aprile e sino a sabato scorso - 11 giugno - ha funzionato perfettamente).
Codice: Seleziona tutto
#Debian testing
deb http://ftp.it.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.it.debian.org/debian/ testing main non-free contrib
#Debian security
deb http://security.debian.org/ testing/updates main non-free contrib
deb-src http://security.debian.org/ testing/updates main non-free contrib
# Debian Multimedia
deb http://www.debian-multimedia.org testing main non-free
# Wine
deb http://www.lamaresh.net/apt testing main
# Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
# Chromium
# deb http://dl.google.com/linux/deb/ stable non-free main
## Experimental
deb http://ftp.debian.org/debian experimental main
# Webmin
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
# Picasa Google
deb http://dl.google.com/linux/deb stable non-free

# Fine sorgenti


Codice: Seleziona tutto
 lsb_release -a
LSB Version:   core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:qt4-3.1-ia32:qt4-3.1-noarch
Distributor ID:   Debian
Description:   Debian GNU/Linux testing (wheezy)
Release:   testing
Codename:   wheezy

grazie
Ultima modifica di Xline il 13/06/2011, 9:42, modificato 1 volta in totale.
Immagine
Avatar utente
Xline
Full Member
Full Member
 
Messaggi: 118
Iscritto il: 09/07/2010, 13:01

Re: eterno waiting con aptitude update

Messaggioda Xline » 13/06/2011, 8:39

inizio a temere che per me ftp.it.debian.org sia irraggiungibile

il problema è che ho lostesso errore sia da casa (alice/telecom) che dall'ufficio (dove usciamo sia da wind che fastweb)

Codice: Seleziona tutto
traceroute ftp.it.debian.org
traceroute to ftp.it.debian.org (213.92.8.5), 30 hops max, 60 byte packets
 1  10.98.254.254 (10.98.254.254)  1.059 ms  1.047 ms  1.043 ms
 2  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  6.462 ms  6.456 ms  6.581 ms
 3  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  15.805 ms  16.172 ms  16.559 ms
 4  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  17.985 ms xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  18.161 ms
 5  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  39.594 ms xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  40.620 ms xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)39.677 ms
 6  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  55.317 ms xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  44.847 ms xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  44.495 ms
 7  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  46.293 ms  46.396 ms  46.552 ms
 8  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  46.741 ms  46.953 ms  47.044 ms
 9  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  47.732 ms  47.915 ms  48.373 ms
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
Immagine
Avatar utente
Xline
Full Member
Full Member
 
Messaggi: 118
Iscritto il: 09/07/2010, 13:01

Re: eterno waiting con aptitude update

Messaggioda Xline » 13/06/2011, 8:47

confermo, se uso i repo austriaci o tedeschi di debian aptitude update và a buon fine

cos'è successo? indisponibilità in questi giorni? o posso semplicemente usare un mirror?
Immagine
Avatar utente
Xline
Full Member
Full Member
 
Messaggi: 118
Iscritto il: 09/07/2010, 13:01

Re: eterno waiting con aptitude update

Messaggioda mm-barabba » 13/06/2011, 8:57

Provvisoriamente ho sostituito it con ch.
Il fatto è già successo tempo fà e solitamente risolto in un paio di giorni.
mm-barabba
 

Re: eterno waiting con aptitude update

Messaggioda Xline » 13/06/2011, 9:42

per ora metto risolto...
Immagine
Avatar utente
Xline
Full Member
Full Member
 
Messaggi: 118
Iscritto il: 09/07/2010, 13:01

Re: [RISOLTO] eterno waiting con aptitude update

Messaggioda Risca » 13/06/2011, 10:23

Se volete cambiare repository ma non sapete quale sia il "migliore" (dal punto di vista prestazionale) potete provare il seguente comando:
Codice: Seleziona tutto
netselect -vv url1 url2 url3 url4 ...

L'output sarà una tabellina che vi indica quale server sia per voi più prestazionale.
Avatar utente
Risca
e-zine member
e-zine member
 
Messaggi: 1742
Iscritto il: 09/02/2009, 11:37
Località: Nord-Est

Re: [RISOLTO] eterno waiting con aptitude update

Messaggioda marcus89 » 13/06/2011, 11:26

Oppure, netselect-apt cerca da solo il più veloce tra tutti i mirror debian del globo.
Sarà anche uno spreco, ma fa la sua figura!
Codice: Seleziona tutto
user@debian:~$ sudo netselect-apt
Using distribution stable.
Retrieving the list of mirrors from www.debian.org...

--2011-06-13 10:21:44--  http://www.debian.org/mirror/mirrors_full
Risoluzione di www.debian.org... 82.195.75.97, 86.59.118.148, 2001:41b8:202:deb:1a1a:0:52c3:4b61, ...
Connessione a www.debian.org|82.195.75.97|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 295433 (289K) [text/html]
Salvataggio in: "/tmp/netselect-apt.BVKoTN"

100%[========================================================================>] 295.433      501K/s   in 0,6s   

2011-06-13 10:21:44 (501 KB/s) - "/tmp/netselect-apt.BVKoTN" salvato [295433/295433]

Choosing a main Debian mirror using netselect.
Running netselect to choose 1 out of 368 addresses.     
                                                                               .........................................................
The fastest server seems to be:                                                                                                               
        http://debian.fastbull.org/debian/                                                                                                     
                                                                                                                                               
Writing sources.list.                                                                                                                         
Done.                                       
Avatar utente
marcus89
Newbie
Newbie
 
Messaggi: 49
Iscritto il: 12/01/2009, 10:18

Re: [RISOLTO] eterno waiting con aptitude update

Messaggioda Xline » 13/06/2011, 11:52

@marcus
quasi spettacolare :) peccato che siavalido solo per debian-stable e riscriva il sources.list senza tener conto degli altri repo ;D
però valido per avere una idea

Codice: Seleziona tutto
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
The fastest server seems to be:
        http://mi.mirror.garr.it/mirrors/debian/

Writing sources.list.
sources.list exists, moving to sources.list.1307962632
Done.
Immagine
Avatar utente
Xline
Full Member
Full Member
 
Messaggi: 118
Iscritto il: 09/07/2010, 13:01

Re: [RISOLTO] eterno waiting con aptitude update

Messaggioda marcus89 » 13/06/2011, 15:07

Xline ha scritto:@marcus
quasi spettacolare :) peccato che sia valido solo per debian-stable e riscriva il sources.list senza tener conto degli altri repo ;D
però valido per avere una idea

Piano, piano! Hai dato un'occhiata al manuale?

Codice: Seleziona tutto
SYNOPSIS
       netselect-apt [OPTIONS] [stable|testing|unstable|experimental|release_codename|sid]

DESCRIPTION
       netselect-apt  automatically creates a sources.list file for using with apt for the specified distribution by downloading the list of Debian mirrors using wget and choosing the fastest servers using netselect.  The out‐put file is written to OUTFILE.
       If  -i INFILE is passed netselect-apt uses that rather than downloading another copy to a temporary file. The file will be downloaded from http://www.debian.org/mirror/mirrors_full

OPTIONS
       stable|testing|unstable|experimental|release_codename|sid
             Specify which distribution of Debian to use.  By default stable is used.


Nel frattempo, ftp.it.debian.org è tornato online. Buon divertimento! ;D
Avatar utente
marcus89
Newbie
Newbie
 
Messaggi: 49
Iscritto il: 12/01/2009, 10:18


Torna a Apt-get and friends

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite