Bug 20716

Summary: Upgrade issue: File /etc/idmapd.conf from install of lib64nfsidmap0-0.27-2.mga6.x86_64 conflicts with file from package nfs-utils-1:1.3.0-6.mga5.x86_64
Product: Mageia Reporter: Daniel Tartavel <contact>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: contact, guillomovitch, mageia, marja11, thierry.vignaud
Version: CauldronKeywords: 6RC, Junior_job
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: libnfsidmap-0.27-2.mga6 CVE:
Status comment:
Attachments: report.log of bug

Description Daniel Tartavel 2017-04-21 22:40:48 CEST
Description of problem:
Upgrading Mageia5 to Mageia 6 failed on conflicts files.

Version-Release number of selected component (if applicable):
Mageia-6-rc-x86_64 on usb key

How reproducible:
start Mageia5 upgrade to Mageia 6 with usb key

Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Tartavel 2017-04-21 22:45:28 CEST
Created attachment 9224 [details]
report.log of bug

report.log of the installer

CC: (none) => contact

Comment 2 Marja Van Waes 2017-04-22 12:57:34 CEST
(In reply to Daniel Tartavel from comment #1)
> Created attachment 9224 [details]
> report.log of bug
> 
> report.log of the installer

@ Thierry

What is the best way to use the installer logs when an upgrade fails because of conflicts?

Is only grepping for one or more lines with "Installation failed" and "conflicts" in it enough?

There is only:

Installation failed:    file /etc/idmapd.conf from install of lib64nfsidmap0-0.27-2.mga6.x86_64 conflicts with file from package nfs-utils-1:1.3.0-6.mga5.x86_64
        
(Assigning to all packagers collectively, since there is no registered maintainer for libnfsidmap.
CC'ing nfs-utils maintainer)

Component: Installer => RPM Packages
Summary: Mageia5 to Mageia6 update fails => Mageia5 to Mageia6 upgrade fails (file /etc/idmapd.conf from install of lib64nfsidmap0-0.27-2.mga6.x86_64 conflicts with file from package nfs-utils-1:1.3.0-6.mga5.x86_64)
Source RPM: (none) => libnfsidmap-0.27-2.mga6, nfs-utils
CC: (none) => guillomovitch, marja11, thierry.vignaud
Assignee: bugsquad => pkg-bugs
Keywords: (none) => 6RC
Priority: Normal => release_blocker

Rémi Verschelde 2017-04-26 11:03:38 CEST

Summary: Mageia5 to Mageia6 upgrade fails (file /etc/idmapd.conf from install of lib64nfsidmap0-0.27-2.mga6.x86_64 conflicts with file from package nfs-utils-1:1.3.0-6.mga5.x86_64) => Upgrade issue: File /etc/idmapd.conf from install of lib64nfsidmap0-0.27-2.mga6.x86_64 conflicts with file from package nfs-utils-1:1.3.0-6.mga5.x86_64

Comment 3 Rémi Verschelde 2017-04-26 11:06:10 CEST
Duplicate of bug 20586 that I had tried to fix, but failed: http://svnweb.mageia.org/packages/cauldron/libnfsidmap/current/SPECS/libnfsidmap.spec?r1=1081263&r2=1095136

The issue is that I put the Conflicts in the `libnfsidmap` source RPM instead of the `%{libname}` library.

Lines 18 and 19 should be moved just before `%description -n %{libname}`.

Keywords: (none) => Junior_job
Source RPM: libnfsidmap-0.27-2.mga6, nfs-utils => libnfsidmap-0.27-2.mga6

Comment 4 Nicolas Lécureuil 2017-04-26 11:10:34 CEST
done

Resolution: (none) => FIXED
Status: NEW => RESOLVED
CC: (none) => mageia