atool doesn't automatically use the 7zip binary installed by apt-get install p7zip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
atool (Debian) |
Fix Released
|
Unknown
|
|||
atool (Ubuntu) |
Fix Released
|
Undecided
|
François Marier |
Bug Description
By default atool seems to look for a 7zip binary called 7z, but doing `apt-get install p7zip` gets you a binary called 7zr.
What I did: `atool -x [7zip archive]`.
What I expected to happen: archive extracted to a dir in the current directory.
What happened: failure with the message
Can't exec "7z": No such file or directory at /usr/bin/atool line 1869.
7z: cannot execute - No such file or directory
atool: 7z ...: non-zero return-code
Adding the line:
path_7z 7zr
to /etc/atool.conf makes it work, at least for this use case.
Version details:
david@
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
david@
apt-cache policy atool
atool:
Installed: 0.39.0-4
Candidate: 0.39.0-4
Version table:
*** 0.39.0-4 500
500 http://
500 http://
100 /var/lib/
david@
apt-cache policy p7zip
p7zip:
Installed: 9.20.1~dfsg.1-4.2
Candidate: 9.20.1~dfsg.1-4.2
Version table:
*** 9.20.1~dfsg.1-4.2 500
500 http://
100 /var/lib/
Changed in atool (Debian): | |
status: | Unknown → Fix Released |
It should work if you install the "p7zip-full" package instead of "p7zip".
I have updated the dependency and uploaded a new version to Debian.