Bug#840506: r-base-core: adequate reports obsolete conffile for r-base-core

2016-10-12 Thread shirish शिरीष
in-line :-

On 12/10/2016, Dirk Eddelbuettel  wrote:
>
> Hi there,

Hi Dirk,

First of all thank you for responding so quickly.



> That is testing upgrades from old packages, correct?

On the money.

>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
>

ok.

> | [$] 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.

As far as link 2 is concerned, it is down because of
https://db.debian.org/machines.cgi?host=glinka

But anyways, if you have debhelper installed, then you can read the
manpage on it

$ man dh_installdeb

> 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.


While I'm not a programmer, I did find
https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;tag=obsolete-conffile;users=debian...@lists.debian.org#_4_3_5
OR/and

https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;tag=obsolete-conffile;users=debian...@lists.debian.org#_4_4_5

All of the bugs which are resolved therein are the same obsolete
conffile issues.

The hard work that you will have to do would involve is probably
finding which of the packages is similar to yours, finding the commits
which resolved the issue and applying the same/similar at your end.

If you do put up a patch, please share it as well as the way to
use/apply the patch and I'll try and apply it and see if the situation
resolves.

Sorry I can't be of more help.

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

Are you hoping to have them in before freeze ?

> 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-certificates20160104
> | 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  libice62:1.0.9-1+b1
> | ii  libicu57   57.1-4
> | ii  libjpeg62-turbo1: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-01.40.3-2
> | ii  libpaper-utils 1.1.24+nmu4
> | ii  libpcre3   2:8.39-2
> | ii  libpng16-161.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  

Bug#840506: r-base-core: adequate reports obsolete conffile for r-base-core

2016-10-12 Thread Dirk Eddelbuettel

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-certificates20160104
| 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  libice62:1.0.9-1+b1
| ii  libicu57   57.1-4
| ii  libjpeg62-turbo1: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-01.40.3-2
| ii  libpaper-utils 1.1.24+nmu4
| ii  libpcre3   2:8.39-2
| ii  libpng16-161.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  libxss11:1.2.2-1
| ii  libxt6 1:1.1.5-1
| ii  ucf3.0036
| ii  unzip  6.0-20
| ii  xdg-utils  1.1.1-1
| ii  zip3.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 
| ii  r-base-html 3.3.1-1
| pn  r-doc-info | r-doc-pdf  
| pn  r-mathlib   
| 
| -- 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.

Bug#840506: r-base-core: adequate reports obsolete conffile for r-base-core

2016-10-12 Thread shirish शिरीष
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 -

[$] 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

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.

-- 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-certificates20160104
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  libice62:1.0.9-1+b1
ii  libicu57   57.1-4
ii  libjpeg62-turbo1: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-01.40.3-2
ii  libpaper-utils 1.1.24+nmu4
ii  libpcre3   2:8.39-2
ii  libpng16-161.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  libxss11:1.2.2-1
ii  libxt6 1:1.1.5-1
ii  ucf3.0036
ii  unzip  6.0-20
ii  xdg-utils  1.1.1-1
ii  zip3.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 
ii  r-base-html 3.3.1-1
pn  r-doc-info | r-doc-pdf  
pn  r-mathlib   

-- 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