Your message dated Mon, 22 Feb 2016 00:46:09 +0000
with message-id <e1axedd-0006ky...@franck.debian.org>
and subject line Bug#815456: Removed package(s) from unstable
has caused the Debian Bug report #782179,
regarding apt-zip: apt-zip-list --aptgetaction=update doesn't do anything 
because "apt-get -qq --print-uris update" outputs nothing
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 ow...@bugs.debian.org
immediately.)


-- 
782179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782179
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt-zip
Version: 0.18
Severity: grave
Tags: patch jessie sid
Justification: Updating package lists silently broken

Dear Maintainer,

"apt-zip-list --aptgetaction=update" does nothing on Jessie:

# apt-zip-list --medium=/tmp/apt-zip-test/ --skip-mount --aptgetaction=update 
-o tar --no-md5
The download size is unknown in 0 files.
#

Reason is that "apt-get -qq --print-uris update" has no output at all
anymore:

# apt-get -qq --print-uris update
#

The expected output comes back if I remove one "q":

# apt-get -q --print-uris update
'http://debian.ethz.ch/debian/dists/jessie/main/source/Sources.bz2' 
debian.ethz.ch_debian_dists_jessie_main_source_Sources 0 :
'http://debian.ethz.ch/debian/dists/jessie/main/binary-amd64/Packages.bz2' 
debian.ethz.ch_debian_dists_jessie_main_binary-amd64_Packages 0 :
'http://debian.ethz.ch/debian/dists/jessie/main/i18n/Translation-en.bz2' 
debian.ethz.ch_debian_dists_jessie_main_i18n_Translation-en 0 :
'http://debian.ethz.ch/debian/dists/jessie/InRelease' 
debian.ethz.ch_debian_dists_jessie_InRelease 0 
[...]
#

The following patch fixes the issue:

diff --git a/apt-zip-list b/apt-zip-list
index f5d7acb..49bb69e 100755
--- a/apt-zip-list
+++ b/apt-zip-list
@@ -33,9 +33,15 @@ APTGETEXTRAOPTS="${APTGETEXTRAOPTS} -o Debug::NoLocking=true"
 TMP=$(tempfile -p aptzip)
 TEMP=$(tempfile -p aptzip)
 
+if [ "$APTGETACTION" = update ]; then
+    APTGETQUIETLEVEL=-q
+else
+    APTGETQUIETLEVEL=-qq
+fi
+
 [ -n "$PACKAGES" ] && apt-get ${APTGETEXTRAOPTS} -qq --print-uris install 
$PACKAGES > "$TMP"
-[ -n "$APTGETACTION" ] && apt-get ${APTGETEXTRAOPTS} -qq --print-uris 
${APTGETACTION} >> "$TMP"
+[ -n "$APTGETACTION" ] && apt-get ${APTGETEXTRAOPTS} ${APTGETQUIETLEVEL} 
--print-uris ${APTGETACTION} >> "$TMP"
 grep $GREP < "$TMP" | tr -d "'" | sed 's/MD5Sum://' | sort -u > "$TEMP"
 if [ $? != 0 ]
 then

(The above patch can be applied after the patch from #638840 has been
applied.)

-- System Information:
Debian Release: 8.0
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apt-zip depends on:
ii  apt  1.0.9.7

apt-zip recommends no packages.

apt-zip suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 0.18+rm

Dear submitter,

as the package apt-zip has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/815456

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to