Fwd: [Live-demo] [OSGeo] #772: rasdaman build errors in 5.0rc2

Dimitar Misev misev at rasdaman.com
Tue Aug 23 22:57:01 EDT 2011


Hi all,

I'm sorry for the bad fix, --no-install-recommends worked on Debian but 
as it turned out it wasn't the case on Xubuntu. I've tested now on 
Xubuntu 11.04 and updated the script accordingly.

It installs 332MB and then removes 175MB, so effectively some 160MB of 
which a large part is PostgreSQL which is probably shared with other 
applications. This seems to be the minimum needed for a running rasdaman.

Best,
Dimitar

On 08/23/2011 10:28 PM, Hamish wrote:
> Dimitar  wrote:
>> I added a --no-install-recommends to the apt-get install in
>> the install_rasdaman.sh, which prevents it from installing a
>> lot of unnecessary stuff including the texlive packages.
> I'm pretty sure it will still get sucked in -- at the start of
> the build process we set   APT::Install-Recommends "false";
> universally in /etc/apt/apt.conf.d/ to save space.
>
> so that will already be the case and --no-install-recommends
> will be a no-op.
>
>
> to see the reverse dependencies try:
>    apt-cache rdepends texlive-base
>
>
> the obvious big packages>11mb are:
> 30.426 MB        texlive-base
> 27.453 MB        texlive-latex-extra
> 20.367 MB        texlive-latex-recommended
> 16.082 MB        texlive-binaries
>
> perhaps it is doxygen-latex which is depending on it?
>
>
> we .really. need to recover that space if it is not needed, or
> figure out where to find some other. right now we don't
> physically fit on a DVD and the printing deadline is looming.
>
> it is not very nice for MB-System to be dropped from this version
> of the live dvd for space reasons, only to have its 150mb
> recovered space used up by unneeded packages....
>
>
>
> in 5.0 RC2 rasdaman brought in:
>
> The following extra packages will be installed:
>    ca-certificates-java comerr-dev doxygen-latex krb5-multidev latex-xcolor
>    libaccess-bridge-java libaccess-bridge-java-jni libecpg-compat3 libecpg6
>    libgssrpc4 libjaxp1.3-java libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4
>    libkrb5-dev libnss3-1d libpgtypes3 libpq-dev libreadline6-dev libtiffxx0c2
>    libxerces2-java luatex openjdk-6-jre openjdk-6-jre-headless
>    openjdk-6-jre-lib preview-latex-style tex-common texlive-base
>    texlive-binaries texlive-common texlive-doc-base texlive-extra-utils
>    texlive-latex-base texlive-latex-extra texlive-latex-recommended
>    texlive-pictures tzdata-java
>
>
> The following NEW packages will be installed:
>    ant bison ca-certificates-java comerr-dev doxygen doxygen-latex flex gawk
>    git-core krb5-multidev latex-xcolor libaccess-bridge-java
>    libaccess-bridge-java-jni libecpg-compat3 libecpg-dev libecpg6 libgssrpc4
>    libjaxp1.3-java libjpeg62-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4
>    libkrb5-dev libncurses5-dev libnetpbm10-dev libnss3-1d libpgtypes3
>    libpng12-dev libpq-dev libreadline-dev libreadline6-dev libtiff4-dev
>    libtiffxx0c2 libtool libxerces2-java luatex openjdk-6-jdk openjdk-6-jre
>    openjdk-6-jre-headless openjdk-6-jre-lib php5-cgi postgresql
>    preview-latex-style tex-common texlive-base texlive-binaries texlive-common
>    texlive-doc-base texlive-extra-utils texlive-latex-base texlive-latex-extra
>    texlive-latex-recommended texlive-pictures tzdata-java
>
>
> Need to get 100 MB/102 MB of archives.
> After this operation, 292 MB of additional disk space will be used.
>
>
>
>
> and when it cleaned up:
>
> The following package was automatically installed and is no longer required:
>    libtiffxx0c2
> Use 'apt-get autoremove' to remove them.
> The following packages will be REMOVED:
>    libjpeg62-dev libncurses5-dev libnetpbm10-dev libpng12-dev libreadline-dev
>    libreadline6-dev libtiff4-dev openjdk-6-jdk
>
>
> After this operation, 39.2 MB disk space will be freed.
>
>
>
> I was going to diff those, but it is so lopsided you can just
> look by eye.
>
>
> what from that 250mb delta of new packages is actually needed?
>
>
>
> thanks,
> Hamish
>
>
> ps- putting 'apt-get install' the libs BEFORE autoremove will
> mean that they are flagged as manually installed, so won't be
> autoremoved and will save a little disk thrashing.
>
> note that the non-dev versions of libpng12 etc are not
> autoremoved anyway, so manually installing them isn't strictly
> necessary, but doesn't hurt any.
>


More information about the Live-demo mailing list