Marginal / QLVideo

This package allows macOS Finder to display thumbnails, static QuickLook previews, cover art and metadata for most types of video files.
GNU General Public License v2.0
2.59k stars 88 forks source link

Cannot install because signature is invalid or corrupted #94

Closed Jolanxbl closed 2 years ago

Jolanxbl commented 2 years ago

Mavericks

image

Ulrik54 commented 2 years ago

Installing with Homebrew (El Capitan) yields following error message: Error: Failure while executing; '/usr/bin/sudo -E -- /usr/bin/env LOGNAME=ulrik USER=ulrik USERNAME=ulrik /usr/sbin/installer -pkg /usr/local/Caskroom/qlvideo/1.94/QLVideo_194.pkg -target /' exited with 1. Here's the output: installer: Package name is QuickLook Video installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override. Where to put the -allowUntrusted command?

EDIT: found a temporary workaround. Unpack and repack the package with pkgutil in Terminal: pkgutil --expand package.pkg /tmp/package.pkg pkgutil --flatten /tmp/package.pkg package_fixed.pkg where "package.pkg" is the path to the downloaded (broken) package, "/tmp/package.pkg" is where said package will be temporarily expanded (in this case the /tmp folder), and "package_fixed.pkg" is the path where the new fixed package will be put. Expanding and reflattening a package will remove its signature, and unsigned packages are (as of now) installed without issues.

craigalness commented 2 years ago

Hi, Is there a workaround for Monterey 12.5 (21G72)? Craig

Ulrik54 commented 2 years ago

Unless pkgutil works in Monterey as well, I have no idea. I have never installed anything newer than El Capitan.

craigalness commented 2 years ago

Hey, thanks for the reply, I will give it a try.

craigalness commented 2 years ago

I was able to successfully install but preview is still not working after reboot. Might be a codec in the mp4 from a Sony FX3 that is not compatible Thanks for the help.

eirnym commented 2 years ago

@craigalness could you please try to open it in mpv (the easiest way) and similar software?

Marginal commented 2 years ago

Fixed in release 1.96

Ulrik54 commented 2 years ago

After the update, it no longer works on older systems (which is what OP and I were reporting issues on in the first place). Current solution using pkgutil still applies until a fix is implemented.