Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] protobufs upgrade fails
@ 2020-08-18 19:17 Noah-Huppert
  2020-08-18 19:27 ` Noah-Huppert
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Noah-Huppert @ 2020-08-18 19:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

New issue by Noah-Huppert on void-packages repository

https://github.com/void-linux/void-packages/issues/24344

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
```
Void 5.4.50_1 x86_64 GenuineIntel notuptodate rrrmFFFFFFFFFFF
```
* package:  
  *affected package(s) including the version*: ``xbps-query -p pkgver <pkgname>``

```
protobuf24-3.13.0_1
protobuf23-3.12.4_1
protobuf-3.13.0_1
```

### Expected behavior

Upgrading protobufs (when upgrading my system via `xbps-install -Syu`) should not fail due to a newer version of protobufs providing the same binary which the older version provides.

### Actual behavior

```
% xbps-install -Syu
...
protobuf24-3.13.0_1: collecting files...
protobuf-3.13.0_1: collecting files...
protobuf23-3.12.4_1: collecting files...
ERROR: protobuf23-3.12.4_1: file `/usr/bin/protoc' already installed by package protobuf2
4-3.13.0_1.
Transaction failed! see above for errors.
```

[full output](https://gist.github.com/Noah-Huppert/b010256dbb6b8b31a402d7db9c84fedb)

It seems like it fails to upgrade from protobuf23 to protobuf24 bc they provide the same binary. 

### Steps to reproduce the behavior

1. Have `protobuf23` installed. 
2. Try to upgrade to `protobuf24`

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: protobufs upgrade fails
  2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
@ 2020-08-18 19:27 ` Noah-Huppert
  2020-08-19 16:13 ` [ISSUE] [CLOSED] " sgn
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Noah-Huppert @ 2020-08-18 19:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 241 bytes --]

New comment by Noah-Huppert on void-packages repository

https://github.com/void-linux/void-packages/issues/24344#issuecomment-675669070

Comment:
Running `xbps-install -Syu protobuf` after the failure does finish the upgrade successfully. 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: protobufs upgrade fails
  2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
  2020-08-18 19:27 ` Noah-Huppert
  2020-08-19 16:13 ` [ISSUE] [CLOSED] " sgn
@ 2020-08-19 16:13 ` sgn
  2020-08-19 16:20 ` Noah-Huppert
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-08-19 16:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/24344#issuecomment-676521455

Comment:
`protobuf24-3.13.0_2` conflicts with `protobuf23`.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] protobufs upgrade fails
  2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
  2020-08-18 19:27 ` Noah-Huppert
@ 2020-08-19 16:13 ` sgn
  2020-08-19 16:13 ` sgn
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-08-19 16:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

Closed issue by Noah-Huppert on void-packages repository

https://github.com/void-linux/void-packages/issues/24344

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
```
Void 5.4.50_1 x86_64 GenuineIntel notuptodate rrrmFFFFFFFFFFF
```
* package:  
  *affected package(s) including the version*: ``xbps-query -p pkgver <pkgname>``

```
protobuf24-3.13.0_1
protobuf23-3.12.4_1
protobuf-3.13.0_1
```

### Expected behavior

Upgrading protobufs (when upgrading my system via `xbps-install -Syu`) should not fail due to a newer version of protobufs providing the same binary which the older version provides.

### Actual behavior

```
% xbps-install -Syu
...
protobuf24-3.13.0_1: collecting files...
protobuf-3.13.0_1: collecting files...
protobuf23-3.12.4_1: collecting files...
ERROR: protobuf23-3.12.4_1: file `/usr/bin/protoc' already installed by package protobuf2
4-3.13.0_1.
Transaction failed! see above for errors.
```

[full output](https://gist.github.com/Noah-Huppert/b010256dbb6b8b31a402d7db9c84fedb)

It seems like it fails to upgrade from protobuf23 to protobuf24 bc they provide the same binary. 

### Steps to reproduce the behavior

1. Have `protobuf23` installed. 
2. Try to upgrade to `protobuf24`

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: protobufs upgrade fails
  2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
                   ` (2 preceding siblings ...)
  2020-08-19 16:13 ` sgn
@ 2020-08-19 16:20 ` Noah-Huppert
  2020-08-20  0:15 ` sgn
  2020-08-20  0:18 ` Noah-Huppert
  5 siblings, 0 replies; 7+ messages in thread
From: Noah-Huppert @ 2020-08-19 16:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

New comment by Noah-Huppert on void-packages repository

https://github.com/void-linux/void-packages/issues/24344#issuecomment-676525462

Comment:
Hi Danh,

Would you mind explaining in a bit more detail? To me it seems like an
upgrade between two incremental versions shouldn't fail bc one version has
the same binary as the other version.

El mié., 19 de agosto de 2020 12:13 p. m., Danh Doan <
notifications@github.com> escribió:

> protobuf24-3.13.0_2 conflicts with protobuf23.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/issues/24344#issuecomment-676521455>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAZLM4HU7WHEAXYDZF4CPW3SBP22PANCNFSM4QD665FQ>
> .
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: protobufs upgrade fails
  2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
                   ` (3 preceding siblings ...)
  2020-08-19 16:20 ` Noah-Huppert
@ 2020-08-20  0:15 ` sgn
  2020-08-20  0:18 ` Noah-Huppert
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-08-20  0:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/24344#issuecomment-676824120

Comment:
Yes, it shouldn't fail. Hence, we should have `protobuf24` `conflicts` with `protobuf23` and `prorovides` `protobuf23`.

The original change forgot to do it, and it's fixed in c260514218 (protobuf24: update conflicts list, 2020-08-18)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: protobufs upgrade fails
  2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
                   ` (4 preceding siblings ...)
  2020-08-20  0:15 ` sgn
@ 2020-08-20  0:18 ` Noah-Huppert
  5 siblings, 0 replies; 7+ messages in thread
From: Noah-Huppert @ 2020-08-20  0:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

New comment by Noah-Huppert on void-packages repository

https://github.com/void-linux/void-packages/issues/24344#issuecomment-676825018

Comment:
Thanks! I understand now.

El mié., 19 de agosto de 2020 8:15 p. m., Danh Doan <
notifications@github.com> escribió:

> Yes, it shouldn't fail. Hence, we should have protobuf24 conflicts with
> protobuf23 and prorovides protobuf23.
>
> The original change forgot to do it, and it's fixed in c260514
> <https://github.com/void-linux/void-packages/commit/c260514218c02130e1e5f65664a5dce205b4c754>
> (protobuf24: update conflicts list, 2020-08-18)
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/issues/24344#issuecomment-676824120>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAZLM4FVSLIVUM4DCI535YTSBRTLTANCNFSM4QD665FQ>
> .
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-20  0:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 19:17 [ISSUE] protobufs upgrade fails Noah-Huppert
2020-08-18 19:27 ` Noah-Huppert
2020-08-19 16:13 ` [ISSUE] [CLOSED] " sgn
2020-08-19 16:13 ` sgn
2020-08-19 16:20 ` Noah-Huppert
2020-08-20  0:15 ` sgn
2020-08-20  0:18 ` Noah-Huppert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).