Thursday, June 21, 2018

zip extract - error -> Directory checksum error


Folks, we make mistakes

I downloaded Solaris x86 kernel patch. tried to extract, I got checksum error. copy same package to different server and tried, got same error. copied to /var/tmp and tried to extract, same error.

I was surprised. Took a break and came back and tried again, it worked. Verify what I was doing wrong ..and now, I know what I did. lol...

do you want to see it?

The error was: Directory checksum error

[root@sinf-mg-p10]# tar -xvf 10_x86_Recommended_CPU_2018-04.zip
tar: directory checksum error

[root@sunserv02]#

[root@sunserv02]$ unzip 10_x86_Recommended_CPU_2018-04.zip
Archive:  10_x86_Recommended_CPU_2018-04.zip
   creating: 10_x86_Recommended_CPU_2018-04/
  inflating: 10_x86_Recommended_CPU_2018-04/installpatchset
  inflating: 10_x86_Recommended_CPU_2018-04/Copyright
  inflating: 10_x86_Recommended_CPU_2018-04/10_x86_Recommended_CPU_2018-04.README
   creating: 10_x86_Recommended_CPU_2018-04/patches/
   creating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/postpatch
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/README.139292-02
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/.diPatch
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/prebackout
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/139292-02.html
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/LEGAL_LICENSE.TXT
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/prepatch
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/patchinfo
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/postbackout
   creating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/SUNWpgadmin3S/
  inflating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/SUNWpgadmin3S/pkginfo
   creating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/SUNWpgadmin3S/reloc/
   creating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/SUNWpgadmin3S/reloc/usr/
   creating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/SUNWpgadmin3S/reloc/usr/share/
   creating: 10_x86_Recommended_CPU_2018-04/patches/139292-02/SUNWpgadmin3S/reloc/usr/share/src/

No comments:

Post a Comment