Hi Marc, On 19 October 2006 at 15:22, Marc Glisse wrote: | Package: r-base-core | Version: 2.4.0-1 | Severity: normal | | Now that the conf file contains a R_PAPERSIZE_USER line, the postinst | script replacing letter by `paperconf` fails. Possible fixes are: | | - grep for ^R_PAPERSIZE= instead of ^R_PAPERSIZE | | - set rpaper to letter (may cause problem if the admin changes paperconf | and the old value was not letter) | | By the way it is confusing when the upgrade software shows a diff between | the old and the new version of the config file that says it will change | a4 to letter and later the postinst script returns letter to a4...
I noticed that the text was off, looked briefly into it and considered it harmless. I would of course have fixed it had it really failed -- but it never failed for me, or any of the autobuilder. Recall that we have around r-cran-* packages many of which got built, re-built, ... during the last few weeks. Looking at it again, I see of course that you are right -- there are now two lines matching R_PAPERSIZE. But despite the bad text that is displayed, at the substitution seems to work as I have [EMAIL PROTECTED]:~> grep PAPER /etc/R/Renviron ## Default printer paper size: first record if user set R_PAPERSIZE R_PAPERSIZE_USER=${R_PAPERSIZE} R_PAPERSIZE=${R_PAPERSIZE-'letter'} [EMAIL PROTECTED]:~> paperconf letter [EMAIL PROTECTED]:~> which is the right value for me here. Also note that the original file has ## Default printer paper size: first record if user set R_PAPERSIZE R_PAPERSIZE_USER=${R_PAPERSIZE} R_PAPERSIZE=${R_PAPERSIZE-'@R_PAPERSIZE@'} so it is in R_PAPERSIZE= that we want to substitute the text. Can you show me some more detail of what happens at your end -- value before, cut and paste from installation of r-base-core, value afterwars and what R shows which at my end is oddly enough, wrong, and I do not understand where it comes from: [EMAIL PROTECTED]:~> echo 'print(options("papersize"))' | R --slave $papersize [1] "a4" Thanks for the report and your help. I am sure we can get that fixed, but so far I am a little puzzled. Dirk | -- System Information: | Debian Release: testing/unstable | APT prefers stable | APT policy: (500, 'stable'), (50, 'testing'), (10, 'unstable') | Architecture: i386 (i686) | Shell: /bin/sh linked to /bin/bash | Kernel: Linux 2.6.16-2-686 | Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) | | Versions of packages r-base-core depends on: | ii atlas3-base [libblas.so.3] 3.6.0-20.2 Automatically Tuned Linear Algebra | ii atlas3-sse2 [libblas.so.3] 3.6.0-20.2 Automatically Tuned Linear Algebra | ii libbz2-1.0 1.0.3-6 high-quality block-sorting file co | ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries | ii libgcc1 1:4.1.1-13 GCC support library | ii libgfortran1 4.1.1-13 Runtime library for GNU Fortran ap | ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library | ii libjpeg62 6b-13 The Independent JPEG Group's JPEG | ii libpaper-utils 1.1.20 Library for handling paper charact | ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi | ii libpng12-0 1.2.8rel-5.2 PNG library - runtime | ii libreadline5 5.1-9 GNU readline and history libraries | ii libsm6 1:1.0.1-3 X11 Session Management library | ii libx11-6 2:1.0.0-9 X11 client-side library | ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library | ii perl 5.8.8-6.1 Larry Wall's Practical Extraction | ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines 3 | ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8 | ii tk8.4 8.4.12-1 Tk toolkit for Tcl and X11, v8.4 - | ii zlib-bin 1:1.2.3-13 compression library - sample progr | ii zlib1g 1:1.2.3-13 compression library - runtime | | Versions of packages r-base-core recommends: | pn r-base-dev <none> (no description available) | ii r-recommended 2.4.0-1 GNU R collection of recommended pa | | -- debconf-show failed | -- 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]