Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/03/2009, à 20:49

slkc

[APT-PROXY] Quelques erreurs

Bonsoir chére communauté !

Voila , On ma conseillé dans ce forum même d'installé apt-proxy pour avoir un serveur de paquet mais on ce moment j'ai quelques erreurs

Voila quand je fais :

Sudo apt-get update

J'ai ceci :

lyes@lyes-desktop:~$ sudo apt-get update
Réception de : 1 http://192.168.0.101 intrepid Release.gpg [189B]
Atteint http://192.168.0.101 intrepid/main Translation-fr                      
Atteint http://192.168.0.101 intrepid/restricted Translation-fr                
Atteint http://192.168.0.101 intrepid/universe Translation-fr
Atteint http://192.168.0.101 intrepid/multiverse Translation-fr
Réception de : 2 http://192.168.0.101 intrepid-security Release.gpg [189B]
Ign http://192.168.0.101 intrepid-security/main Translation-fr                 
Ign http://192.168.0.101 intrepid-security/restricted Translation-fr           
Ign http://192.168.0.101 intrepid-security/universe Translation-fr
Ign http://192.168.0.101 intrepid-security/multiverse Translation-fr
Réception de : 3 http://192.168.0.101 intrepid-updates Release.gpg [189B]
Atteint http://192.168.0.101 intrepid-updates/main Translation-fr              
Atteint http://192.168.0.101 intrepid-updates/restricted Translation-fr
Atteint http://192.168.0.101 intrepid-updates/universe Translation-fr
Atteint http://192.168.0.101 intrepid-updates/multiverse Translation-fr
Atteint http://192.168.0.101 intrepid Release
Atteint http://192.168.0.101 intrepid-security Release    
Atteint http://192.168.0.101 intrepid-updates Release
Réception de : 4 http://192.168.0.101 intrepid/main Packages [252kB]
99% [4 Packages bzip2 0] [Attente des fichiers d'en-tête]
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Err http://192.168.0.101 intrepid/main Packages           
  Le sous-processus bzip2 a renvoyé un code d'erreur (2)
Atteint http://192.168.0.101 intrepid/restricted Packages 
Réception de : 5 http://192.168.0.101 intrepid/universe Packages [649kB]
99% [5 Packages bzip2 0] [Attente des fichiers d'en-tête]
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Err http://192.168.0.101 intrepid/universe Packages       
  Le sous-processus bzip2 a renvoyé un code d'erreur (2)
Réception de : 6 http://192.168.0.101 intrepid/multiverse Packages [192kB]     
Atteint http://192.168.0.101 intrepid/main Sources                             
Atteint http://192.168.0.101 intrepid/restricted Sources                       
Réception de : 7 http://192.168.0.101 intrepid/universe Sources [1981kB]       
Réception de : 8 http://192.168.0.101 intrepid/multiverse Sources [95,8kB]         
Réception de : 9 http://192.168.0.101 intrepid-security/main Packages [84,0kB]     
Atteint http://192.168.0.101 intrepid-security/restricted Packages                 
Atteint http://192.168.0.101 intrepid-security/universe Packages                   
Atteint http://192.168.0.101 intrepid-security/multiverse Packages                 
Atteint http://192.168.0.101 intrepid-security/main Sources                        
Atteint http://192.168.0.101 intrepid-security/restricted Sources                  
Atteint http://192.168.0.101 intrepid-security/universe Sources                    
Atteint http://192.168.0.101 intrepid-security/multiverse Sources                  
Atteint http://192.168.0.101 intrepid-updates/main Packages                        
Atteint http://192.168.0.101 intrepid-updates/restricted Packages                  
Atteint http://192.168.0.101 intrepid-updates/universe Packages                    
Atteint http://192.168.0.101 intrepid-updates/multiverse Packages                  
Atteint http://192.168.0.101 intrepid-updates/main Sources                         
Atteint http://192.168.0.101 intrepid-updates/restricted Sources                   
Atteint http://192.168.0.101 intrepid-updates/universe Sources                     
Atteint http://192.168.0.101 intrepid-updates/multiverse Sources                   
3254ko réceptionnés en 14min43s (3685o/s)                                          
W: Impossible de récupérer http://192.168.0.101:9999/ubuntu/dists/intrepid/main/binary-amd64/Packages.bz2  Le sous-processus bzip2 a renvoyé un code d'erreur (2)

W: Impossible de récupérer http://192.168.0.101:9999/ubuntu/dists/intrepid/universe/binary-amd64/Packages.bz2  Le sous-processus bzip2 a renvoyé un code d'erreur (2)

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.

Et voici mon /etc/apt/sources.list :

###############################################################################
##             UBUNTU VERSION INTREPID IBEX - 8.10 - Date : 7/03/2009
##
##
##    SOURCES.LIST GENERATOR Version 0.1b-8.10
##    http://sources-list.ubuntu-fr-secours.org
###############################################################################
#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted

## DEPOTS PRINCIPAUX
deb http://192.168.0.101:9999/ubuntu intrepid main restricted universe multiverse 
deb-src http://192.168.0.101:9999/ubuntu intrepid main restricted universe multiverse 

## DEPOTS DE MISES A JOUR DE SECURITE
deb http://192.168.0.101:9999/ubuntu intrepid-security main restricted universe multiverse 
deb-src http://192.168.0.101:9999/ubuntu intrepid-security main restricted universe multiverse 

## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://192.168.0.101:9999/ubuntu intrepid-updates main restricted universe multiverse 
deb-src http://192.168.0.101:9999/ubuntu intrepid-updates main restricted universe multiverse 

###############################################################################
## DEPOTS TIERCES PARTIES

# DEPOTS MEDIBUNTU
# Vous devez saisir le cles suivante :
# wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#deb http://fr.packages.medibuntu.org/ intrepid free non-free
#deb-src http://fr.packages.medibuntu.org/ intrepid free non-free

Voici aussi ma config apt-proxy :

[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)

;; Server IP to listen on
;address = 192.168.0.101

;; Server port to listen on
port = 9999

;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum age of a file before it is refreshed
min_refresh_delay = 1h

;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h

;; Uncomment to make apt-proxy continue downloading even if all
;; clients disconnect.  This is probably not a good idea on a
;; dial up line.
;; complete_clientless_downloads = 1

;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
debug = all:4 db:0

;; Debugging remote python console
;; Do not enable in an untrusted environment
;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret

;; Network timeout when retrieving from backend servers
timeout = 30

;; Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy

;; Use passive FTP? (default=on)
;passive_ftp = on

;; Use HTTP proxy?
http_proxy = 192.168.0.101:3128

;; Limit download rate from backend servers (http and rsync only), in bytes/sec
;bandwidth_limit = 100000

;;--------------------------------------------------------------
;; Cache housekeeping

;; Time to perform periodic housekeeping:
;;  - delete files that have not been accessed in max_age
;;  - scan cache directories and update internal tables
cleanup_freq = 1d

;; Maximum age of files before deletion from the cache (seconds)
max_age = 360d

;; Maximum number of versions of a .deb to keep per distribution
max_versions = 3

;; Add HTTP backends dynamicaly if not already defined? (default=on)
;dynamic_backends = on

;;---------------------------------------------------------------
;;---------------------------------------------------------------
;; Backend servers
;;
;; Place each server in its own [section]

[debian]
;; The main Debian archive
;; You can override the default timeout like this:
;timeout = 30

;; Backend servers, in order of preference
backends = 
	http://ftp.us.debian.org/debian
	http://ftp.de.debian.org/debian
	http://ftp2.de.debian.org/debian
	ftp://ftp.uk.debian.org/debian

min_refresh_delay = 1d

[security]
;; Debian security archive
backends = 
	http://security.debian.org/debian-security
	http://ftp2.de.debian.org/debian-security

min_refresh_delay = 1m

[ubuntu]
;; Ubuntu archive
backends = http://archive.ubuntu.com/ubuntu
min_refresh_delay = 15m

[ubuntu-security]
;; Ubuntu security updates
backends = http://archive.ubuntu.com/ubuntu
min_refresh_delay = 1m

;[backports.org]
;; backports.org
;backends = http://backports.org/debian
min_refresh_delay = 1d

;[blackdown]
;; Blackdown Java
;backends = http://ftp.gwdg.de/pub/languages/java/linux/debian
min_refresh_delay = 1d

;[debian-people]
;; people.debian.org
;backends = http://people.debian.org

;[emdebian]
;; The Emdebian project
;backends = http://emdebian.sourceforge.net/emdebian

;[rsync]
;; An example using an rsync server.  This is not recommended
;; unless http is not available, becuause rsync is only more
;; efficient for transferring uncompressed files and puts much
;; more overhead on the server.
;backends = rsync://ftp.uk.debian.org/debian

Merci de m'aider à résoudre ce problème smile

Dernière modification par slkc (Le 07/03/2009, à 20:55)


" Le savoir n'est utile que s'il est partagé "
-----------------------------------------------------------

Hors ligne