7za doesn't unpack rar

evg
2014-04-08
2014-04-09
  • evg

    evg - 2014-04-08

    Hello!
    I have a problem in extracting any rar archives:

    ====================================================================
    7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

    Processing archive: 101-20140301.rar

    Error: Can not open file as archive

    Fedora x86_64

    It repeats on any rar I have.
    Thanks in advance.

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-08

    Call 7z instead of 7za

     
    • evg

      evg - 2014-04-08

      the same result.

       
  • Igor Pavlov

    Igor Pavlov - 2014-04-08

    Please write the log here.
    Try another RAR, 7z and zip archive.

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-08

    7-zip doesn't support rar ver. 5.0 archives.
    So you must check only rar 2/3/4 archives.

     
  • evg

    evg - 2014-04-08

    just used unrar version 4.20 (not 5.XX btw) it seems to work. Then wh 7zip not? bug?

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-09

    1) you must use 7z
    2) the "list" command must work:
    7z l a.rar
    3) For "extract" command
    7z x a.rar
    you need additional "non-free" rar plugin

     
  • evg

    evg - 2014-04-09

    [evg@localhost Downloads]$ 7z l "uml2-0.rar"

    7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

    Error: uml2-0.rar: Can not open file as archive

    Errors: 1

    [evg@localhost Downloads]$ 7z x "uml2-0.rar"

    7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

    Processing archive: uml2-0.rar

    Error: Can not open file as archive

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-09

    Try another RAR, 7z and zip archives.

     
  • evg

    evg - 2014-04-09

    zip, 7z - OK
    Only problems with rar unfortunately. I like the idea and proposed usability of p7zip, but I still can't understand. I have problems with all rar files! I don't think they all are incorrect, so.
    Can you atach a small rar archive that is 100% valid that I will try to extract?
    Thank you.
    Or may be I installed it from rpm fusion repo and tha's the problem?

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-09

    1) you can create some rar with WinRAR 4.*
    2) please show the log for
    7z l a.zip
    7z l a.rar

     
  • evg

    evg - 2014-04-09

    where to find/how to make logs?

     
  • evg

    evg - 2014-04-09

    if you mean this:
    ZIP - OK
    [evg@localhost Downloads]$ 7z x ParCpp.zip

    7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

    Processing archive: ParCpp.zip

    Extracting ParCpp.djvu

    Everything is Ok

    Size: 13844288
    Compressed: 13612908

    RAR - FAIL! (((
    [evg@localhost Downloads]$ 7z x uml2-0.rar

    7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

    Processing archive: uml2-0.rar

    Error: Can not open file as archive

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-09

    call:
    7z i

     
  • evg

    evg - 2014-04-09

    [evg@localhost Downloads]# 7z i

    7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

    Formats:
    0 APM P M 00 00 00 00 00
    0 Arj arj ` EA
    0 CK bzip2 bz2 bzip2 tbz2 (.tar) tbz (.tar) B Z h
    0 Cpio cpio
    0 CramFS cramfs C o m p r e s s e d 20 R O M F S
    0 Deb deb ! < a r c h > 0A
    0 Dmg dmg
    0 ELF
    0 FAT fat img U AA
    0 FLV flv F L V
    0 CK gzip gz gzip tgz (.tar) tpz (.tar) 1F 8B 08
    0 Lzh lzh lha - l
    0 lzma lzma
    0 lzma86 lzma86
    0 MachO
    0 MBR mbr 01 01 00
    0 MsLZ S Z D D 88 F0 ' 3 A
    0 Mub CA FE BA BE 00 00 00
    0 NTFS ntfs img N T F S 20 20 20 20 00
    0 PE exe dll sys P E 00 00
    0 Ppmd pmd 8F AF AC 84
    0 Rpm rpm ED AB EE DB
    0 Split 001
    0 CK SWFc swf (~.swf) C W S
    0 SWF swf F W S
    0 SquashFS squashfs h s q s
    0 VHD vhd (.mbr) c o n e c t i x 00 00
    0 Xar xar x a r ! 00 1C
    0 CK xz xz txz (.tar) FD 7 z X Z 00
    0 Z z taz (.tar) 1F 9D
    0 C 7z 7z 7 z BC AF ' 1C
    0 Cab cab M S C F
    0 Chm chm chi chq chw hxs hxi hxr hxq hxw lit I T S F
    0 Compound msi msp doc xls ppt D0 CF 11 E0 A1 B1 1A E1
    0 HFS hfs H + 00 04
    0 Iso iso img C D 0 0 1 01 00
    0 Nsis EF BE AD DE N u l l s o f t I n s t
    0 C tar tar u s t a r
    0 Udf iso img 00 N S R 0
    0 C wim wim swm M S W I M 00 00 00
    0 C zip zip jar xpi odt ods docx xlsx P K 03 04

    Codecs:
    0 C 303011b BCJ2
    0 C 3030103 BCJ
    0 C 3030205 PPC
    0 C 3030401 IA64
    0 C 3030501 ARM
    0 C 3030701 ARMT
    0 C 3030805 SPARC
    0 C 20302 Swap2
    0 C 20304 Swap4
    0 C 40202 BZip2
    0 C 0 Copy
    0 C 40109 Deflate64
    0 C 40108 Deflate
    0 C 3 Delta
    0 C 21 LZMA2
    0 C 30101 LZMA
    0 C 30401 PPMD
    0 C 6f10701 7zAES

    Well, no RAR there =( is this the case? why no rar lol ?

     
  • Igor Pavlov

    Igor Pavlov - 2014-04-09

    Yes, probably fedora's developers don't understand p7zip (7-Zip) structure and license:
    1) There is LGPL'ed code RAR (free code) in 7-Zip, that can list RAR archives.
    2) There is additional RAR plugin that allows also exctract RAR archives (than code doesn't look as 100% free, but actually it's also free in main idea).

    But fedora developers have removed also LGPL'ed part (part 1) of RAR code of p7zip.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks