Here is the revised preinst that should cover the different problems outlined:
https://salsa.debian.org/efi-team/fwupdate/commit/85533b1f392399ee53f88e71091044a69dabbdc4

It hasn't yet been uploaded to unstable, would like to align the correct
thing to do with breaks/conflicts first and do upload with both at same
time.

> There is also a bug in the packaging, which is that fwupdate has an
unversioned Breaks: against fwupdate-signed; if this is required, it
should be an unversioned Conflicts: instead. However, per the previous
comment, I think we probably need to do something else here (such as
making fwupdate-signed also be a dummy package built from fwupdate
source which depends on fwupd-signed, or dropping the Breaks: entirely
and ignoring the fact that fwupdate-signed is kept on disk, if that is
appropriate).

In Ubuntu fwupdate-signed has always been a real source package and real
binary package.  However in Debian fwupdate-signed has never existed, it
has always been fwupdate-signed-$ARCH.  So the Breaks that is there is
entirely for the purpose of Ubuntu transitioning.  In my opinion it
would be better to avoid having to introduce a fwupdate-signed binary
package in the fwupdate source package in Debian just for the purpose of
Ubuntu transitioning.

I think that keeping fwupdate-signed on the disk is not an appropriate
action, at least not without changes to fwupdate-signed.  It calls in a
postinstall script /usr/lib/fwupdate/install which is not longer
provided by the fwupdate package.

I think that leaves two options then:
1) Remove unversioned Breaks: fwupdate-signed from fwupdate source package,
   convert fwupdate-signed into transition package in Ubuntu as part of this 
SRU.
2) Change unversioned Breaks: fwupdate-signed from fwupdate source package into 
unversioned Conflicts: fwupdate-signed.
>From Steve's comment, I'm not sure this would work though.  So I think my 
>preference would be <1> above.

Steve, can you validate that <1> should likely work?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820768

Title:
  [SRU] support new cab and new docking firmware upgrade in fwupd 1.2.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1820768/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to