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

Bug#550444: apt: Option to send "Pragma: no-cache" when downloading package index files and binary packages



Package: apt
Version: 0.7.24
Severity: wishlist

Hi!

Is it possible to add an option to send "Pragma: no-cache" when retrieving index
files and binary packages (like wget's --no-cache), please?

One real case that this would help: my parents use an ISP that have a broken
proxy. I can keep running "aptitude update" for a long time and it will always
give me outdated files.
I need to run
"wget -O /dev/null --no-cache http://ftp.us.debian.org/debian/dists/sid/contrib/binary-i386/Packages.bz2";
for example, to flush their cache.

Thank you very much!

Best regards,
Nelson


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

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

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.9-27     GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.1-6  GCC support library
ii  libstdc++6                    4.4.1-6    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
ii  aptitude                      0.5.9rc2-1 terminal-based package manager (te
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  dpkg-dev                      1.15.4     Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.13.3   Python interface to libapt-pkg

-- no debconf information



Reply to: