Comment 6 for bug 2015778

Revision history for this message
Nick Rosbrook (enr0n) wrote :

I tested the attached patch using my PPA https://launchpad.net/~enr0n/+archive/ubuntu/lp2015778/+packages, and I did not get the conffile prompt during upgrade.

root@kinetic:~# apt-cache policy binutils-common
binutils-common:
  Installed: 2.39-3ubuntu1.1
  Candidate: 2.39-3ubuntu1.1
  Version table:
 *** 2.39-3ubuntu1.1 500
        500 http://archive.ubuntu.com/ubuntu kinetic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu kinetic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.39-3ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
root@kinetic:~# do-release-upgrade -d --allow-third-party
[ ... ]
root@kinetic:~# head /etc/gprofng.rc
# Copyright (C) 2021-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
root@kinetic:~# apt-cache policy binutils-common
binutils-common:
  Installed: 2.40-2ubuntu4~ppa2
  Candidate: 2.40-2ubuntu4~ppa2
  Version table:
 *** 2.40-2ubuntu4~ppa2 500
        500 https://ppa.launchpadcontent.net/enr0n/lp2015778/ubuntu lunar/main amd64 Packages
        100 /var/lib/dpkg/status
     2.40-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu lunar/main amd64 Packages