Trouble installing openemr 3.2 on ubuntu 10.1

rdh61 wrote on Monday, June 06, 2011:

Hi, I have been trying to install openemr 3.2 on Ubuntu 10.10 using the command line. (I could not install it with the package installer because on 10.10 this seems not to give you the possibility to follow the installation interactively, which the installation requires). I have used the commands given here: http://www.openmedsoftware.org/wiki/OpenEMR_3.2_Ubuntu-Debian_Package_Installation .

The installation fails. Here is the transcript from the terminal:

robert@robert-workdesk:~$ wget downloads.sourceforge.net/openemr/openemr_3.2.0-1_all.deb
-2011-06-05 10:36:12-  http://downloads.sourceforge.net/openemr/openemr_3.2.0-1_all.deb
Resolving downloads.sourceforge.net… 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/openemr/OpenEMR%20Ubuntu_debian%20Package/3.2.0/openemr_3.2.0-1_all.deb
-2011-06-05 10:36:12-  http://downloads.sourceforge.net/project/openemr/OpenEMR%20Ubuntu_debian%20Package/3.2.0/openemr_3.2.0-1_all.deb
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://puzzle.dl.sourceforge.net/project/openemr/OpenEMR%20Ubuntu_debian%20Package/3.2.0/openemr_3.2.0-1_all.deb
-2011-06-05 10:36:12-  http://puzzle.dl.sourceforge.net/project/openemr/OpenEMR%20Ubuntu_debian%20Package/3.2.0/openemr_3.2.0-1_all.deb
Resolving puzzle.dl.sourceforge.net… 195.141.111.5
Connecting to puzzle.dl.sourceforge.net|195.141.111.5|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 61579226 (59M)
Saving to: `openemr_3.2.0-1_all.deb.1’

100% 61,579,226  14.4K/s   in 68m 18s

2011-06-05 11:44:33 (14.7 KB/s) - `openemr_3.2.0-1_all.deb.1’ saved

robert@robert-workdesk:~$ sudo aptitude update
password for robert:
sudo: aptitude: command not found
robert@robert-workdesk:~$ sudo apt-get install -f
Reading package lists… Done
Building dependency tree      
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 329 not upgraded.
robert@robert-workdesk:~$ sudo dpkg -i openemr_3.2.0-1_all.deb
Selecting previously deselected package openemr.
(Reading database … 118317 files and directories currently installed.)
Unpacking openemr (from openemr_3.2.0-1_all.deb) …
dpkg-deb (subprocess): short read on buffer copy for failed to write to pipe in copy
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing openemr_3.2.0-1_all.deb (-install):
short read on buffer copy for backend dpkg-deb during `./var/www/openemr/sql/DBC_sql_statements/cl_prestatiecode.sql.gz’
postrm asked to do abort-install
Processing triggers for man-db …
Processing triggers for desktop-file-utils …
Processing triggers for python-gmenu …
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache…
Processing triggers for python-support …
Errors were encountered while processing:
openemr_3.2.0-1_all.deb

Can anyone tell me what has gone wrong (or what I’ve done wrong) and help me correct it?

Many thanks.

bradymiller wrote on Wednesday, June 08, 2011:

hi,

What happens if you replace the command:
sudo aptitude update
with
sudo apt-get update

-brady

rdh61 wrote on Monday, July 18, 2011:

Hi, thanks for your reply. No, that didn’t change much. I can’t remember what I did, but eventually the terminal started telling me that a whole series of dependencies weren’t installed. After installing all of them, I could install openemr. Never had this on other computers, even running the same system.

rdh61 wrote on Monday, July 18, 2011:

Hi, thanks for your reply. No, that didn’t change much. I can’t remember what I did, but eventually the terminal started telling me that a whole series of dependencies weren’t installed. After installing all of them, I could install openemr. Never had this on other computers, even running the same system.