[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409284: apt: Ignores the contents of the Release file and pulls Packages.gz out of the hat



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Subject: apt: Ignores the contents of the Release file and pulls Packages.gz out of the hat
Package: apt
Version: 0.6.46.4
Severity: important


Hello,

I have seen the following behaviour with a repository built with
debpool which is configured not to generate Packages.{gz,bz2} files:

When trying to apt-get update (true for aptitude update, too)
- - apt tries to fetch a Packages.gz file although the Release file does
  not specify the existance of such a file
- - apt fails to update (without even falling back to the file specified
  in the Release file)


NOTE: this behaviour was observed on a i386 machine in a Sid Pbuilder
chroot and was reproduced on the host machine, too.



twix:/tmp/_release/mail# apt-get -VV update
Ign http://epetrisor sid Release.gpg
Hit http://epetrisor sid Release
Err http://epetrisor sid/non-free Packages
  404 Not Found
Err http://epetrisor sid/non-free Sources
  404 Not Found
Get:1 http://ftp.ro.debian.org sid Release.gpg [378B]
Hit http://ftp.ro.debian.org sid Release
Hit http://ftp.ro.debian.org sid/main Packages/DiffIndex
Fetched 1B in 0s (1B/s)
Failed to fetch http://epetrisor/debian-foo/dists/sid/non-free/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://epetrisor/debian-foo/dists/sid/non-free/source/Sources.gz  404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://epetrisor sid/non-free Packages (/var/lib/apt/lists/epetrisor_debian-foo_dists_sid_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
twix:/tmp/_release/mail# wget  http://epetrisor/debian-foo/dists/sid/non-free/binary-i386/Release
- --16:49:45--  http://epetrisor/debian-foo/dists/sid/non-free/binary-i386/Release
           => `Release'
Resolving epetrisor... 10.10.14.76
Connecting to epetrisor|10.10.14.76|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 280 [text/plain]

100%[=================================================================================================================>] 280           --.--K/s

16:49:45 (16.17 MB/s) - `Release' saved [280/280]

twix:/tmp/_release/mail# cat Release
Archive: sid
Component: non-free
Version: 2007.01.25.09.59.45
Origin: foo
Label: foo
Architecture: i386
Description: foo packages
MD5Sum:
 dca3e6785339cbe65bad57da1b2daf36     2502 Packages
SHA1:
 325673f06690e2d88ff902f9d7ce4627c22d291a     2502 Packages



So, as you can see, the only file that is specified in the Release file
is the plain Packages file.



- -- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring       2006.11.22  GnuPG archive keys of the Debian a
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-21  GCC support library
ii  libstdc++6                   4.1.1-21    The GNU Standard C++ Library v3

apt recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFwh9fY8Chqv3NRNoRAhAkAJ0X1dKW1q0mjXJtgN6bDPxjpgshNQCgtKTU
RpQ0FUybgz8cFeFuIOYo/R8=
=tAwe
-----END PGP SIGNATURE-----



Reply to: