edgedb / edgedb-pkg

EdgeDB Release Packaging Toolkit
1 stars 2 forks source link

File conflict on rpm install #21

Closed zacharywhitley closed 3 years ago

zacharywhitley commented 4 years ago

Steps to Reproduce:

  1. Install yum repo
  2. yum install edgedb-XXXX

The following warning is produced. I'm guessing I can just force the install and everything would be ok.

Downloading packages: edgedb-server-1-alpha4-1.0a4-2020071615.el7.x86_64.rpm | 0 B 00:00 ... edgedb-cli-1.0.0_alpha.4-2020071620.el7.x86_64.rpm | 0 B 00:00 ... (1/3): edgedb-1-alpha4-1.0a4-2020071615.el7.x86_64.rpm | 2.9 kB 00:00
(2/3): edgedb-server-1-alpha4-1.0a4-2020071615.el7.x86_64. | 35 MB 00:01
(3/3): edgedb-cli-1.0.0_alpha.4-2020071620.el7.x86_64.rpm | 15 MB 00:02

Total 23 MB/s | 50 MB 00:02
Running transaction check Running transaction test

Transaction check error: file /usr/bin/edgedb from install of edgedb-cli-1.0.0_alpha.4-2020071620.el7.x86_64 conflicts with file from package edgedb-common-1.0a1-1.el7.x86_64

elprans commented 4 years ago

@zacharywhitley The cleanest way would be to remove edgedb-common, as it is no longer shipped and is unnecessary. We'll look into adding proper conflict metadata to the new packages to make it clear. Thanks!

elprans commented 4 years ago

@ambv I have the necessary bits pushed as edgedb/metapkg@26620d3d509ee7 and in #22. I've done brief testing, but we need to test across all supported distros.

elprans commented 3 years ago

This is done.