Comment 80 for bug 859600

Revision history for this message
Michael Terry (mterry) wrote :

OK, quick update on status for Quantal and Precise. The Quantal patch was never uploaded to the archive. The Precise patch was uploaded by xnox, but was rejected because of the ${binary:Version} issue below.

I've just uploaded a modified patch from comment 75 to Quantal only. I'd like to get Quantal landed before doing Precise, because as people have mentioned, the upgrade path gets complicated otherwise.

Here are the changes I made to Graham's Quantal patch:
- You shouldn't specify Breaks or Replaces lines with automatically generated versions like ${binary:Version}. This means that every time the package is built, it will say it breaks previous versions. Instead, just hardcode the version that you put in debian/changelog.
- When using DEB_HOST_MULTIARCH, please also make sure to manually set it [1] as recommended in the multiarch conversion doc [2]. This is because while normally the buildd will set it for us, it's not a requirement. For example, when dep8 tests rebuild the source, the variable is not set for us. Not likely an issue in practice , but still good to do.
- No need for quantal-proposed in the changelog entry. You can just say quantal now and LP will do the right thing. Minor point, but just saying.
- No need to manually add multiarch-support to the Pre-Depends line. It comes in via the ${misc:Pre-Depends} bit. Again, minor point.

So let's see how the Quantal upload goes.

[1] DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
[2] https://wiki.debian.org/Multiarch/Implementation