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 ** Patch added: "binutils_2.40-2ubuntu4.debdiff" https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2015778/+attachment/5664092/+files/binutils_2.40-2ubuntu4.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/2015778 Title: conffile prompt during release upgrade Status in binutils package in Ubuntu: Triaged Status in binutils source package in Lunar: Triaged Bug description: I was upgrading from Kinetic to Lunar today and received a question about a configuration file I had not touched. Setting up binutils-common:amd64 (2.40-2ubuntu3) ...^M ^M Configuration file '/etc/gprofng.rc'^M ==> File on system created by you or by a script.^M ==> File also in package provided by package maintainer.^M What would you like to do about it ? Your options are:^M Y or I : install the package maintainer's version^M N or O : keep your currently-installed version^M D : show the differences between the versions^M Z : start a shell to examine the situation^M The default action is to keep your current version.^M *** gprofng.rc (Y/I/N/O/D/Z) [default=N] ? d^M ^[[?1h^[=^M--- /etc/gprofng.rc 2022-12-01 03:11:36.000000000 -0800^[[m^M +++ /etc/gprofng.rc.dpkg-new 2023-03-05 00:47:46.000000000 -0800^[[m^M @@ -1,4 +1,4 @@^[[m^M -# Copyright (C) 2021 Free Software Foundation, Inc.^[[m^M +# Copyright (C) 2021-2023 Free Software Foundation, Inc.^[[m^M #^[[m^M # This file is free software; you can redistribute it and/or modify^[[m^M # it under the terms of the GNU General Public License as published by^[[m^M ^M^[[K^[[?1l^[>^M Configuration file '/etc/gprofng.rc'^M ==> File on system created by you or by a script.^M ==> File also in package provided by package maintainer.^M What would you like to do about it ? Your options are:^M Y or I : install the package maintainer's version^M N or O : keep your currently-installed version^M D : show the differences between the versions^M Z : start a shell to examine the situation^M The default action is to keep your current version.^M *** gprofng.rc (Y/I/N/O/D/Z) [default=N] ? i^M Installing new version of config file /etc/gprofng.rc ...^M To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2015778/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp