Krzysztof Burghardt | 17 May 20:54

Bug#481658: auto-apt: uses conflicting wget options: cannot specify -N if -O is given

Package: auto-apt
Version: 0.3.21+nmu1
Severity: important
Tags: patch

I'm using wget version 1.11.2-1. Auto-apt is unable to fetch Contents-*.gz files
because it invoke wget with --timestamping option and -O. This two options seems
to incomaptibile.

Removing --timestamping from wget options seems to fix this. I'm not sure if it
can causes any side effects.

diff -Naur auto-apt-0.3.21+nmu1.orig/auto-apt.sh auto-apt-0.3.21+nmu1/auto-apt.sh
--- auto-apt-0.3.21+nmu1.orig/auto-apt.sh   2006-07-23 00:13:13.000000000 +0000
+++ auto-apt-0.3.21+nmu1/auto-apt.sh    2008-05-17 18:48:58.879019682 +0000
@@ -164,7 +164,7 @@
            fi
         fi
         # other options
-        wgetopt="--timestamping --continue --progress=bar:force"
+        wgetopt="--continue --progress=bar:force"
         if test "$method" = "ftp"; then
        passive_ftp="true"
        eval `apt-config shell passive_ftp Acquire::ftp::Passive`

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages auto-apt depends on:
ii  libc6                         2.7-11     GNU C Library: Shared libraries

Versions of packages auto-apt recommends:
ii  apt                           0.7.13     Advanced front-end for dpkg
ii  devscripts                    2.10.27    scripts to make the life of a Debi
ii  dpkg-dev                      1.14.19    package building tools for Debian
ii  perl                          5.10.0-10  Larry Wall's Practical Extraction 
ii  sudo                          1.6.9p15-2 Provide limited super user privile
ii  wget                          1.11.2-1   retrieves files from the web

-- no debconf information


Gmane