Skip to content

Error during unzip #8

@a5dur

Description

@a5dur

cmd!(sh, "unzip qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?;

Error:

$ unzip qsv-4.0.0-x86_64-unknown-linux-gnu.zip 
Archive: qsv-4.0.0-x86_64-unknown-linux-gnu.zip 
replace README? [y]es, [n]o, [A]ll, [N]one, [r]ename: 
NULL (EOF or read error, treating as "[N]one" ...) 
inflating: qsvdp_glibc-2.31 
Error: command exited with non-zero code unzip qsv-4.0.0-x86_64-unknown-linux-gnu.zip: 1

Solution:

unzip -o qsv-4.0.0-x86_64-unknown-linux-gnu.zip

-o → overwrite files without prompting
This avoids the interactive replace README? prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions