Krzysztof Burghardt | 17 May 20:54
Picon
Favicon
Gravatar

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)
(Continue reading)


Gmane