-
Notifications
You must be signed in to change notification settings - Fork 60
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
tarsnap: Pathname in pax header can't be converted to current locale. #366
Comments
If you run
what do you see? (My first guess is that your current locale doesn't support UTF-8, so the solution would be to add that. But let's see what your system says first.) |
Thanks for the quick response, output below:
|
Huh. Do you remember what locale you used in Ubuntu (or what language)? For example, what it set to I'm still looking into this. For the record, tarsnap uses |
Oh, one more thing to try:
(or maybe with I'd hope that OSX would have run that automatically during installation / upgrade, but you never know... |
I was able to run
Back on my Mac, I tried running |
Next idea: download the archive, then investigate with other tar tools. I made an archive called
I expect the The "Ignoring unknown extended..." is a BSD tar vs. GNU tar thing, and can be safely ignored. (if you're curious, it's discussed here: https://superuser.com/questions/318809/linux-os-x-tar-incompatibility-tarballs-created-on-os-x-give-errors-when-unt ) The main thing I'm hoping to find out is whether you can get a tarball or not, because that should help to zoom in on the problem. |
Strange, I tried restoring the file this morning after shutting down and restarting my machine, and it worked 🤔 I suspect I know the cause of the issue. I had previously set I thought that closing the shell and reopening would be enough to ensure that the LC_CTYPE was not overwritten (and indeed, the Thank you for the help @gperciva -- if you'd like me to to any other tests to find the definitive cause (and possibly help future users), please let me know! |
Thanks for letting me know, and I'm relieved that you can access your files! :) I was starting to think of really far-fetched possibilities. For the record, I can somewhat reproduce this problem on Linux:
I appear to have all the data, but it definitely gave me a scary error message. @yazinsai: if you try it again with I'll think about a bit more, and either:
One way or another, there should definitely be more info available to users about this situation. |
Technical notes (mainly for myself) that might be useful at some point:
|
When I try to restore a file that I had previously backed up on Ubuntu 16.04 (running on Windows Subsystem for Linux) on my mac, I get the following error:
The command I'm running is:
--
System Version: macOS 10.14.6 (18G95)
Kernel Version: Darwin 18.7.0
The text was updated successfully, but these errors were encountered: