Support » Plugin: GDPR Cookie Consent » Composer install failing

  • Resolved jwnardini

    (@jwnardini)


    I have a WP site which manages plugins using Composer.

    I’m trying to require and install another plugin, but cookie-law-info package is preventing me from doing so. I’m trying to update it and this is the output of my console:

    user@user ~/Sites/ugroup(UGW-371) $ lando composer install
        1/11:	http://repo.packagist.org/p/provider-2014$afb89a9986e5bc62b5df9280d3dc47ec97c503e067e1d905131f8207fa07ec1f.json
        2/11:	http://repo.packagist.org/p/provider-latest$2be14e8f87fb6c72e171b53eaf3c198cf6f0d569f5f1332980fae65e2e47b1af.json
        3/11:	http://repo.packagist.org/p/provider-2019-07$64cb3d7fb1a76cab42a6211575090147b7b786779ad05e344bf563a262951180.json
        4/11:	http://repo.packagist.org/p/provider-2019-01$3bd24dcfe98b018b67d238672efe4157e2676eadf33ce179de721051c4bd3490.json
        5/11:	http://repo.packagist.org/p/provider-2018-10$750a787b77a8b5871d6bb5c26c9cab3c9daef48d3debafa0155d751ce76ea50c.json
        6/11:	http://repo.packagist.org/p/provider-2013$aed14a79da6d69f1c66acb8a9dca2d730ddbd45b660cff4e4a08b7fb1c2150af.json
        7/11:	http://repo.packagist.org/p/provider-2015$30ca9e1db440aec1e84f3571daa7a6f838bec0c1b0f0fa98a5346a763d99ec74.json
        8/11:	http://repo.packagist.org/p/provider-2019-04$68256e58f5d2d673d042c30b7afa944f6f9923324f699f2c8aca521244b632ea.json
        9/11:	http://repo.packagist.org/p/provider-2016$251f0e3f114da88cc068d287a19ba8b6a3510483af4a330140ee9315ada3fd62.json
        10/11:	http://repo.packagist.org/p/provider-2018$8e1b8102f73cad086793bb57a172c0c4c35c14f1be9a3f7a86efe67c43c310f7.json
        11/11:	http://repo.packagist.org/p/provider-2017$970350226b20747e48fcba472ed5bc07002133dbb0794c3729886b069bc008b3.json
        Finished: success: 11, skipped: 0, failure: 0, total: 11
    Loading composer repositories with package information
    Updating dependencies (including require-dev)                         
    Package operations: 1 install, 0 updates, 0 removals
      - Installing wpackagist-plugin/cookie-law-info (1.7.8): Loading from cache
        Failed to execute unzip -qq  'web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip' -d '/app/vendor/composer/c97c543b'
    
    [web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.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 web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip or
            web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip.zip, and cannot find web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip.ZIP, period.
    
        The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
        Unzip with unzip command failed, falling back to ZipArchive class
    
        Invalid zip file, retrying...
      - Installing wpackagist-plugin/cookie-law-info (1.7.8): Loading from cache
        Failed to execute unzip -qq  'web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip' -d '/app/vendor/composer/c97c543b'
    
    [web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.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 web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip or
            web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip.zip, and cannot find web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip.ZIP, period.
    
        The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
        Unzip with unzip command failed, falling back to ZipArchive class
    
        Invalid zip file, retrying...
      - Installing wpackagist-plugin/cookie-law-info (1.7.8): Loading from cache
        Failed to execute unzip -qq  'web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip' -d '/app/vendor/composer/c97c543b'
    
    [web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.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 web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip or
            web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip.zip, and cannot find web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip.ZIP, period.
    
        The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
        Unzip with unzip command failed, falling back to ZipArchive class
        Failed to download wpackagist-plugin/cookie-law-info from dist: 'web/wp-content/plugins/cookie-law-info//c979afc7c306ab1ce03a4579187ffb2f.zip' is not a zip archive.
        Now trying to download from source
      - Installing wpackagist-plugin/cookie-law-info (1.7.8):  Checking out tags/1.7.8
    
                                         
      [RuntimeException]                 
      Package could not be downloaded,   
      sh: 1: svn: not found              
                                         
    
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
    

    Is this an issue with the plugin itself?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I should probably clarify, this is the require declaration:

    "wpackagist-plugin/cookie-law-info": "^1.7.8",

    Plugin Author webtoffee

    (@webtoffee)

    Hi @jwnardini,

    We checked the scenario in our testing environment and we are not facing any issues. It might due to some caching in your site. Please try clearing site cache of any kind.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Composer install failing’ is closed to new replies.