If you’ve tried to use the built-in “Extract Here” functionality in Ubuntu’s File Roller to extract either a single or a multi-part zip or rar file and ended up with a “Password required” error, then you might just assume the files are password protected when in fact they are not.
如果您尝试使用Ubuntu的File Roller中的内置“ Extract Here”功能来提取单个或多个部分的zip或rar文件,并最终出现“ Password required”错误,那么您可能只是假设实际上,文件没有密码保护。
It turns out that this error message pops up for one of two other reasons:
事实证明,此错误消息是由于其他两个原因之一弹出的:
- The files are named incorrectly or a file is missing. Remember that Linux is case-sensitive and all files in the set should be named similarly. 文件命名错误或文件丢失。 请记住,Linux区分大小写,并且集合中的所有文件都应以类似的方式命名。
- One of the files is damaged and might need to be repaired using GPar2, if you have the matching PAR files. 如果您具有匹配的PAR文件,则其中一个文件已损坏,可能需要使用GPar2进行修复。
Here’s the irritating error message.
这是令人讨厌的错误消息。

If you’ve also got the corresponding PAR recovery set files, what you’ll want to do is install GPar2 using the Add/Remove Applications, or by just typing the following command into a terminal prompt:
如果您还具有相应的PAR恢复集文件,则需要使用“添加/删除应用程序”或在终端提示符下键入以下命令来安装GPar2:
sudo apt-get install gpar2
须藤apt-get install gpar2
Then you can just open up any one of the .par2 files and click the Repair button, which will take a fairly long time to complete, but should allow you to extract without errors.
然后,您可以打开任何一个.par2文件,然后单击“修复”按钮,这将花费很长的时间才能完成,但应该可以正确地进行提取。

More information on PAR or Parchive files can be found at Wikipedia, of course:
当然,可以在Wikipedia上找到有关PAR或Parchive文件的更多信息:
http://en.wikipedia.org/wiki/Parchive
http://en.wikipedia.org/wiki/Parchive
翻译自: https://www.howtogeek.com/howto/ubuntu/fix-password-required-error-when-using-unrar-in-ubuntu/