Package: apt-cacher-ng
Version: 0.3.11-1
Severity: important

Hello:

  Going on with my regular usage of apt-cacher-ng I got to the point where a 
lot 
of files couldn't be downloaded from the mirror I use. At first I thought it was
the mirror to blame, but I then modified the sources.list line that required
usage of acng and using aptitude download worked.

  I was trying to find out a way to get debug information about the issue, but
seems that acng is build with no debug information and I couldn't get any
valuable information from logs even I had:
VerboseLog: 1
ForeGround: 1
Debug:11 (also tried with 3 and 1)

  This is how I got the error:
I place this line in sources.list which holds the mirror I regularly use:
deb http://localhost:3142/ftp.gul.uc3m.es/debian/ unstable main contrib non-free

After that:
aptitude update
aptitude -q -o Debug::Acquire::Http=true
<---------Command output------>
Reading package lists...                                                        
                                                             
Building dependency tree...                                                     
                                                             
Reading state information...                                                    
                                                             
Reading extended state information...                                           
                                                             
Initializing package states...                                                  
                                                             
The following packages will be upgraded:                                        
                                                             
  dpkg                                                                          
                                                             
1 packages upgraded, 0 newly installed, 0 to remove and 79 not upgraded.        
                                                             
Need to get 2182kB of archives. After unpacking 295kB will be used.             
                                                             
Do you want to continue? [Y/n/?]                                                
                                                             
Writing extended state information...                                           
                                                             
GET /ftp.gul.uc3m.es/debian/pool/main/d/dpkg/dpkg_1.15.1_amd64.deb HTTP/1.1
Host: localhost:3142
Connection: keep-alive
User-Agent: Debian APT-HTTP/1.3 (0.7.21)


HTTP/1.1 404 Not Found
Date: Fri May 22 21:53:47 2009
Server: Debian Apt-Cacher NG/0.3.11
Connection: keep-alive

Err http://localhost unstable/main dpkg 1.15.1
  404 Not Found
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
database /var/lib/apt/listchanges.db failed to load.
E: Failed to fetch 
http://localhost:3142/ftp.gul.uc3m.es/debian/pool/main/d/dpkg/dpkg_1.15.1_amd64.deb:
 404 Not Found
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
<---------Command output------>

On the apt-cacher.log there's nothing but:
1243029227|M|Download of debrep/pool/main/d/dpkg/dpkg_1.15.1_amd64.deb finished
1243029227|I|468|127.0.0.1|debrep/pool/main/d/dpkg/dpkg_1.15.1_amd64.deb
1243029227|O|119|127.0.0.1|debrep/pool/main/d/dpkg/dpkg_1.15.1_amd64.deb

  But if I do:
wget http://ftp.gul.uc3m.es/debian/pool/main/d/dpkg/dpkg_1.15.1_amd64.deb
I do get the file.

  Problem with this kind of issues is that mirrors are such a moving target and
it's difficult to reproduce, so adding instructions on the acng would have
helped. Alternatively I will be glad to provide whatever information I am
requested to help solving this out.

  Regards,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-toi3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.110             add and remove users and groups
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libfuse2               2.7.4-1.1         Filesystem in USErspace library
ii  libgcc1                1:4.4.0-5         GCC support library
ii  libstdc++6             4.4.0-5           The GNU Standard C++ Library v3
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages apt-cacher-ng recommends:
ii  ed                            0.7-3      The classic unix line editor
ii  perl                          5.10.0-22  Larry Wall's Practical Extraction 

apt-cacher-ng suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to