[Android-tools-devel] Bug#967240: google-android-ndk-installer: When the download failed, the installer failed to restart it.

Remi Vanicat vanicat at debian.org
Tue Aug 4 10:52:33 BST 2020


Package: google-android-ndk-installer
Version: 21d
Severity: normal

Hello,

I had a network failure while upgrading the package, and the download
failed.

While trying to restart the configuration of the package, I had the
following error:

  Archive:  android-ndk-r21d-linux-x86_64.zip                                                                                                      
    End-of-central-directory signature not found.  Either this file is not                                                                         
    a zipfile, or it constitutes one disk of a multi-part archive.  In the                                                                         
    latter case the central directory and zipfile comment will be found on                                                                         
    the last disk(s) of this archive.                                                                                                              
  unzip:  cannot find zipfile directory in one of android-ndk-r21d-linux-x86_64.zip or
          android-ndk-r21d-linux-x86_64.zip.zip, and cannot find android-ndk-r21d-linux-x86_64.zip.ZIP, period.                                    

The archive was partially downloaded, and the package did not try to
continue.

I've change the makefile to the attached version to make wget --continue
really continue the download, and it seem to work (I've a slow
connection, and didn't yet wait the 4h of the download).

Thanks,
Rémi.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20200804/8999eae8/attachment-0001.ksh>
-------------- next part --------------


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages google-android-ndk-installer depends on:
ii  build-essential        12.8
ii  ca-certificates        20200601
ii  debconf [debconf-2.0]  1.5.74
ii  dpkg-dev               1.20.5
ii  make                   4.3-4
ii  po-debconf             1.0.21
ii  unzip                  6.0-25
ii  wget                   1.20.3-1+b3

google-android-ndk-installer recommends no packages.

google-android-ndk-installer suggests no packages.

-- debconf information:
  google-android-installers/mirror: https://dl.google.com

-- 
Rémi Vanicat


More information about the Android-tools-devel mailing list