Public bug reported:

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@david-entroware: ~ $
    lsb_release -rd 
    Description:        Ubuntu 16.04.1 LTS
    Release:    16.04
    david@david-entroware: ~ $
    apt-cache policy atool 
    atool:
      Installed: 0.39.0-4
      Candidate: 0.39.0-4
      Version table:
     *** 0.39.0-4 500
            500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 
Packages
            500 http://gb.archive.ubuntu.com/ubuntu xenial/universe i386 
Packages
            100 /var/lib/dpkg/status
    david@david-entroware: ~ $
    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://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 
Packages
            100 /var/lib/dpkg/status

** Affects: atool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653273

Title:
  atool doesn't automatically use the 7zip binary installed by apt-get
  install p7zip

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/atool/+bug/1653273/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to