Unable to unzip

  • Hello,

    I uploaded a zipfile to my Pi2 with 7.0.1.
    I am trying to unzip it but it seems impossible. I have even given it a chmod 777 but still no go.

    LibreELEC:~ # ls -al
    total 2787349
    drwxr-xr-x 15 root root 1024 Jun 1 17:01 .
    drwxrwxr-x 16 root root 226 May 17 08:41 ..
    -rw-r--r-- 1 root root 0 Jun 1 17:01 .ash_history
    drwxr-xr-x 9 root root 1024 May 17 04:56 .cache
    drwxr-xr-x 13 root root 1024 May 17 04:57 .config
    drwxr-xr-x 7 root root 1024 May 17 04:57 .kodi
    drwx------ 2 root root 1024 May 17 04:56 .ssh
    drwxr-xr-x 2 root root 1024 May 17 04:56 .update
    -rwxrwxrwx 1 root root 2854214681 Jun 1 16:59 kodi16.arm.zip
    drwxr-xr-x 2 root root 1024 Jun 1 16:49 logs
    drwx------ 2 root root 12288 May 17 08:53 lost+found
    drwxr-xr-x 2 root root 1024 May 17 04:56 music
    drwxr-xr-x 2 root root 1024 May 17 04:56 pictures
    drwxr-xr-x 2 root root 1024 May 17 04:56 screenshots
    drwxr-xr-x 2 root root 1024 Jun 1 16:49 temp
    drwxr-xr-x 2 root root 1024 May 17 04:56 tvshows
    drwxr-xr-x 2 root root 1024 May 17 04:56 videos

    LibreELEC:~ # ls /storage/kodi16.arm.zip
    /storage/kodi16.arm.zip

    LibreELEC:~ # unzip /storage/kodi16.arm.zip -d /storage/
    unzip: cannot find or open /storage/kodi16.arm.zip, /storage/kodi16.arm.zip.zip or /storage/kodi16.arm.zip.ZIP.

    The file is not corrupt. I use the same procedure on a x86 box where it works fine.
    [hr]
    I am able to unzip a different file. Is there a size limitation somewhere as the file is 2.8GB? SD card is 32GB and /storage is 28GB

    Edited once, last by Ballistic (June 1, 2016 at 6:31 PM).

  • I am still having this problem in 2017.

    Latest Libreelec image on a Pi2. I uploaded a Winrar zipped file via scp and try to unzip:

    LibreELEC:~ # unzip /storage/kodi17.arm.zip -d /storage/ > /dev/null

    unzip: cannot find or open /storage/kodi17.arm.zip, /storage/kodi17.arm.zip.zip or /storage/kodi17.arm.zip.ZIP.

  • I also said "if", because you didn't bother to specify the zip contents.

    That's the problem sometimes, people think we can solve mysteries with only a single clue.