Fred,
On 24 January 2006 at 10:20, Frederic Daniel Luc LEHOBEY wrote:
| Package: r-base-core
| Version: 2.2.1-3
| Severity: important
|
| Hi,
|
| Maybe the severity should be raised to RC. I let you decide.
|
| The latest version of r-base-core breaks removal and installation of
| R modules. I have used r-cran-matrix as an example:
|
| # dpkg -s r-base-core
| Package: r-base-core
| Status: install ok installed
| Priority: optional
| Section: math
| Installed-Size: 28200
| Maintainer: Dirk Eddelbuettel <[EMAIL PROTECTED]>
| Architecture: i386
| Source: r-base
| Version: 2.2.1-1
|
| # aptitude install r-cran-matrix
|
| Selecting previously deselected package r-cran-matrix.
| (Reading database ... 128500 files and directories currently installed.)
| Unpacking r-cran-matrix (from .../r-cran-matrix_0.95.10-1_i386.deb) ...
| Setting up r-cran-matrix (0.95.10-1) ...
| Ignoring deprecated option --htmllists called from postinst or postrm script.
|
| # aptitude purge r-cran-matrix
|
| Removing r-cran-matrix ...
| Ignoring deprecated option --htmllists called from postinst or postrm script.
| Purging configuration files for r-cran-matrix ...
| Ignoring deprecated option --htmllists called from postinst or postrm script.
|
| # aptitude install r-base-core r-recommended r-base-dev
|
| Unpacking libpaper-utils (from .../libpaper-utils_1.1.14-5_i386.deb) ...
| Preparing to replace r-recommended 2.2.1-1 (using
.../r-recommended_2.2.1-3_i386.deb) ...
| Unpacking replacement r-recommended ...
| Preparing to replace r-base-dev 2.2.1-1 (using
.../r-base-dev_2.2.1-3_all.deb) ...
| Unpacking replacement r-base-dev ...
| Preparing to replace r-base-core 2.2.1-1 (using
.../r-base-core_2.2.1-3_i386.deb) ...
| Unpacking replacement r-base-core ...
| Setting up libpaper-utils (1.1.14-5) ...
| Setting up r-base-core (2.2.1-3) ...
|
| # aptitude install r-cran-matrix
|
| Selecting previously deselected package r-cran-matrix.
| (Reading database ... 128512 files and directories currently installed.)
| Unpacking r-cran-matrix (from .../r-cran-matrix_0.95.10-1_i386.deb) ...
| Setting up r-cran-matrix (0.95.10-1) ...
| Can't open perl script "/usr/lib/R/share/perl/build-help.pl": No such file or
directory
| dpkg: error processing r-cran-matrix (--configure):
| subprocess post-installation script returned error exit status 2
| Errors were encountered while processing:
| r-cran-matrix
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| A package failed to install. Trying to recover:
| Setting up r-cran-matrix (0.95.10-1) ...
| Can't open perl script "/usr/lib/R/share/perl/build-help.pl": No such file or
directory
| dpkg: error processing r-cran-matrix (--configure):
| subprocess post-installation script returned error exit status 2
| Errors were encountered while processing:
| r-cran-matrix
|
| It also breaks if the r-cran-matrix package had been installed
| previously to the r-base-core upgrade and asked for removal.
Could it be that this is because r-cran-matrix still has the outdated and
unused calls to build-help.pl in postinst and postrm? Ie we used to do
if test -x /usr/bin/R; then
/usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
fi
and that will now break as there is no /usr/lib/R/share/perl/ as you noted.
| dpkg: error processing r-cran-matrix (--remove):
| subprocess post-removal script returned error exit status 2
|
| So both post-installation and post-removal scripts are broken.
|
| The workaround is
|
| # ln -s /usr/share/R/share /usr/lib/R/share
Yes, as a temporary fix that will do. Or maybe link just the Perl script
$ ln -s /usr/lib/R/share/perl/build-help.pl /usr/share/R/share/perl/
| So I believe (from the change log) this bug is a consequence of the
| solution to #300765. By the way, thanks for your efforts to make R
| FHS compliant.
|
| Maybe all R modules have to be rebuilt to solve this problem, but
| there is still the need for a clean upgrade path.
The R modules all need that fix. Look into the changelog of a few of those I
maintain; I have been making the change over the last few months.
Thanks, Dirk
| Best regards,
| Frederic Lehobey
|
| -- System Information:
| Debian Release: testing/unstable
| APT prefers unstable
| APT policy: (500, 'unstable')
| Architecture: i386 (i686)
| Shell: /bin/sh linked to /bin/dash
| Kernel: Linux 2.6.8-2-k7
| Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
|
| Versions of packages r-base-core depends on:
| ii atlas3-base [libblas.so.3 3.6.0-20 Automatically Tuned Linear
Algebra
| ii libbz2-1.0 1.0.2-11 high-quality block-sorting file
co
| ii libc6 2.3.5-9 GNU C Library: Shared libraries
an
| ii libg2c0 1:3.4.5-1 Runtime library for GNU Fortran
77
| ii libgcc1 1:4.0.2-5 GCC support library
| ii libice6 6.9.0.dfsg.1-1 Inter-Client Exchange library
| ii libjpeg62 6b-11 The Independent JPEG Group's
JPEG
| ii libpaper-utils 1.1.14-5 Library for handling paper
charact
| ii libpcre3 6.4-1.1 Perl 5 Compatible Regular
Expressi
| ii libpng12-0 1.2.8rel-5 PNG library - runtime
| ii libreadline5 5.1-5 GNU readline and history
libraries
| ii libsm6 6.9.0.dfsg.1-1 X Window System Session
Management
| ii libx11-6 6.9.0.dfsg.1-1 X Window System protocol client
li
| ii perl 5.8.7-10 Larry Wall's Practical
Extraction
| ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines
3
| ii tcl8.4 8.4.11-1 Tcl (the Tool Command Language)
v8
| ii tk8.4 8.4.11-1 Tk toolkit for Tcl and X11, v8.4
-
| ii zlib-bin 1:1.2.3-9 compression library - sample
progr
| ii zlib1g 1:1.2.3-9 compression library - runtime
|
| Versions of packages r-base-core recommends:
| ii r-base-dev 2.2.1-3 GNU R installation of auxiliary
GN
| ii r-recommended 2.2.1-3 GNU R collection of recommended
pa
|
| -- no debconf information
|
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]