Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #91441

Bug#1126896: firmware-nvidia-graphics: Cannot upgrade from bookworm-backports to trixie-backports

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1126896: firmware-nvidia-graphics: Cannot upgrade from bookworm-backports to trixie-backports
Date Fri, 27 Feb 2026 00:00:02 +0100
Message-ID <MsSuR-3yts-3@gated-at.bofh.it> (permalink)
References <Mkpgl-frxi-1@gated-at.bofh.it> <Mkpgl-frxi-1@gated-at.bofh.it>
X-Original-To Vincent Danjean <vdanjean@debian.org>, 1126896@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Feb 26 22:57:08 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.65
Reply-To Ben Hutchings <ben@decadent.org.uk>, 1126896@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-kernel@lists.debian.org
X-Debian-Pr-Message followup 1126896
X-Debian-Pr-Package firmware-nvidia-graphics
X-Debian-Pr-Source firmware-nonfree
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-m3/iff/rAiaJ3kGB5SP0"
User-Agent Evolution 3.56.2-8
MIME-Version 1.0
X-Sa-Exim-Connect-IP 2a02:578:851f:1502:391e:c5f5:10e2:b9a3
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on maynard); SAEximRunCond expanded to false
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1955249
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 86
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 26 Feb 2026 23:55:43 +0100
X-Original-Message-ID <f955d40d80030e5ab5c3c8fd888e75097ee15083.camel@decadent.org.uk>
X-Original-References <177012688380.1140786.16129315334664199110.reportbug@eyak.imag.fr> <177012688380.1140786.16129315334664199110.reportbug@eyak.imag.fr>
Xref csiph.com linux.debian.bugs.dist:1283734 linux.debian.kernel:91441

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tag -1 wontfix

On Tue, 2026-02-03 at 14:54 +0100, Vincent Danjean wrote:
> Package: firmware-nvidia-graphics
> Version: 20251021-1~bpo13+1
> Severity: minor
> 
>   Hi,
> 
>   On most of my systems, I've APT Pin files in order to get the linux kernel
> and related packages (firmware, etc.) from backports.
> Recently, I tried to upgrade an up-to-date boorworm (with backports for the
> kernel+firmware) to trixie (with backports for the kernel+firmware).
> It fails with the following message:
> Preparing to unpack .../252-firmware-nvidia-graphics_20251021-1~bpo13+1_all.deb ...
> dpkg-maintscript-helper: error: file '/usr/lib/firmware/nvidia/ad103' not owned by package 'firmware-nvidia-graphics'
> dpkg-maintscript-helper: error: file '/usr/lib/firmware/nvidia/ad103/gsp' not owned by package 'firmware-nvidia-graphics'
> dpkg-maintscript-helper: error: directory '/usr/lib/firmware/nvidia/ad103' contains files not owned by package firmware-nvidia-graphics, ca
> nnot switch to symlink
> dpkg: error processing archive /tmp/apt-dpkg-install-JfnTpC/252-firmware-nvidia-graphics_20251021-1~bpo13+1_all.deb (--unpack):
>  new firmware-nvidia-graphics package pre-installation script subprocess returned error exit status 1
>
>   At this time, firmware-nvidia-graphics 20250410-2~bpo12+1 was installed.
> 
>   I know that bookwork-backports -> trixie-backports is not officially
> supported, hence the minor severity. I think the problem comes from the mix of
> "dir-to-symlink change of nvidia/ad10{3,4,6,7}" [09624635e929] and the
> usrmerge operation.
[...]

Indeed, we are trying to do a dir-to-symlink conversion under
/usr/lib/firmware but when the preinst script runs the installed files
are all in /lib/firmware still.

dpkg-maintscript-helper isn't sophisticated enough to handle this, and
currently the maintainer scripts are assembled from templates, so fixing
this would require significant effort, not to mention the time to test
the multiple possible upgrade paths.

Since as you say bookworm-backport -> trixie-backports is not documented
as supported, I'm going to leave this unfixed.

Ben.

-- 
Ben Hutchings
Always try to do things in chronological order;
it's less confusing that way.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1126896: firmware-nvidia-graphics: Cannot upgrade from bookworm-backports to trixie-backports Vincent Danjean <vdanjean@debian.org> - 2026-02-03 15:10 +0100
  Processed: Re: Bug#1126896: firmware-nvidia-graphics: Cannot  upgrade from bookworm-backports to trixie-backports "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-02-27 00:00 +0100
  Bug#1126896: firmware-nvidia-graphics: Cannot upgrade from bookworm-backports to trixie-backports Ben Hutchings <ben@decadent.org.uk> - 2026-02-27 00:00 +0100

csiph-web