I can give some extra insight. the problem is with attempting to install the libraspberrypi0:armhf dependency in addition which users might want to do in a multiarch arm64 and armhf scenario.
The problem is that both the armhf and arm64 package contain the `/usr/share/lintian/overrides/libraspberrypi0` file. This files contents do not match on the armhf and arm64 package, causing apt to error saying that there is a conflicting file (which there is).
needrestart is being skipped since dpkg has failed
```
The fix is to add the lintian overrides from armhf to arm64 and vice versa so the files match and update in all ubuntu releases, since its a problem on every release since the raspberrypi-userland package package was added (focal and up). the official raspbian/raspberrypi foundation packages do not have this issue.
I can give some extra insight. the problem is with attempting to install the libraspberrypi0 :armhf dependency in addition which users might want to do in a multiarch arm64 and armhf scenario.
The problem is that both the armhf and arm64 package contain the `/usr/share/ lintian/ overrides/ libraspberrypi0 ` file. This files contents do not match on the armhf and arm64 package, causing apt to error saying that there is a conflicting file (which there is).
``` dpkg-install- UXjmv9/ 250-libraspberr ypi0_0~ 20200520+ git2fe4ca3- 0ubuntu5~ 21.10.1_ armhf.deb (--unpack):
dpkg: error processing archive /tmp/apt-
trying to overwrite shared '/usr/share/ lintian/ overrides/ libraspberrypi0 ', which is different from other instances of package libraspberrypi0 :armhf
Errors were encountered while processing:
/tmp/apt- dpkg-install- UXjmv9/ 250-libraspberr ypi0_0~ 20200520+ git2fe4ca3- 0ubuntu5~ 21.10.1_ armhf.deb
needrestart is being skipped since dpkg has failed
```
The fix is to add the lintian overrides from armhf to arm64 and vice versa so the files match and update in all ubuntu releases, since its a problem on every release since the raspberrypi- userland package package was added (focal and up). the official raspbian/ raspberrypi foundation packages do not have this issue.