QLVideo icon indicating copy to clipboard operation
QLVideo copied to clipboard

Cannot install because signature is invalid or corrupted

Open Jolanxbl opened this issue 2 years ago • 6 comments

Mavericks

image

Jolanxbl avatar Apr 02 '22 06:04 Jolanxbl

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.

Ulrik54 avatar Jul 24 '22 22:07 Ulrik54

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

craigalness avatar Aug 02 '22 20:08 craigalness

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

Ulrik54 avatar Aug 03 '22 14:08 Ulrik54

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

craigalness avatar Aug 03 '22 17:08 craigalness

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.

craigalness avatar Aug 03 '22 21:08 craigalness

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

eirnym avatar Aug 04 '22 06:08 eirnym

Fixed in release 1.96

Marginal avatar Nov 13 '22 12:11 Marginal

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.

Ulrik54 avatar Nov 24 '22 00:11 Ulrik54