I'm trying to:
sudo tar xpzf mira-2044-x86_64-Darwin.tgz -C /
I am in the correct directory (my Downloads folder) but I get this error:
./usr/: Can't set user=0/group=0 for usrCan't update time for usr tar: Error exit delayed from previous errors.
What does this error mean in this context?
Option
poftarmeans preserve permissions.taris attempting to set file permission, ownership and modification time of some existing directories. In MacOS,/usris owned byroot:wheelbut the archive has it owned byroot:root.Unfortunately, when running
taras superuser, the default is to preserve permissions. So you cannot turn this off.Fortunately,
koption oftarwill skip overwriting existing files or directories. You can telltarnot to overwrite/usr,/usr/local,/usr/local/binand any directories that you already have.Modification time is always restored when a file or directory is restored. Option
kwill already prevent modification time to get updated when it tellstarnot to overwrite existing directories/files. It is still better to know that the optionmtellstarnot to update the modification time of a file/directory.You should now be able to install
mirandaby running:That added
v(verbose) option is just to let you see what are being extracted.