#785933 postgis: installation from DVD's failed

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
"<<Tudor>>"
Date:
2021-12-09 11:03:05 UTC
Severity:
normal
#785933#5
Date:
2015-05-20 14:51:11 UTC
From:
To:
Dear Maintainer,

        aptitude install postgis failed with the following term.log. It first asked for DVD2.

Log started: 2015-05-20  17:01:43
Selecting previously unselected package libdap11:amd64.
(Reading database ... 46324 files and directories currently installed.)
Preparing to unpack .../libdap11_3.12.0-1_amd64.deb ...
Unpacking libdap11:amd64 (3.12.0-1) ...
Selecting previously unselected package libdapclient3:amd64.
Preparing to unpack .../libdapclient3_3.12.0-1_amd64.deb ...
Unpacking libdapclient3:amd64 (3.12.0-1) ...
Selecting previously unselected package libdapserver7:amd64.
Preparing to unpack .../libdapserver7_3.12.0-1_amd64.deb ...
Unpacking libdapserver7:amd64 (3.12.0-1) ...
Selecting previously unselected package libepsilon1:amd64.
Preparing to unpack .../libepsilon1_0.9.2-2_amd64.deb ...
Unpacking libepsilon1:amd64 (0.9.2-2) ...
Selecting previously unselected package libhdf5-8:amd64.
Preparing to unpack .../libhdf5-8_1.8.13+docs-15_amd64.deb ...
Unpacking libhdf5-8:amd64 (1.8.13+docs-15) ...
Selecting previously unselected package libfreexl1:amd64.
Preparing to unpack .../libfreexl1_1.0.0g-1+deb8u1_amd64.deb ...
Unpacking libfreexl1:amd64 (1.0.0g-1+deb8u1) ...
Selecting previously unselected package libgeos-3.4.2.
Preparing to unpack .../libgeos-3.4.2_3.4.2-6_amd64.deb ...
Unpacking libgeos-3.4.2 (3.4.2-6) ...
Selecting previously unselected package libgeos-c1.
Preparing to unpack .../libgeos-c1_3.4.2-6_amd64.deb ...
Unpacking libgeos-c1 (3.4.2-6) ...
Selecting previously unselected package proj-data.
Preparing to unpack .../proj-data_4.8.0-5_amd64.deb ...
Unpacking proj-data (4.8.0-5) ...
Selecting previously unselected package libproj0.
Preparing to unpack .../libproj0_4.8.0-5_amd64.deb ...
Unpacking libproj0 (4.8.0-5) ...
Selecting previously unselected package libspatialite5:amd64.
Preparing to unpack .../libspatialite5_4.1.1-10_amd64.deb ...
Unpacking libspatialite5:amd64 (4.1.1-10) ...
Selecting previously unselected package libarpack2.
Preparing to unpack .../libarpack2_3.1.5-3_amd64.deb ...
Unpacking libarpack2 (3.1.5-3) ...
Selecting previously unselected package libarmadillo4.
Preparing to unpack .../libarmadillo4_4.450.2+dfsg-1_amd64.deb ...
Unpacking libarmadillo4 (1:4.450.2+dfsg-1) ...
Selecting previously unselected package libnetcdfc7.
Preparing to unpack .../libnetcdfc7_4.1.3-7.2_amd64.deb ...
Unpacking libnetcdfc7 (1:4.1.3-7.2) ...
Selecting previously unselected package liburiparser1.
Preparing to unpack .../liburiparser1_0.8.0.1-2_amd64.deb ...
Unpacking liburiparser1 (0.8.0.1-2) ...
Selecting previously unselected package libhdf4-0-alt.
Preparing to unpack .../libhdf4-0-alt_4.2.10-3_amd64.deb ...
Unpacking libhdf4-0-alt (4.2.10-3) ...
Selecting previously unselected package libkml0:amd64.
Preparing to unpack .../libkml0_1.3.0~r864+dfsg-1_amd64.deb ...
Unpacking libkml0:amd64 (1.3.0~r864+dfsg-1) ...
Selecting previously unselected package libogdi3.2.
Preparing to unpack .../libogdi3.2_3.2.0~beta2-7.1_amd64.deb ...
Unpacking libogdi3.2 (3.2.0~beta2-7.1) ...
Selecting previously unselected package libgdal1h.
Preparing to unpack .../libgdal1h_1.10.1+dfsg-8+b3_amd64.deb ...
Unpacking libgdal1h (1.10.1+dfsg-8+b3) ...
Selecting previously unselected package proj-bin.
Preparing to unpack .../proj-bin_4.8.0-5_amd64.deb ...
Unpacking proj-bin (4.8.0-5) ...
Processing triggers for man-db (2.7.0.2-5) ...
dpkg: dependency problems prevent configuration of libgdal1h:
 libgdal1h depends on libgif4 (>= 4.1.4); however:
  Package libgif4 is not installed.
 libgdal1h depends on libmysqlclient18 (>= 5.5.24+dfsg-1); however:
  Package libmysqlclient18 is not installed.
 libgdal1h depends on libodbc1 (>= 2.3.1); however:
  Package libodbc1 is not installed.
 libgdal1h depends on libpoppler46 (>= 0.26.5); however:
  Package libpoppler46 is not installed.
 libgdal1h depends on libxerces-c3.1; however:
  Package libxerces-c3.1 is not installed.
 libgdal1h depends on odbcinst1debian2 (>= 2.3.1); however:
  Package odbcinst1debian2 is not installed.

dpkg: error processing package libgdal1h (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libarmadillo4:
 libarmadillo4 depends on libblas3 | libblas.so.3; however:
  Package libblas3 is not installed.
  Package libblas.so.3 is not installed.
 libarmadillo4 depends on liblapack3 | liblapack.so.3; however:
  Package liblapack3 is not installed.
  Package liblapack.so.3 is not installed.

dpkg: error processing package libarmadillo4 (--configure):
 dependency problems - leaving unconfigured
Setting up libepsilon1:amd64 (0.9.2-2) ...
Setting up libgeos-3.4.2 (3.4.2-6) ...
Setting up libfreexl1:amd64 (1.0.0g-1+deb8u1) ...
dpkg: dependency problems prevent configuration of libhdf5-8:amd64:
 libhdf5-8:amd64 depends on libgfortran3 (>= 4.3); however:
  Package libgfortran3 is not installed.

dpkg: error processing package libhdf5-8:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libarpack2:
 libarpack2 depends on libblas3 | libblas.so.3; however:
  Package libblas3 is not installed.
  Package libblas.so.3 is not installed.
 libarpack2 depends on libgfortran3 (>= 4.6); however:
  Package libgfortran3 is not installed.
 libarpack2 depends on liblapack3 | liblapack.so.3; however:
  Package liblapack3 is not installed.
  Package liblapack.so.3 is not installed.

dpkg: error processing package libarpack2 (--configure):
 dependency problems - leaving unconfigured
Setting up libhdf4-0-alt (4.2.10-3) ...
Setting up libdap11:amd64 (3.12.0-1) ...
Setting up liburiparser1 (0.8.0.1-2) ...
Setting up proj-data (4.8.0-5) ...
Setting up libdapserver7:amd64 (3.12.0-1) ...
Setting up libkml0:amd64 (1.3.0~r864+dfsg-1) ...
Setting up libgeos-c1 (3.4.2-6) ...
Setting up libproj0 (4.8.0-5) ...
Setting up libogdi3.2 (3.2.0~beta2-7.1) ...
dpkg: dependency problems prevent configuration of libnetcdfc7:
 libnetcdfc7 depends on libhdf5-8; however:
  Package libhdf5-8:amd64 is not configured yet.

dpkg: error processing package libnetcdfc7 (--configure):
 dependency problems - leaving unconfigured
Setting up proj-bin (4.8.0-5) ...
Setting up libdapclient3:amd64 (3.12.0-1) ...
Setting up libspatialite5:amd64 (4.1.1-10) ...
Processing triggers for libc-bin (2.19-18) ...
Errors were encountered while processing:
 libgdal1h
 libarmadillo4
 libhdf5-8:amd64
 libarpack2
 libnetcdfc7
Log ended: 2015-05-20  17:01:48

If I first manually install the packages (libgif4, libmysqlclient18, etc ) from DVD nr 1, I still get errors like "package x is already installed and configured" for many packages.

#785933#10
Date:
2015-05-21 05:49:24 UTC
From:
To:
Hi,
I managed to install postgis by manually installing all the packages required from DVD1, after that packages from DVD2 and in the end postgis from DVD3.
This should be working:apt-get install postgresql libgif4 libmysqlclient18 libodbc1 libpoppler46 libxerces-c3.1 odbcinst1debian2 libblas3 liblapack3 libgfortran3 libxslt1.1:amd64 postgresql-contrib-9.4 #requires DVD 1
apt-get install libhdf5-8:amd64 libarmadillo4 libnetcdfc7 libgdal1h gdal-bin libxslt1.1:amd64 #requires DVD 2
apt-get install postgis #requires DVD 3

I still think there is a small issue in the order aptitude and apt selects packets to install.
Kind regards,Tudor

#785933#15
Date:
2015-05-22 19:03:19 UTC
From:
To:
Hello Adrian,

I could reproduce this, but don't think it's really related to the
postgis package. Also note that simply running `apt-get -f install` and
`apt-get install postgis` a second (or third, I don't remember) time
solved the issue. I saw no need to manually specify the dependencies to
install.

Maybe the apt maintainers can comment better on the abilities of
apt-cdrom and dependency resolution across removable media.

Regards

Markus Wanner

#785933#24
Date:
2021-12-09 10:40:10 UTC
From:
To:
-- 
Please I Need your help.

General Olivia.