You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I previously used installpkg on Catalina without issues and recently tried to use it on the same system with Ventura and keep getting this error regardless of the .pkg file I choose or even a folder containing multiple.
Installing Item : /Users/username/Downloads/file.pkg
installer: Package name is File
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while extracting files from the package “File.pkg”.)
WARNING! : Errors were encountered during installation of package : /Users/username/Downloads/file.pkg
----------------------------------------------------------------------------
Summary :
ERROR! : No packages (.pkg or .mpkg) or images (.dmg) were installed.
WARNING : [1] packages or images failed installation.
Update:
So, I realised a change I made recently other than the OS update was that I switched over to iTerm2 instead of the default Terminal.
After a little digging, I realised that iTerm did not have Full Disk Access. Once this was granted we were back to smooth sailing!
I know this is almost a decade-old project but it's been very handy when it comes to installing packages in bulk!
I just wanted to say thank you and also see if you could add a message for users to check they have given Full Disk Access to whatever terminal software they are using for this to function correctly. :)
The text was updated successfully, but these errors were encountered:
Glad that installpkg is useful. Also, good work on debugging the error message. It is good you have a work around. I will certainly take a look a look at improved error messages regarding this particular situation.
If I am able to work something out, then I will post back to this issue letting you know an update is available. If you manage to work out anything else related to this or if you have a pull request to contribute to the project or even a code snippit to assist with detecting if the program is being run within a particular shell feel free to provide this to me.
As a possible interim solution which may help out others. The error message could be updated with a suggestion of checking that MacOS full disk access has been configured.
Thanks again for reporting this issue and for working out the solution.
Henri
Hi @henri,
I previously used installpkg on Catalina without issues and recently tried to use it on the same system with Ventura and keep getting this error regardless of the .pkg file I choose or even a folder containing multiple.
Update:
So, I realised a change I made recently other than the OS update was that I switched over to iTerm2 instead of the default Terminal.
After a little digging, I realised that iTerm did not have Full Disk Access. Once this was granted we were back to smooth sailing!
I know this is almost a decade-old project but it's been very handy when it comes to installing packages in bulk!
I just wanted to say thank you and also see if you could add a message for users to check they have given Full Disk Access to whatever terminal software they are using for this to function correctly. :)
The text was updated successfully, but these errors were encountered: