I have a file that I'm trying to extract that was broken up into multiple .rar files (.rar, .r00, .r01, etc). I've tried dtrx, unrar-free and unp but all three failed. I also tried installing unrar, but it couldn't install. I ended up using 7zip over the network to get my file extracted.
I've copied down what the terminal outputs for each program I've tried on the same file, and also what happened when i tried to install unrar via terminal. I installed the other three programs through the apttool plug in.
dtrx
Traceback (most recent call last):
File "/usr/bin/dtrx", line 1346, in <module>
sys.exit(app.run())
File "/usr/bin/dtrx", line 1331, in run
builder.get_extractor()))
File "/usr/bin/dtrx", line 1277, in try_extractors
for extractor in builder:
File "/usr/bin/dtrx", line 996, in get_extractor
getattr(self, 'try_by_' + func_name)(self.filename)
File "/usr/bin/dtrx", line 1024, in try_by_magic
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Alles anzeigen
unrar-free
unp - not sure why it failed because unrar-free was installed when I ran it
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers
Extracting from <filepath.rar>
Extracting <file> Failed
1 Failed
Error, following packages must be installed in order to proceed:
rar or unrar or unrar-free
unrar
sudo apt-get install unrar
[sudo] password for <me>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'unrar' has no installation candidate
Alles anzeigen
Any suggestions on how to fix my issue?
Bonus points if you can suggest a way to auto unrar files in a folder once a download finishes or if that is not possible, to run a command once on a directory and have it extract from all sub directories.