Your message dated Fri, 25 Dec 2020 05:03:17 +0000
with message-id <[email protected]>
and subject line Bug#969025: fixed in debian-goodies 0.87
has caused the Debian Bug report #969025,
regarding debmany: use apt-helper for package downloads
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
969025: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969025
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debian-goodies
Version: 0.86
Severity: wishlist
Tags: patch
I've attached patch to make debmany use apt-helper instead of curl.
--
Jakub Wilk
From dd75cf7405b7fa8206b03113fb49aec12454e5bd Mon Sep 17 00:00:00 2001
From: Jakub Wilk <[email protected]>
Date: Wed, 26 Aug 2020 10:58:53 +0200
Subject: [PATCH] debmany: use apt-helper for package downloads
apt-helper is better that curl, because:
* APT it's more likely to be already installed (popcon 100%) than curl
(popcon 55%).
* curl doesn't support all the URL schemes APT does.
* curl doesn't honor APT proxy settings.
---
debmany/debmany | 8 ++++----
debmany/man/debmany.1 | 2 +-
debmany/man/debmany.de.1 | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/debmany/debmany b/debmany/debmany
index 3542d8b..6c08197 100755
--- a/debmany/debmany
+++ b/debmany/debmany
@@ -4,7 +4,7 @@
# description: select manpages+docs of any [not] installed Debian package
# comment: debmany is based on the work of debman and debget
# gui uses: whiptail (preferred), dialog or zenity as well
-# other uses: curl, $PAGER or sensible-pager (can be overwritten: -o)
+# other uses: apt, $PAGER or sensible-pager (can be overwritten: -o)
# optional: -k -x: kfmclient exec (konqueror), xdg-open (xdg-utils)
# This is free software. You may redistribute copies of it under the terms of
# the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
@@ -350,9 +350,9 @@ else
fi
fi
# download the package
- debug "Mode3: Start download using curl" # comment
- curl --location "$url" >"$file" || error "Failed to download '$url' to '$file'."
- status=repos-curl
+ debug "Mode3: Start download using APT" # comment
+ /usr/lib/apt/apt-helper download-file "$url" "$file" || error "Failed to download '$url' to '$file'."
+ status=repos-download
fi
fi
cd "$temp"
diff --git a/debmany/man/debmany.1 b/debmany/man/debmany.1
index cd0ad5f..6c29383 100644
--- a/debmany/man/debmany.1
+++ b/debmany/man/debmany.1
@@ -43,7 +43,7 @@ Zenity (a graphical dialog) is used to select the files and if necessary to ente
.PP
The manpages are temporarily extracted to a temporary directory under /tmp (or /var/tmp, if /tmp is not a directory). You can override the path if you set and export the environment variable TMPDIR or set it as a temporary variable.
.PP
-You need to have the Debian package "whiptail" (preferred) or "dialog" as well as "curl" installed.
+You need to have the Debian package "whiptail" (preferred) or "dialog" as well as "apt" installed.
.SH "EXAMPLES"
.TP
debmany coreutils
diff --git a/debmany/man/debmany.de.1 b/debmany/man/debmany.de.1
index 05cacf1..8b3009a 100644
--- a/debmany/man/debmany.de.1
+++ b/debmany/man/debmany.de.1
@@ -43,7 +43,7 @@ Zur Auswahl der Dateien und ggf. zur Eingabe des Paketes wird "zenity" (grafisch
.PP
Die Manpages werden temporär nach /tmp oder /var/tmp extrahiert. Durch das Setzen und Exportieren der Umgebungsvariable TMPDIR bzw. das Setzen als temporären Variable kann der Speicherort überschrieben werden.
.PP
-Das Debian Paket "whiptail" (bevorzugt) oder "dialog" sowie "curl" muss installiert sein.
+Das Debian Paket "whiptail" (bevorzugt) oder "dialog" sowie "apt" muss installiert sein.
.SH "BEISPIELE"
.TP
debmany coreutils
--
2.28.0
--- End Message ---
--- Begin Message ---
Source: debian-goodies
Source-Version: 0.87
Done: Axel Beckert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debian-goodies, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Axel Beckert <[email protected]> (supplier of updated debian-goodies package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 25 Dec 2020 05:27:37 +0100
Source: debian-goodies
Architecture: source
Version: 0.87
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Closes: 916825 929802 969024 969025 977924
Changes:
debian-goodies (0.87) unstable; urgency=medium
.
[ Paul Wise ]
* find-dbgsym-packages: print the command being executed
.
[ Javier Fernández-Sanguino Peña ]
* checkrestart: Ignore deleted files in /var/lib/sss/mc/ as
these are caches from sssd using patch provided by
Baptiste Beauplat (Closes: #929802)
.
[ Boyd Stephen Smith Jr. ]
* find-dbgsym-packages: Support 64-bit build-ids like in chromium.
(Closes: #977924)
.
[ Axel Beckert ]
* Fix some rendering and consistency issues in find-dbgsym-packages(1).
* Declare compliance with Debian Policy 4.5.1. (No changes needed.)
* debmany: Bail out properly if neither whiptail nor dialog is
installed. Thanks to Jakub Wilk for the bug report! (Closes: #969024)
.
[ Jakub Wilk ]
* debmany: use apt-helper for package downloads. (Closes: #969025)
.
[ Christopher David Howie ]
* checkrestart: Don't flags dovecot for restart due to deleted
dovecot.index files. (Closes: #916825)
Checksums-Sha1:
9a0e377fa1f886354e2928d045c4821f58141d1a 1636 debian-goodies_0.87.dsc
1be8c0d9544f1728ea6e53a94e8a68352fd87f0d 69716 debian-goodies_0.87.tar.xz
c03ca9780b4788ef3196b3c61ea2481fbc78640d 6378
debian-goodies_0.87_source.buildinfo
Checksums-Sha256:
6e74b3c59518feeea6af1138c2feb0c3f095faf443508570ed809232de10c9b7 1636
debian-goodies_0.87.dsc
49b2f184c48d2f40fab552d7907c72a2348caa82297b35104048ce5126368af5 69716
debian-goodies_0.87.tar.xz
afe591e46a0aba4f4b3290c73b430df76d8ea5d55e28a842c4a329d11afe6ff7 6378
debian-goodies_0.87_source.buildinfo
Files:
56f30cc5d89dd7a98d5300aa62868f52 1636 utils optional debian-goodies_0.87.dsc
889bd2574c04f77f6f544ecd31c7b33a 69716 utils optional
debian-goodies_0.87.tar.xz
d6d9ed54a8bf7acf8839a68fe72addaf 6378 utils optional
debian-goodies_0.87_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAl/lavoACgkQa+Zjx1o1
yXXcxBAAmL+9O6pJLMNbvgTmMUCpFr1IvN8hRjQBLtbxvwxnpqTPNnpJnPkeFfp5
FJ054MqpvsdtqeLUAiHlXL2g+6D0GhUa+Tg3pQVVaPSUE2vBHIhynBHxVPkl/JK8
xursjfI47wc76GVADCGo/CHWBT0sU8LdZu6ukAyjahavFLG2qYcbcI8BVj7paA6W
LvnecxR7L3SOpndJ3ecUslwIjQXZb+TDWCy34muc+s/015LQdvVOviqmKKzCr3Rr
nm/RYuV3UITdT6H5prgJqjYvnYzG6xexObfp31zCwPe+0Lstq1jRn/bgHE483gYK
B77SjF0EHGNlsc+j536T67F7MgobowS9IepdcxqkoNcZgaLSdg51vcZoYS0xsUt5
Fav+b4ykDYaHd9/qd9/tsYVjQQ5EZwa/mHIzFODUNkaZxuN6+A2pZnS+yxptrt5q
GqSpf0wZQHCQ4R7iQLtHLi8NETwURJmpxL2xvDdateIyu3jOPOJhyssnMxUd5avh
BB/1wCZ7idAV1sSHmMhPCymqL1JQFMCeQ7Q2wc4eF+eOjwsnodurJwMCB7ZDLga2
SbiT8l0GN2OfnfAnursRMeUCUWLauL/kOMWvYBnsX11IEBanipTcUrq8uOL1TMXK
HCBsbfCzg/Lk5fQiREkGEyOgCflbMUtzCp6qFNx7ZomFSFfapY8=
=9IL5
-----END PGP SIGNATURE-----
--- End Message ---