Bug 17230 - shinken update conflicts with shinken (b/c of file on directory update)
Summary: shinken update conflicts with shinken (b/c of file on directory update)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2015-11-26 13:32 CET by Meg Skywalker
Modified: 2016-07-05 22:06 CEST (History)
1 user (show)

See Also:
Source RPM: shinken-2.4.2-1.mga6.noarch
CVE:
Status comment:


Attachments

Description Meg Skywalker 2015-11-26 13:32:05 CET
Installation fehlgeschlagen:    Datei /etc/shinken/realms aus der Installation von shinken-2.4.2-1.mga6.noarch kollidiert mit der Datei aus dem Paket shinken-2.4.1-1.mga6.noarch
Comment 1 Rémi Verschelde 2015-11-26 13:34:08 CET
Now that's some fishy ham, thanks for the report ;)

Assigning to maintainer.

Assignee: bugsquad => guillomovitch

Comment 2 Thierry Vignaud 2015-11-30 13:08:40 CET
What did you do?
Did you use urpmi? Or did you just try "rpm -i" instead of "rpm -U"?

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 3 Guillaume Rousse 2015-12-08 20:13:01 CET
This is an unreproductible issue, as 2.4.1-1.mga6.noarch doesn't exist anymore. Moerover, as Thierry outlined, this is very suspicious: an upgrade is not supposed to trigger a conflict for a file that belong both to previous and newer release. I'm closing this as invalid, feel free to reopen if you have a reproductible test case.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 4 Meg Skywalker 2015-12-09 14:21:48 CET
urpmi --auto-update --skip glpi --allow-force
cause of issue 16751

Actual produces:
Installation fehlgeschlagen:
        Datei /etc/shinken/realms aus der Installation von shinken-2.4.2-1.mga6.noarch kollidiert mit der Datei aus dem Paket shinken-2.4.1-1.mga6.noarch

shinken 2.4.1-1 is installed.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 5 Guillaume Rousse 2015-12-09 19:55:23 CET
That's still unreproductible if you don't have 2.4.1-1.mga6.noarch installed. And very far from a minimal test case. Just download manually 2.4.2-1.mga6.noarch, and try a manual update with rpm -Uvh.
Comment 6 Meg Skywalker 2016-01-21 10:55:13 CET
even allow force did not work :(

urpmi shinken --allow-force 
Achtung: Die --allow-force-Option wird genutzt. Es können einige seltsame Probleme auftreten


shinken-2.4.2-1.mga6.noarch.rpm von /var/cache/urpmi/rpms wird installiert
Vorbereiten ⦠                   #########################################################################################################################################################################
Installation fehlgeschlagen:
        Datei /etc/shinken/realms aus der Installation von shinken-2.4.2-1.mga6.noarch kollidiert mit der Datei aus dem Paket shinken-2.4.1-1.mga6.noarch
Soll eine Installation ohne Abhängigkeitstest versucht werden? (j/N) j
Vorbereiten ⦠                   #########################################################################################################################################################################
Installation fehlgeschlagen:
        Datei /etc/shinken/realms aus der Installation von shinken-2.4.2-1.mga6.noarch kollidiert mit der Datei aus dem Paket shinken-2.4.1-1.mga6.noarch
Soll eine Installation mittels --force erzwungen werden? (j/N) j
Vorbereiten ⦠                   #########################################################################################################################################################################
      1/1: shinken               #########################################################################################################################################################################
Fehler: Entpacken des Archivs fehlgeschlagen bei Datei /etc/shinken/realms: cpio: rename
ERROR: 'unpack' failed for shinken-2.4.2-1.mga6
Fehler: shinken-2.4.2-1.mga6.noarch: installieren fehlgeschlagen
Fehler: shinken-2.4.1-1.mga6.noarch: löschen übersprungen


Same for rpm:
rpm -Uvh shinken-2.4.2-1.mga6.noarch.rpm 
Vorbereiten ⦠                      ################################# [100%]
        Datei /etc/shinken/realms aus der Installation von shinken-2.4.2-1.mga6.noarch kollidiert mit der Datei aus dem Paket shinken-2.4.1-1.mga6.noarch
Comment 7 Meg Skywalker 2016-05-09 12:54:25 CEST
Possible helpful:

In shinken-2.4.1 (or earlier) realms is a directory, in shinken-2.4.2 it is an file. 

Renamed the path (cause there all only a default all.cfg) and the upgrade works.

Status: REOPENED => RESOLVED
Resolution: (none) => WORKSFORME

Comment 8 Thierry Vignaud 2016-05-09 13:04:43 CEST
So we need a trigger in order to do a proper upgrade from 2.4.1 to 2.4.2...

Status: RESOLVED => REOPENED
Resolution: WORKSFORME => (none)
Summary: shinken update conflicts with shinken => shinken update conflicts with shinken (b/c of file on directory update)

Comment 9 Guillaume Rousse 2016-07-04 20:34:14 CEST
Should be fixed in 2.4.3-1.mga6.
Comment 10 Guillaume Rousse 2016-07-05 22:06:16 CEST
Fixed now.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.