Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 38 - conflicts with filesystem-3.18-3.fc38.x86_64 #213

Closed
jozo opened this issue Jun 26, 2023 · 10 comments
Closed

Fedora 38 - conflicts with filesystem-3.18-3.fc38.x86_64 #213

jozo opened this issue Jun 26, 2023 · 10 comments

Comments

@jozo
Copy link

jozo commented Jun 26, 2023

Ahojte, vdaka za appku. Skusal som ju nainstalovat na Fedore 38, avsak padne to.

Input:

sudo dnf install ./autogram-1.99.13-1.x86_64.rpm

Output:

=====================================================================================================
 Package               Architecture        Version                   Repository                 Size
=====================================================================================================
Installing:
 autogram              x86_64              1.99.13-1                 @commandline              117 M

Transaction Summary
=====================================================================================================
Install  1 Package

Total size: 117 M
Installed size: 209 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/bin from install of autogram-1.99.13-1.x86_64 conflicts with file from package filesystem-3.18-3.fc38.x86_64
  file /usr/lib from install of autogram-1.99.13-1.x86_64 conflicts with file from package filesystem-3.18-3.fc38.x86_64


@jsuchal
Copy link
Member

jsuchal commented Jul 19, 2023

@jozo diky za report, nemame tu velmi fedoru, ale vyzera to mimoriadne podozrivo.

nasiel som nieco taketo jordansissel/fpm#1607 a https://www.edureka.co/community/85793/file-from-install-hadoop-conflicts-file-package-filesystem

@jozo ked to skusis s tym --force tak to zbehne?

@jozo
Copy link
Author

jozo commented Jul 25, 2023

Ano, --force pomoze, skusal som vo VM. Appka sa nainstaluje a aj sa spusti (dalej som neskusal). Avsak nie je to idealne riesenie. 😕 V jordansissel/fpm#1607 bol problem, ze sa pri vytvarani rpm pridaval aj prazdny dir. Neskusite pozriet ci sa tu nedeje to iste?

@jsuchal
Copy link
Member

jsuchal commented Aug 2, 2023

@jozo ano upodozrievam nieco taketo, ale kedze cely package robi jpackage/jlink, tak to bude asi tazsie na zmenu (a trochu ma prekvapuje, ze by toto jpackage nemal vychytane)

@durasj
Copy link
Contributor

durasj commented Oct 15, 2023

Mozem potvrdit. Package na stiahnutie sa neda pouzit na Fedore.

Lokalny package, ktory si spravim na Fedore funguje v pohode. Takze bud a) problem hostu na ktorom to ide b) build.properties ak sa nejak pri builde menia.

@jsuchal
Copy link
Member

jsuchal commented Oct 16, 2023

@durasj vedel by si kuknut lokalny build a tento z githubu, ze v com si lisia "vo vnutri" ?

This was referenced Dec 14, 2023
@xseman
Copy link
Contributor

xseman commented Dec 21, 2023

Je to zvláštne, najideálnejšie by bolo keby existoval fedora runner aby sme nemuseli riešiť špecialne rozdiely artefaktov inej distribúcie.

Keď pozerám diff install scripts releasu a local build:

diff -u <(rpm -lpq release.rpm) <(rpm -lpq source.rpm)

Release .rpm obsahuje navyše

--- /dev/fd/63  2023-12-22 16:32:01.358096157 +0100
+++ /dev/fd/62  2023-12-22 16:32:01.359096165 +0100
@@ -1,4 +1,7 @@
+/usr
+/usr/bin
 /usr/bin/autogram
+/usr/lib
 /usr/lib/.build-id
 /usr/lib/.build-id/09
 /usr/lib/.build-id/09/fff19d9111995e3521b29a418bd17195045d10
@@ -321,5 +324,7 @@
 /usr/lib/autogram/runtime/lib/server/libjvm.so
 /usr/lib/autogram/runtime/lib/tzdb.dat
 /usr/lib/autogram/runtime/release
+/usr/share
+/usr/share/licenses

Zaujimavé je že sú tam práve tie 2 pathy, čo sú v error hláške @jozo.
Rovnaký error dostanem (Fedora 39) keď skúšam releasnuty .rpm

@jsuchal
Copy link
Member

jsuchal commented Dec 22, 2023

@xseman toto sa bude asi fixovat tazko, pouzivame jpackage co vyraba tieto rpm a internet je ticho, co sa tyka riesenia. Uz som aj zvazoval nejaky skript co RPM "otvori", toto vymaze a spravi nove.

@xseman
Copy link
Contributor

xseman commented Dec 25, 2023

Taktiež ma to napadlo, no to je už taká záplata. Testoval som to na čistej inštalácií Debian a Fedore a .rpm je stále s tým rozdielom v path ak je to buildnute na Debiane.

Jedno riešenie by bolo mať docker kontajner Debian a druhy Fedora, alebo mať custom runners, no to by už muselo niekde žiť na VPS.

@jsuchal
Copy link
Member

jsuchal commented Feb 27, 2024

@xseman vies potvrdit ci toto mame v novej verzii fixnute?

@xseman
Copy link
Contributor

xseman commented Feb 27, 2024

Už to inštaluje bez problémov, issiue môžeme uzavrieť.

Log
Dependencies resolved.
=======================================================================================================================================================================================================
 Package                                        Architecture                                 Version                                          Repository                                          Size
=======================================================================================================================================================================================================
Upgrading:
 autogram                                       x86_64                                       2.1.5-1                                          @commandline                                       110 M

Transaction Summary
=======================================================================================================================================================================================================
Upgrade  1 Package

Total size: 110 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                               1/1
  Upgrading        : autogram-2.1.5-1.x86_64                                                                                                                                                       1/2
  Running scriptlet: autogram-2.1.5-1.x86_64                                                                                                                                                       1/2
  Running scriptlet: autogram-1.0.0-1.x86_64                                                                                                                                                       2/2
  Cleanup          : autogram-1.0.0-1.x86_64                                                                                                                                                       2/2
  Running scriptlet: autogram-1.0.0-1.x86_64                                                                                                                                                       2/2
  Verifying        : autogram-2.1.5-1.x86_64                                                                                                                                                       1/2
  Verifying        : autogram-1.0.0-1.x86_64                                                                                                                                                       2/2

Upgraded:
  autogram-2.1.5-1.x86_64

Complete!

@jsuchal jsuchal closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants