#1032565 /usr/share/grpc/roots.pem is shipped by libgrpc* causing file conflicts during updates

#1032565#5
Date:
2023-03-09 06:11:45 UTC
From:
To:
When trying to install libgrpc29 (rebuilt on bullseye for
fasttrack.debian.net), it has some conflicts with libgrpc22.

Unpacking libgrpc29:amd64 (1.51.1-3~fto11+1) ...
dpkg: error processing archive
/var/cache/apt/archives/libgrpc29_1.51.1-3~fto11+1_am
d64.deb (--unpack):
 trying to overwrite '/usr/share/grpc/roots.pem', which is also in
package libgrpc22
:amd64 1.44.0-2~fto11+1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgrpc29_1.51.1-3~fto11+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think a good idea would be to move /usr/share/grpc/roots.pem to
grpc-common package and libgrpc* depend on it. This will avoid
conflicts on updates.