Trouble installing 4.2.2 on Ubuntu Server 16.04 running in VirtualBox 5.0.16

irsptn32 wrote on Thursday, June 23, 2016:

Hi there, sorry to bother you about this but I can’t figure out how to get around the following error (I’m translating it since the OS language is Italian, I will put it in English).

sudo dpkg -i openemr-php7_4.2.2-1_all.deb
[...]
dpkg-deb (subprocess): impossible to copy the component of archive from "openemr-php7_4.2.2-1_all.deb" to the extraction pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error status 2
dpkg: error processing archive openemr-php7_4.2.2-1_all.deb (--install): tar file - archive of package is damaged
postrm asked to do abort-install

I already tried repeating the procedure and reinstalling the server (it is a default LAMP, openSSH configuration).

Thank you for your time!

bradymiller wrote on Thursday, June 23, 2016:

Hi,

Whats the md5sum of your openemr-php7_4.2.2-1_all.deb file?

-brady

irsptn32 wrote on Thursday, June 23, 2016:

Hi, thanks for your input.

I have passed the md5sum command and the output was f66d91ceb75366f4848f776c99534793, that is, in fact, different from what I see on the download page. I’ll remove that file and try again. Do you suggest anything else?

bradymiller wrote on Thursday, June 23, 2016:

Hi,

Sounds like the file got corrupted on the download. Recommend downloading it again and ensuring the md5sum is correct. Then the sudo dpkg -i openemr-php7_4.2.2-1_all.deb command should work per the installation intructions.

-brady

bradymiller wrote on Thursday, June 23, 2016:

Let us know how it goes.
-brady

irsptn32 wrote on Thursday, June 23, 2016:

Thank you so much, it was a simple check but I am not used to do it so I didn’t think about it. I downloaded the file again: I already did but the file got saved with a “.1” appended to it and I haven’t been smart enough to change the dpkg command argument accordingly. I corrected that and now openEMR runs like a charm.

Is it safe/advisable to delete the .deb package now?

Now I only have to understand how to make the server accessible from remote: I am a med student and I plan to use openEMR to store infos about patients we are recruiting in a clinical trial, so I need to access the platform from the hospital, too, and not only from my home, where the host machine is. I will look for instructions (I’m sure I’ll find something) and I’ll get back here if I get in trouble (maybe another topic will be more suitable because that would be no more an installation problem).

Thank you very much for your time and your kindness!

bradymiller wrote on Friday, June 24, 2016:

Hi Isacco,

Good to hear it worked for you :slight_smile:
Yes, it is safe to remove the .deb package.

-brady
OpenEMR