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


Groups > linux.debian.kernel > #58685

Bug#872263: [rb-general] Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#872263: [rb-general] Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports
Date 2017-08-16 23:10 +0200
Message-ID <ufdJD-3Is-1@gated-at.bofh.it> (permalink)
References (1 earlier) <ueTBg-7O5-9@gated-at.bofh.it> <uf87f-cZ-7@gated-at.bofh.it> <ufaVs-1YD-17@gated-at.bofh.it> <ueJLz-1Ix-1@gated-at.bofh.it> <ufaVs-1YD-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

On Wed, 2017-08-16 at 17:51 +0000, Daniel Shahaf wrote:
> Chris Lamb wrote on Wed, 16 Aug 2017 07:54 -0700:
> > > Still, it seems like there is a wider problem here: if the exact same
> > > code is ever built in two unrelated packages then their debug info
> > > packages will conflict even if the regular binary packages don't.
> > 
> > I've seen this outside of reproducibility where I was shipping the exact
> > same binary in the redis-server and redis-sentinel packages (it changes
> > behaviour based on argv[0]).
> > 
> > The -dbgsym packages then conflicted for the same reason.
> 
> Stupid question, but why _do_ the packages conflict?  Couldn't the
> package manager notice that the file versions that would be installed by
> each package are equivalent [= same name, chmod, and bit-by-bit
> contents], and keep the file existing so long as _either_ package is
> installed?

In the case of the kernel packages, the identical binaries (vDSOs) are
emebedded in kernel images with different filenames.  The identical
debug info is installed with different filenames.  But the symlinks to
them underneath /usr/lib/debug/.build-id therefore have the same (hash-
based) name and *different* content.

Ben.

-- 
Ben Hutchings
The generation of random numbers is too important to be left to chance.
                                                       - Robert Coveyou

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


Thread

Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports Andreas Beckmann <anbe@debian.org> - 2017-08-15 15:10 +0200
  Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports Ben Hutchings <ben@decadent.org.uk> - 2017-08-16 01:40 +0200
  Bug#872263: [rb-general] Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports Daniel Shahaf <danielsh@apache.org> - 2017-08-16 20:10 +0200
    Bug#872263: [rb-general] Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports Ben Hutchings <ben@decadent.org.uk> - 2017-08-16 23:10 +0200
      Bug#872263: [rb-general] Bug#872263: linux-image-4.11.0-1-amd64-dbg: file overwrite error upgrading from stretch-backports Ximin Luo <infinity0@debian.org> - 2017-09-06 14:00 +0200

csiph-web