Your message dated Thu, 26 Mar 2015 13:52:14 -0500
with message-id <[email protected]>
and subject line Re: Bug#781266: r-base-core: Package fails to install when 
there is no group names "staff" on the system
has caused the Debian Bug report #781266,
regarding r-base-core: Package fails to install when there is no group names 
"staff" on the system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
781266: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781266
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: r-base-core
Version: 3.1.1-1+b2
Severity: grave
Justification: renders package unusable

When installing the package `r-base-core` (or anything that depends on it) on a
clean jessie install (not upgraded) then the depricated "staff" group will not
exist and the calls to `chown root:staff /usr/local/lib/R` and `chown
root:staff /usr/local/lib/R/site-library` will fail. This prevents the package
(and any dependant packages) from being configured correctly.



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-999-lowlatency (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages r-base-core depends on:
ii  libblas3 [libblas.so.3]            1.2.20110419-10
ii  libbz2-1.0                         1.0.6-7+b2
ii  libc6                              2.19-15
ii  libcairo2                          1.14.0-2.1
ii  libgfortran3                       4.9.2-10
ii  libglib2.0-0                       2.42.1-1
ii  libgomp1                           4.9.2-10
ii  libice6                            2:1.0.9-1+b1
ii  libjpeg62-turbo                    1:1.3.1-12
ii  liblapack3 [liblapack.so.3]        3.5.0-4
ii  liblzma5                           5.1.1alpha+20120614-2+b3
ii  libopenblas-base [liblapack.so.3]  0.2.12-1
ii  libpango-1.0-0                     1.36.8-3
ii  libpangocairo-1.0-0                1.36.8-3
ii  libpaper-utils                     1.1.24+nmu4
ii  libpcre3                           2:8.35-3.3
ii  libpng12-0                         1.2.50-2+b2
ii  libquadmath0                       4.9.2-10
ii  libreadline6                       6.3-8+b3
ii  libsm6                             2:1.2.2-1+b1
ii  libtcl8.5                          8.5.17-1
ii  libtiff5                           4.0.3-12.2
ii  libtk8.5                           8.5.17-1
ii  libx11-6                           2:1.6.2-3
ii  libxext6                           2:1.3.3-1
ii  libxss1                            1:1.2.2-1
ii  libxt6                             1:1.1.4-1+b1
ii  ucf                                3.0030
ii  unzip                              6.0-16
ii  xdg-utils                          1.1.0~rc1+git20111210-7.4
ii  zip                                3.0-8
ii  zlib1g                             1:1.2.8.dfsg-2+b1

Versions of packages r-base-core recommends:
iu  r-base-dev     3.1.1-1
ii  r-doc-html     3.1.1-1
iu  r-recommended  3.1.1-1

Versions of packages r-base-core suggests:
pn  ess                     <none>
iu  r-base-html             3.1.1-1
pn  r-doc-info | r-doc-pdf  <none>
pn  r-mathlib               <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Adam,

I owe you a cold beverage or two!  Thanks *so much* for jumping in here.

On 26 March 2015 at 18:46, Adam D. Barratt wrote:
| Control: tags -1 + moreinfo unreproducible
| Control: severity -1 normal
| 
| On Thu, 2015-03-26 at 12:48 -0500, Dirk Eddelbuettel wrote:
| > On 26 March 2015 at 18:03, Alexander Schlarb wrote:
| > | Package: r-base-core
| > | Version: 3.1.1-1+b2
| > | Severity: grave
| > | Justification: renders package unusable
| > | 
| > | When installing the package `r-base-core` (or anything that depends on 
it) on a
| > | clean jessie install (not upgraded) then the depricated "staff" group 
will not
| > 
| > Uh-oh.  When did 'staff' get deprecated?  
| 
| As far as I'm aware, never. Policy lists no such status for the group,
| nor does base-passwd's changelog.
| 
| A freshly deboostrapped jessie root both contains the "staff" group and
| has /usr/local owned by that group, as Policy 9.1.2 specifies that it
| must.
| 
| I don't know how the submitter got their system into such a state, but
| this is in no way release-critical. In fact, it's most likely not a bug
| at all. So long as r-base-core ensures that /usr/local actually exists
| before attempting to chown things under it (as 9.1.2 also allows
| for /usr/local to be removed) then this report should be closed.
| If /usr/local exists then Policy by extension requires that the "staff"
| group also exist.

Ace.  Here is what r-base-core.postinst does. Twelve years old and still valid.


    # edd 03 Apr 2003  cf Section 10.1.2 of Debian Policy
    if [ ! -e /usr/local/lib/R ]; then
      if mkdir /usr/local/lib/R 2>/dev/null; then
        chown root:staff /usr/local/lib/R
        chmod 2775 /usr/local/lib/R
      fi
    fi
    if [ ! -e /usr/local/lib/R/site-library ]; then
      if mkdir /usr/local/lib/R/site-library 2>/dev/null; then
        chown root:staff /usr/local/lib/R/site-library
        chmod 2775 /usr/local/lib/R/site-library
      fi
    fi

So I am closing this.

Dirk

| 
| Regards,
| 
| Adam
| 

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]

--- End Message ---

Reply via email to