Skip to content
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

7z not detected when extracting rar #176

Open
Some1ellse opened this issue Jan 1, 2025 · 1 comment
Open

7z not detected when extracting rar #176

Some1ellse opened this issue Jan 1, 2025 · 1 comment

Comments

@Some1ellse
Copy link

As mentioned in #149 and #175 I am experiencing an issue with patool detecting 7zip. I'm not sure if I should be opening a separate issue. However #149 appears to be an issue with a zip being detected as a rar and #175 is asking for version checking which I'm not sure is the full issue.

On Debian 12:
If I install the 7zip package Patool detects it properly but the package can't actually extract a rar.
If I install the p7zip-full package instead then Patool does not detect that it's installed and I get the error mentioned in #149, if I run it 7z x directly in the shell with p7zip-full installed it does extract.

On Arch Linux:
I have the the upstream 7zip package installed as mentioned in #175 and it is not detected when attempting to uncompressed a rar file with Patool. If I run it 7z x directly in the shell instead it does extract.

On Ubuntu 24.04:
With either the 7zip or p7zip-full package installed patool does not detect it when attempting to uncompress a rar file.

@hunkyburrito
Copy link

Interesting, I was under the impression you needed the 7zip-rar package for 7zip/p7zip-full to extract rar files on Debian/Ubuntu.

I know for Ubuntu the 7zip-rar package installs /usr/lib/7zip/Codecs/Rar.so which is not detected by patool since it's in a 7zip directory instead of p7zip directory. I imagine it's the same case for Debian's 7zip-rar plugin package. On Arch Linux I believe rar support is just included in /usr/lib/7zip/7z.so rather than having a separate rar library/package.

It wouldn't be hard to include the new codec file in the list to check for support, but Arch Linux (and perhaps other distros) would most likely need some other form of checking rar support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants