Menu

#8 .cbr files aren't working on Debian

SVN
open
nobody
None
5
2015-12-21
2013-09-29
jeff_denver
No

I'm able to open .cbz files without an issue. When I open a .cbr file the images are blank. I have unrar installed. I'm not sure what I'm doing wrong. Any help would be appreciated. Thanks!

Related

Support Requests: #8

Discussion

  • Oddegamra

    Oddegamra - 2013-09-29

    Hello,

    I'll try to get myself a Debian VM later today to do some tests, but I'd also be interested in some other information:
    - Is this limited to one particular archive, and can this archive be extracted normally using unrar x? (just to make sure the file isn't corrupted)
    - If not, does your system have libunrar installed? (/usr/lib/libunrar.so I guess)
    - If yes, are you using an x86 or x64 architecture?
    - If no, can you post the version of unrar you are using? (Just executing "unrar" in some console should display the help screen, with the version number being printed on top)

    Oh, almost forgot the most important part: Which version of MComix are you running?

     

    Last edit: Oddegamra 2013-09-29
  • jeff_denver

    jeff_denver - 2013-09-29

    Thanks for the quick response. The issue was that on Debian there is a difference between unrar and unrar-nonfree. The free rar version is limited on what it will unrar. You need the nonfree version to be able to unrar all files.

    Debian won't check for packages for nonfree software unless you add a line in the sources file.

    I'm now able to open .cbr and .cbz files.

    Again, thanks for the help and the quick response. I'm a little surprised that no one else has run into this issue before. Others probably had already added in a line in their sources file to check for nonfree software and didn't encounter this issue.


    From: Oddegamra oddegamra@users.sf.net
    To: [mcomix:support-requests] 8@support-requests.mcomix.p.re.sf.net
    Sent: Sunday, September 29, 2013 12:43 AM
    Subject: [mcomix:support-requests] #8 .cbr files aren't working on Debian

    Hello,
    I'll try to get myself a Debian VM later today to do some tests, but I'd also be interested in some other information:
    - Is this limited to one particular archive, and can this archive be extracted normally using unrar -x? (just to make sure the file isn't corrupted)
    - If not, does your system have libunrar installed? (/usr/lib/libunrar.so I guess)
    - If yes, are you using an x86 or x64 architecture?
    - If no, can you post the version of unrar you are using? (Just executing "unrar" in some console should display the help screen, with the version number being printed on top)


    [support-requests:#8] .cbr files aren't working on Debian
    Status: open
    Created: Sun Sep 29, 2013 01:54 AM UTC by jeff_denver
    Last Updated: Sun Sep 29, 2013 01:54 AM UTC
    Owner: nobody
    I'm able to open .cbz files without an issue. When I open a .cbr file the images are blank. I have unrar installed. I'm not sure what I'm doing wrong. Any help would be appreciated. Thanks!


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mcomix/support-requests/8/
    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Support Requests: #8

  • Kenichiro MATOHARA

    I also had this problem
    When I unrar-free seems this issue comes out
    It was solved where it was to unrar non-free version

    It should be noted, was a similar movement even Comix.

    environment
    Debian testing stretch amd64
    MComix 1.00-1
    unrar-free 1:0.0.1+cvs20140707-1
    unrar-nonfree 1:5.3.2-1

     
  • Benoit Pierre

    Benoit Pierre - 2015-12-21

    I looked into this on Arch Linux, and there are several problems with the version of unrar-free I installed (CVS 20140412):

    • the executable is named unrar-free: that one is easy to fix
    • the command line options are different: this one would need some work
    • it fails at extracting most of the sample files are tried (from the MComix test suite: test/files/archives/*.rar)

    So really, not worth the effort on Arch Linux, and even if it does works better on Debian (as in you can successfully extract files), you're still better of using either libunrar or 7z (for better Unicode support, both recommended over unrar).

     
  • Ark

    Ark - 2015-12-21

    For the record:

    • According to the package description in Debian Jessie, unrar-free 1:0.0.1+cvs20140707-1 even struggles with RAR 3.
    • p7zip-full suggests p7zip-rar (non-free) but mcomix 1.00-1 (jessie and current sid) only suggests unrar (non-free).
    • I could not find libunrar or anything like that in the Debian repositories.
    • Regarding archive support and Debian: The current packages mcomix and comix have similar dependencies. Thus, if comix can open a given archive, mcomix is (most likely) able to open it as well.
    • On Arch, community/mcomix 1.01-1 lists unrar as optional dependency but not extra/p7zip.

    I wonder why unrar is often listed as optional dep but p7zip is not. Anyway, thanks to Kenichiro MATOHARA's post, I just tested RAR 5 archives with [r1419] on Arch, resulting in [bugs:#99].

     

    Related

    Bugs: #99
    Commit: [r1419]

    • Kenichiro MATOHARA

      It worked well with a combination of r1419 and unrar-free.
      thank you!

      • Remove rar non-free.

        $ dpkg -l unrar*
        Desired=Unknown/Install/Remove/Purge/Hold
        | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
        |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
        ||/ Name Version Architecture Description
        +++-===============================-====================-====================-====================================================================
        ii unrar 1:5.3.2-1 amd64 Unarchiver for .rar files (non-free version)
        ii unrar-free 1:0.0.1+cvs20140707- amd64 Unarchiver for .rar files
        un unrar-nonfree (no description available)
        $ sudo apt remove unrar

      • NG

        $ mcomix -v
        MComix 1.00
        $ LANG=ja_JP.UTF8 mcomix test.rar

      • OK!

        $ svn checkout svn://svn.code.sf.net/p/mcomix/code/ mcomix-code
        :
        Checked out revision 1419.
        $ python mcomix-code/mcomixstarter.py -v
        MComix 1.2.dev0
        $ LANG=ja_JP.UTF8 python mcomix-code/mcomixstarter.py test.rar

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.