Package: flashplugin-nonfree
Version: 1:1.7.2
Severity: important
Tags: patch

On my system, wget saves using directories, i.e., when saving 

  http://people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc

it saves to

  ./people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc

rather than to 

  ./md5.pgp.asc

This affects /usr/sbin/update-flashplugin-nonfree, line 124:

  gpg -q --homedir "." < $downloadfile > md5.txt 2> /dev/null \
    || die_hard_with_a_cleanup "gpg rejected signature of $downloadurl"

where downloadfile=md5.pgp.asc is set in line 103.

To fix, add wget option --no-directories to wget command in line 118,
or e.g. in line 109.

Evidence: Running update-flashplugin-nonfree --verbose --install
gave this output, however, the last line is misleading, look at the
third last line instead.  Also look at the line "Saving to ...".

options :  --verbose --install --
temporary directory: /tmp/flashplugin-nonfree.aSsWUnqTjO
selected action = --install
wgetoptions= -P .   -v --progress=dot:default 
downloading http://people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc ...
--2008-11-07 20:16:58--  
http://people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc
Resolving people.debian.org... 137.82.84.43
Connecting to people.debian.org|137.82.84.43|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 472 [text/plain]
Saving to: `./people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc'

     0K                                                       100% 11.0M=0s

2008-11-07 20:16:58 (11.0 MB/s) - 
`./people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc' saved [472/472]

FINISHED --2008-11-07 20:16:58--
Downloaded: 1 files, 472 in 0s (11.0 MB/s)
importing public key ...
verifying PGP md5.pgp.asc ...
/usr/sbin/update-flashplugin-nonfree: line 124: md5.pgp.asc: No such file or 
directory
cleaning up temporary directory /tmp/flashplugin-nonfree.aSsWUnqTjO ...
gpg rejected signature of 
http://people.debian.org/~bartm/flashplugin-nonfree/md5.pgp.asc
*** End output

My /etc/wgetrc contains only these non-comment lines:
passive_ftp = on
waitretry = 10
*** End wgetrc

My ~/.wgetrc contains
page_requisites = on
no_parent = on
reclevel = 3
recursive = on
convert_links = on
span_hosts = off
*** End .wgetrc

-- System Information:

*** Oops, this is probably wrong:

Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

*** I have pinned unstable just for one particular package, "axiom". 
*** My /etc/apt/preferences reads:
Package: axiom
Pin: release a=sid
Pin-Priority: 700

Package: *
Pin: release a=lenny
Pin-Priority: 650

Package: *
Pin: release a=sid
Pin-Priority: 600
*** End /etc/apt/preferences


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

Versions of packages flashplugin-nonfree depends on:
ii  debconf [debconf-2.0]  1.5.23            Debian configuration management sy
ii  fontconfig             2.6.0-1           generic font configuration library
ii  gnupg                  1.4.9-3           GNU privacy guard - a free PGP rep
ii  ia32-libs-gtk          2.7               GTK+ ia32 shared libraries
ii  lib32z1                1:1.2.3.3.dfsg-12 compression library - 32 bit runti
ii  nspluginwrapper        0.9.91.5-2        A wrapper to run Netscape plugins 
ii  wget                   1.11.4-2          retrieves files from the web

flashplugin-nonfree recommends no packages.

Versions of packages flashplugin-nonfree suggests:
ii  iceweasel                     3.0.3-2    lightweight web browser based on M
pn  konqueror-nsplugins           <none>     (no description available)
pn  msttcorefonts                 <none>     (no description available)
ii  ttf-dejavu                    2.25-3     Metapackage to pull in ttf-dejavu-
ii  ttf-xfree86-nonfree           4.2.1-3    non-free TrueType fonts from XFree
ii  x-ttcidfont-conf              31         TrueType and CID fonts configurati
pn  xfs                           <none>     (no description available)

-- no debconf information
--- /usr/sbin/update-flashplugin-nonfree        2008-09-01 19:11:33.000000000 
+0200
+++ /tmp/update-flashplugin-nonfree     2008-11-07 20:14:18.000000000 +0100
@@ -106,7 +106,7 @@
 
                wgetquiet=' -q '
                wgetfast='-t 3 -T 15 '
-               wgetalways=' -P . '
+               wgetalways=' -P . --no-directories '
                wgetprogress=' -v --progress=dot:default '
 
                wgetoptions="$wgetquiet $wgetalways"

Reply via email to