View Issue Details

IDProjectCategoryView StatusLast Update
0001006OpenFOAMBugpublic2013-10-22 16:56
Reporteruser749Assigned Touser21 
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformOpenSUSEOSOpenSuseOS Version12.3
Summary0001006: unpacking of OpenFOAM-2.2.1 failed
DescriptionBy Installation it always stops and reports the following error message:

admin@PCIFT92:~> sudo rpm -i http://www.openfoam.org/download/suse/12.3/i586/OpenFOAM-2.2.1-1.i586.rpm
error: unpacking of archive failed on file /opt/OpenFOAM-2.2.1/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/Make/linuxGccDPOpt/uncoupledKinematicParcelFoam.o;52301687: cpio: Digest mismatch
error: OpenFOAM-2.2.1-1.i586: install failed
TagsNo tags attached.

Activities

wyldckat

2013-09-11 09:36

updater   ~0002478

Try downloading the RPM files separately and check if the MD5 or SHA1 sums are correct.
The files and respective sums (click on the (i) icon for each file) are provided here: http://sourceforge.net/projects/foam/files/foam/suse/12.3/i586/

user749

2013-09-11 13:17

  ~0002480

Thank you very much for your reply. I've downloaded the file again and even from other computer. The MD5 sum is also correct:

admin@PCIFT92:~> md5sum OpenFOAM-2.2.1-1.i586.rpm
644c34f2d50052c1cd053f3ab801da55 OpenFOAM-2.2.1-1.i586.rpm

But the problem remains the same.

wyldckat

2013-09-11 23:05

updater   ~0002485

I gave this a try on a VM with openSUSE 12.3 i586 and got the same exact problem.

I also tried the following commands, to check how different the sizes of the unpacked files were:
  rpm2cpio OpenFOAM-2.2.0-1.i586.rpm > tmp0
  rpm2cpio OpenFOAM-2.2.1-1.i586.rpm > tmp1

The first package is for openSUSE 12.2 and gave me a size of 1007659760 bytes.
The second one is for openSUSE 12.3 only gave me a size of 79642624 bytes.
This clearly indicates that something very wrong occurred somewhere during upload or during packaging.


By the way, these RPM packages seem to be bringing a lot of unnecessary object files from the build, which the Deb packages don't provide.

user17

2013-09-17 16:24

  ~0002495

A new pack has been uploaded for 12.3, it appears it was corrupted somehow...

Thanks for the point about the unnecessary object files. Future RPM packs will not contain them.

wyldckat

2013-10-21 21:34

updater   ~0002568

Greetings,

As reported on the forum - http://www.cfd-online.com/Forums/openfoam-installation/125213-opensuse-openfoam-2-2-2-1-x86_64-rpm-fails.html - it looks like something very strange is going on with the RPM packages for openSUSE. In this case it's the package "OpenFOAM-2.2.2-1.x86_64.rpm" for 12.3.

I checked the RPM on Ubuntu with the following command and respective output:

$ rpm2cpio OpenFOAM-2.2.2-1.x86_64.rpm | cpio -t
./opt
./opt/OpenFOAM-2.2.2
./opt/OpenFOAM-2.2.2/Allwmake
./opt/OpenFOAM-2.2.2/COPYING
./opt/OpenFOAM-2.2.2/OpenFOAM-2.2.2.gtgz
cpio: premature end of file

wyldckat

2013-10-21 21:54

updater   ~0002569

I've checked the same command with the "OpenFOAM-2.2.2-1.i586.rpm" package and it breaks later on, but before a proper ending:

$ rpm2cpio OpenFOAM-2.2.2-1.i586.rpm | cpio -t
./opt
./opt/OpenFOAM-2.2.2
./opt/OpenFOAM-2.2.2/Allwmake
./opt/OpenFOAM-2.2.2/COPYING
./opt/OpenFOAM-2.2.2/OpenFOAM-2.2.2.gtgz
./opt/OpenFOAM-2.2.2/README.html
./opt/OpenFOAM-2.2.2/README.org
./opt/OpenFOAM-2.2.2/applications
./opt/OpenFOAM-2.2.2/applications/Allwmake
[...]
./opt/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/bin/compressibleInterFoam
./opt/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/bin/compressibleTwoPhaseEulerFoam
./opt/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/bin/createBaffles
cpio: premature end of file


And why is the tarball "OpenFOAM-2.2.2.gtgz" present in both RPM packages?

wyldckat

2013-10-21 22:06

updater   ~0002570

One last note: I've checked the previously updated package "OpenFOAM-2.2.2-1.i586.rpm" and the already existing one "OpenFOAM-2.2.1-1.x86_64.rpm", with the same command, and it worked fine on both.

user21

2013-10-22 14:00

  ~0002574

Thanks for the bug report.
A new set of rpm packages have been upload to our web site.
Thanks

Issue History

Date Modified Username Field Change
2013-09-11 08:21 user749 New Issue
2013-09-11 09:36 wyldckat Note Added: 0002478
2013-09-11 13:17 user749 Note Added: 0002480
2013-09-11 23:05 wyldckat Note Added: 0002485
2013-09-17 16:24 user17 Note Added: 0002495
2013-09-17 16:24 user17 Assigned To => user17
2013-09-17 16:24 user17 Status new => feedback
2013-10-21 21:34 wyldckat Note Added: 0002568
2013-10-21 21:54 wyldckat Note Added: 0002569
2013-10-21 22:06 wyldckat Note Added: 0002570
2013-10-22 13:59 user21 Assigned To user17 => user21
2013-10-22 13:59 user21 Status feedback => assigned
2013-10-22 14:00 user21 Note Added: 0002574
2013-10-22 14:00 user21 Status assigned => feedback
2013-10-22 14:33 henry Status feedback => closed
2013-10-22 14:33 henry Resolution open => fixed
2013-10-22 14:33 user21 Status closed => resolved