So are these the right patches? It seems both golang-github-golang-protobuf-1-3 and golang-github-golang-protobuf-1-5 uses Conflicts and needs to be modified. The first patch below is for 1-3 and the last one for 1-5. I have limited time so if anyone has time to test, revise patches and do the upload, please don't wait for me.
/Simon
From f54c8aee95597558491fbbbff6fe87d406ff9722 Mon Sep 17 00:00:00 2001 From: Simon Josefsson <si...@josefsson.org> Date: Mon, 21 Jul 2025 10:33:31 +0200 Subject: [PATCH] Use Breaks: instead of Conflicts:. --- debian/control | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index ce48496..f98eae7 100644 --- a/debian/control +++ b/debian/control @@ -31,8 +31,8 @@ Package: golang-github-golang-protobuf-1-3-dev Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, -Conflicts: golang-github-golang-protobuf-1-5-dev, -Breaks: golang-goprotobuf-dev (<< 1.3.5-1~), +Breaks: golang-github-golang-protobuf-1-5-dev, + golang-goprotobuf-dev (<< 1.3.5-1~), Replaces: golang-goprotobuf-dev (<< 1.3.5-1~), Description: Go support for protocol buffers (version v1.3.x) This module (github.com/golang/protobuf) contains Go bindings for protocol @@ -50,8 +50,8 @@ Depends: libprotobuf-dev, ${misc:Depends}, ${shlibs:Depends}, Breaks: golang-goprotobuf-dev (<< 1.3.5-1~), -Conflicts: protoc-gen-go, - protoc-gen-go-1-5, + protoc-gen-go, + protoc-gen-go-1-5, Replaces: golang-goprotobuf-dev (<< 1.3.5-1~), Description: Go plugin for protobuf compiler (version v1.3.x) This protobuf compiler plugin is from github.com/golang/protobuf module. -- 2.50.0
From 65b600a138ff6b4e7ef9db7b8158dcd6865ccf99 Mon Sep 17 00:00:00 2001 From: Simon Josefsson <si...@josefsson.org> Date: Mon, 21 Jul 2025 10:32:25 +0200 Subject: [PATCH] Use Breaks/Replaces instead of Conflicts. --- debian/control | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index 202cb2d..c803b48 100644 --- a/debian/control +++ b/debian/control @@ -22,8 +22,10 @@ Multi-Arch: foreign Depends: golang-github-google-go-cmp-dev (>= 0.5.5), golang-google-protobuf-dev (>= 1.33.0), ${misc:Depends}, -Conflicts: golang-github-golang-protobuf-1-3-dev, - golang-goprotobuf-dev, +Breaks: golang-github-golang-protobuf-1-3-dev, + golang-goprotobuf-dev, +Replaces: golang-github-golang-protobuf-1-3-dev, + golang-goprotobuf-dev, Description: Go support for protocol buffers (version v1.5.x) This module (github.com/golang/protobuf) contains Go bindings for protocol buffers. @@ -39,9 +41,12 @@ Depends: libprotobuf-dev, protobuf-compiler, ${misc:Depends}, ${shlibs:Depends}, -Conflicts: golang-goprotobuf-dev, - protoc-gen-go, - protoc-gen-go-1-3, +Breaks: golang-goprotobuf-dev, + protoc-gen-go, + protoc-gen-go-1-3, +Replaces: golang-goprotobuf-dev, + protoc-gen-go, + protoc-gen-go-1-3, Description: Go plugin for protobuf compiler (version v1.5.x) This protobuf compiler plugin is from github.com/golang/protobuf module, which is deprecated. -- 2.50.0
signature.asc
Description: PGP signature