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

Bug#478517: Still missing "--no-download for update" feature



Package: apt
Version: 0.7.11
Severity: normal
Tags: patch

Hi,

two years ago I requested that the --no-download option for apt-get be
extended to also work for "apt-get update". The rational is that I
have a wrapper that filters the downloaded Packages files and then
needs to let apt-get update its database with the altered file.

I wrote a small patch for this in

http://lists.debian.org/deity/2006/04/msg00053.html

diffstat:
 apt-get.cc |    5 ++++-
 debian/changelog   |    6 ++++++
 2 files changed, 10 insertions(+), 1 deletion(-)


The ftp-masters have asked the ia32-libs team if we could reduce the
code and source duplication that is ia32-libs and this small feature
is needed to ia32-libs conversions on the fly instead of uploading
dummy packages to the archive. It would save about 440MiB of
duplicated sources and binaries.

So please, please, consider this patch again. My responce 2 years ago
was positive but then nobody added the patch. If you have any problems
applying the old patch I'm happy to update it to the latest apt version.

MfG
	Goswin

PS: 2 years ago someone told me a workaround using the python apt
module to update the database without downloads in a private mail I've
lost. Does anyone know how that was done?

-- System Information:
Debian Release: lenny/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.2-mrvn
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.0-3       GCC support library
ii  libstdc++6               4.3.0-3         The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: