[Bug 1304760] Re: checkinstall fails to add files to dpkg conffiles

Brian Morton rokclimb15 at gmail.com
Wed Jan 4 03:14:51 UTC 2017


root at checkinstall-bug-trusty:~# apt-get install checkinstall
root at checkinstall-bug-trusty:~# apt-get source haproxy
root at checkinstall-bug-trusty:~# cd haproxy*
root at checkinstall-bug-trusty:~/haproxy-1.5.14# mkdir -p etc/haproxy
root at checkinstall-bug-trusty:~/haproxy-1.5.14# touch etc/haproxy/haproxy.cfg
root at checkinstall-bug-trusty:~/haproxy-1.5.14# echo 'etc/haproxy/haproxy.cfg' >> includes
root at checkinstall-bug-trusty:~/haproxy-1.5.14# checkinstall -y --include=includes
root at checkinstall-bug-trusty:~/haproxy-1.5.14# dpkg -e haproxy*.deb
root at checkinstall-bug-trusty:~/haproxy-1.5.14# cat DEBIAN/conffiles | wc -l
0

after applying patched package of checkinstall, repeat the above steps

root at checkinstall-bug-trusty:~/haproxy-1.5.14# cat DEBIAN/conffiles | wc -l
1

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1304760

Title:
  checkinstall fails to add files to dpkg conffiles

Status in checkinstall package in Ubuntu:
  Fix Released
Status in checkinstall package in Debian:
  New

Bug description:
  checkinstall 1.6.2-3ubuntu1 has a command like this to create
  conffiles:

  find -L $BUILD_DIR/etc -type f 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
          > $BUILD_DIR/DEBIAN/conffiles

  It is attempting to pipe and redirect the output, resulting in an
  empty conffiles.  Removing the second pipe

  find -L $BUILD_DIR/etc -type f 2> /dev/null | sed -e "s,$BUILD_DIR,," \
          > $BUILD_DIR/DEBIAN/conffiles

  correctly creates the conffiles file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/1304760/+subscriptions



More information about the Ubuntu-sponsors mailing list