Hi there,

On 12 October 2016 at 15:45, shirish शिरीष wrote:
| Package: r-base-core
| Version: 3.3.1-1+b2
| Severity: normal
| User: debian...@lists.debian.org
| Usertags: obsolete-conffile adequate
| 
| Dear Maintainer,
| Adequate reported obsolete conffiles. See -

That is testing upgrades from old packages, correct?  debian/rules went
through some iterations to ensure it installs in the correct place:

        # add tab completion by Deepayan
        #install -m 0644 debian/R.bash_completion       \
        #       debian/$(corepackage)/etc/bash_completion.d/R
        # edd 24 Mar 2014  now installs via dh_bash-completion
        dh_bash-completion      
        # edd 12 Jan 2016  new location
        #install -m 0644 debian/R.bash-completion \
        #       debian/$(corepackage)/usr/share/bash-completion/completions/R

 
| [$] adequate r-base-core
| 
| r-base-core: obsolete-conffile /etc/bash_completion.d/R
| 
| As pabs (Paul Wise) has shared in #815563 the proper thing to do would be to -
| 
| use the dpkg-maintscript-helper support provided by dh_installdeb
| to remove these obsolete conffiles on upgrade.
| 
| https://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
| http://manpages.debian.org/man/1/dh_installdeb

Well yes, link 1 explains what a config file it, link 2 is currently dead.

But the pointer to dpkg-maintscript-helper is appreciated. Did not know that
one. 

| I ran the same command as he did -
| 
| ┌─[shirish@debian] - [~] - [422]
| └─[$] pkg=r-base-core ; adequate $pkg ; dpkg-query -W
| -f='${Conffiles}\n' $pkg | grep obsolete
| 
| r-base-core: obsolete-conffile /etc/bash_completion.d/R
|  /etc/bash_completion.d/R 086c63e5f408e1954ad23bee981e0dc6 obsolete
| 
| Look forward to getting this fixed soonish.

Do you have a recommended code snippet for a upgrade of these files?
Else I grep on my system for some other postinst files and do likewise for
dpkg-maintscript-helper. 

R 3.3.2 is coming soon so we'll have rc releases to work this out.

Dirk
 
| -- System Information:
| Debian Release: stretch/sid
|   APT prefers testing
|   APT policy: (600, 'testing'), (500, 'unstable-debug'), (500,
| 'testing-debug'), (1, 'experimental-debug'), (1, 'experimental'), (1,
| 'unstable')
| Architecture: amd64 (x86_64)
| 
| Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
| Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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  ca-certificates                    20160104
| ii  libatlas3-base [liblapack.so.3]    3.10.3-1
| ii  libblas3 [libblas.so.3]            3.6.1-2
| ii  libbz2-1.0                         1.0.6-8
| ii  libc6                              2.24-3
| ii  libcairo2                          1.14.6-1+b1
| ii  libcurl3                           7.50.1-1
| ii  libgfortran3                       6.1.1-11
| ii  libglib2.0-0                       2.50.0-2
| ii  libgomp1                           6.1.1-11
| ii  libice6                            2:1.0.9-1+b1
| ii  libicu57                           57.1-4
| ii  libjpeg62-turbo                    1:1.5.0-1
| ii  liblapack3 [liblapack.so.3]        3.6.1-2
| ii  liblzma5                           5.1.1alpha+20120614-2.1
| ii  libopenblas-base [liblapack.so.3]  0.2.19-1
| ii  libpango-1.0-0                     1.40.3-2
| ii  libpangocairo-1.0-0                1.40.3-2
| ii  libpaper-utils                     1.1.24+nmu4
| ii  libpcre3                           2:8.39-2
| ii  libpng16-16                        1.6.25-1
| ii  libquadmath0                       6.1.1-11
| ii  libreadline7                       7.0-1
| ii  libsm6                             2:1.2.2-1+b1
| ii  libtcl8.6                          8.6.6+dfsg-1
| ii  libtiff5                           4.0.6-2
| ii  libtk8.6                           8.6.6-1
| ii  libx11-6                           2:1.6.3-1
| ii  libxext6                           2:1.3.3-1
| ii  libxss1                            1:1.2.2-1
| ii  libxt6                             1:1.1.5-1
| ii  ucf                                3.0036
| ii  unzip                              6.0-20
| ii  xdg-utils                          1.1.1-1
| ii  zip                                3.0-11
| ii  zlib1g                             1:1.2.8.dfsg-2+b1
| 
| Versions of packages r-base-core recommends:
| ii  r-base-dev     3.3.1-1
| ii  r-doc-html     3.3.1-1
| ii  r-recommended  3.3.1-1
| 
| Versions of packages r-base-core suggests:
| pn  ess                     <none>
| ii  r-base-html             3.3.1-1
| pn  r-doc-info | r-doc-pdf  <none>
| pn  r-mathlib               <none>
| 
| -- no debconf information
| 
| 
| -- 
|           Regards,
|           Shirish Agarwal  शिरीष अग्रवाल
|   My quotes in this email licensed under CC 3.0
| http://creativecommons.org/licenses/by-nc/3.0/
| http://flossexperiences.wordpress.com
| EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Reply via email to