Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with recent update #1726

Open
andredevleeschouwer opened this issue Jan 23, 2024 · 15 comments · May be fixed by #1741
Open

Problem with recent update #1726

andredevleeschouwer opened this issue Jan 23, 2024 · 15 comments · May be fixed by #1741

Comments

@andredevleeschouwer
Copy link

Today I have Vienna 3.8.8. Vienna asks for an update to 3.9.0, warning that Mac OS 10.13 of later is necessary. On my computer is 10.13.6. However, after downloading, unpacking and trying to install I get the message that installing is not possible, because there an error occurred. I did this already 4 times, always with the same result. See 2 printscreens.
Regards, André De Vleeschouwer.

@TAKeanice
Copy link
Contributor

Sorry to hear you are having trouble. Seems that the screenshots are missing in your post, though. Can you add them and maybe look for any log file from the installation process?

@andredevleeschouwer
Copy link
Author

andredevleeschouwer commented Jan 23, 2024 via email

@barijaona
Copy link
Member

Obviously, pictures attached as e-mail attachments are not displayed by GitHub.

@andredevleeschouwer, please visit the issue webpage #1726 to post your screenshots.

@andredevleeschouwer
Copy link
Author

andredevleeschouwer commented Jan 24, 2024 via email

@Eitot
Copy link
Contributor

Eitot commented Jan 25, 2024

This seems to be an issue with the Sparkle updater. Without the exact wording of the error, this cannot be investigated further.

As a workaround, you can also just download the latest version of Vienna from GitHub and install it.

@andredevleeschouwer
Copy link
Author

andredevleeschouwer commented Jan 26, 2024 via email

@gpb01
Copy link

gpb01 commented Jan 26, 2024

I have had the same problem ... I don't know exactly what's wrong with this .tgz file, but under MacOS 10.14.6 (Mojave), both the system program and an application called "Archiver" report the same problem. I was able to solve it by using a third program called "BetterZip", which was able to extract the application from the .tgz without any errors.

Don't ask me why or what the differences are ... I don't know, but it was the only way I could update the program.

Suggestion, wouldn't it be possible to use a more standard .zip or .dmg?

Guglielmo

@andredevleeschouwer
Copy link
Author

andredevleeschouwer commented Jan 26, 2024 via email

@Eitot
Copy link
Contributor

Eitot commented Feb 3, 2024

@barijaona I think the problem #1611 is back.

Vienna3.9.0.tgz is using "POSIX pax interchange format" instead of "POSIX ustar format". I have not found the problematic files though.

If someone on 10.13 or 10.14 could try this:
tar --extract --gzip --verbose --file Vienna3.9.0.tgz

and post the Terminal output, it could help.

Edit: All files in Vienna3.9.0.tgz have the "com.apple.provenance" extended attribute, which is missing in Vienna3.8.8.tgz (Vienna3.9.0_beta1.tgz does not have it either). This might be the problem.

@andredevleeschouwer: Can you check whether the 3.9.0 beta version extracts without errors using the system Archive Utility?

@gpb01
Copy link

gpb01 commented Feb 3, 2024

Tried on macOS 10.14.6 with the following command:

tar --extract --gzip --verbose --file /Users/gpb01/Desktop/Vienna3.9.0.tgz 2> /Users/gpb01/Desktop/extract.log

... attached is the error log:

extract.log

Guglielmo

@Eitot
Copy link
Contributor

Eitot commented Feb 3, 2024

@gpb01 Thanks. I suppose this means that every file in the archive is affected by this error. I suspect that it is indeed the above mentioned attribute "com.apple.provenance".

@gpb01
Copy link

gpb01 commented Feb 3, 2024

Can you check whether the 3.9.0 beta version extracts without errors using the system Archive Utility?

Better but still 6 errors:

...
x Vienna.app/Contents/Frameworks/libswiftFoundation.dylib
x Vienna.app/Contents/Frameworks/Sparkle.framework/._Resources
tar: Ignoring malformed pax extended attribute
x Vienna.app/Contents/Frameworks/Sparkle.framework/Resources
x Vienna.app/Contents/Frameworks/Sparkle.framework/Versions/
x Vienna.app/Contents/Frameworks/Sparkle.framework/._Autoupdate
tar: Ignoring malformed pax extended attribute
x Vienna.app/Contents/Frameworks/Sparkle.framework/Autoupdate
x Vienna.app/Contents/Frameworks/Sparkle.framework/._Updater.app
tar: Ignoring malformed pax extended attribute
x Vienna.app/Contents/Frameworks/Sparkle.framework/Updater.app
x Vienna.app/Contents/Frameworks/Sparkle.framework/._XPCServices
tar: Ignoring malformed pax extended attribute
x Vienna.app/Contents/Frameworks/Sparkle.framework/XPCServices
x Vienna.app/Contents/Frameworks/Sparkle.framework/._Sparkle
tar: Ignoring malformed pax extended attribute
x Vienna.app/Contents/Frameworks/Sparkle.framework/Sparkle
x Vienna.app/Contents/Frameworks/Sparkle.framework/Versions/._Current
tar: Ignoring malformed pax extended attribute
x Vienna.app/Contents/Frameworks/Sparkle.framework/Versions/Current
x Vienna.app/Contents/Frameworks/Sparkle.framework/Versions/B/
...

Hope this help :)

Guglielmo

@Eitot
Copy link
Contributor

Eitot commented Feb 3, 2024

@gpb01 Thanks again. Those 6 files (file links) also have the "com.apple.provenance" attribute.

For some reason that attribute survived the xattr -c -r Vienna.app during the build process. When I use that command on the extracted copy, the "com.apple.provenance" attribute is successfully removed (macOS 14.3).

@zorgiepoo
Copy link

Use --no-xattrs when creating the tar. Clearing them before creating the tar is somewhat of a race condition / hack.

@scrutinizer11
Copy link

I concur. Upon downloading the update package and hitting "Install" the error "error occurred while trying to extract the archive". macOS 10.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants