Package: debian-goodies
Version: 0.53
Severity: normal
File: /usr/bin/debmany
Tags: patch

If one uses the http://http.debian.net/ mirror redirector in their
sources.list, debmany fails to download packages which are not
installed. This is due to curl seeing the HTTP redirect and then just
exiting, by default. The fix is very simple: add the --location option
to the curl invocation:

    curl --location "$url" >"$file" || error "Failed to download '$url' to 
'$file'."

(For the purpose of googling, the error you get is of the form
"dpkg-deb: unexpected end of file in version number in
/dev/shm/debmany.ucyvhHmoAJ/tmp.deb").

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages debian-goodies depends on:
ii  curl                 7.21.0-2.1+squeeze2 Get a file from an HTTP, HTTPS or 
ii  dctrl-tools [grep-dc 2.14.5              Command-line tools to process Debi
ii  dialog               1.1-20100428-1      Displays user-friendly dialog boxe
ii  less                 436-1               pager program similar to more
ii  lsof                 4.81.dfsg.1-1       List open files
ii  perl                 5.10.1-17squeeze3   Larry Wall's Practical Extraction 
ii  python               2.6.6-3+squeeze7    interactive high-level object-orie
ii  whiptail             0.52.11-1           Displays user-friendly dialog boxe

debian-goodies recommends no packages.

Versions of packages debian-goodies suggests:
ii  popularity-contest   1.49                Vote for your favourite packages a
ii  xdg-utils            1.0.2+cvs20100307-2 desktop integration utilities from
ii  zenity               2.30.0-1            Display graphical dialog boxes fro

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to