Bug 985430

Summary: glibc-utils, man-pages: file conflict with glibc-utils: mtrace(1)
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Stieger <astieger>
Component: MaintenanceAssignee: Andreas Schwab <schwab>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bbrunner, lchiquitto, maintenance, schwab
Version: Leap 42.1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Stieger 2016-06-17 13:25:23 UTC
File conflict in proposed maintenance update openSUSE:Maintenance:5240 for man-pages.
The update for SLE was for bug 967488 and was imported from SUSE:SLE-12-SP1:Update/man-pages.2054
In Leap 42.1 both glibc-utils and man-pages are from SUSE:SLE-12-SP1:Update. This affects SLE 12 SP1 as well.

Problem is as follows (as manifesting itself while updating)

===============================================================

$ zypper search -s -i --match-exact glibc-utils
Loading repository data...                        
Reading installed packages...       

S | Name        | Type    | Version   | Arch   | Repository                                                                  
--+-------------+---------+-----------+--------+--------------------------
i | glibc-utils | package | 2.19-19.1 | x86_64 | openSUSE-Leap-42.1-Update

$ zypper lp
Loading repository data...
Reading installed packages...

Repository       | Name | Category    | Severity | Interactive | Status | Summary                         
-----------------+------+-------------+----------+-------------+--------+---------------------------------
repo-update-test | 5240 | recommended | low      | ---         | needed | Recommended update for man-pages

$ zypper in -t patch 5240
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW patch is going to be installed:
  5240

The following package is going to be upgraded:
  man-pages

1 package to upgrade.
Overall download size: 0 B. Already cached: 3.2 MiB. After the operation, additional 17.0 B will be used.
Continue? [y/n/? shows all options] (y): y
In cache man-pages-4.02-7.1.noarch.rpm                                                  (1/1),   3.2 MiB (  3.7 MiB unpacked)
Checking for file conflicts: .........................................................................................[error]
Detected 1 file conflict:

File /usr/share/man/man1/mtrace.1.gz
  from install of
     man-pages-4.02-7.1.noarch (repo-update-test)
  conflicts with file from package
     glibc-utils-2.19-19.1.x86_64 (@System)

===============================================================

The following affects SLE 12 SP1 as well:

Both packages claim to own the file:

$ rpm -ql man-pages | grep mtrace                                                                           
/usr/share/man/man1/mtrace.1.gz
/usr/share/man/man3/mtrace.3.gz

$ rpm -ql glibc-utils | grep mtrace
/usr/bin/mtrace
/usr/share/man/man1/mtrace.1.gz

man-pages was never updated, and glibc currently has it:

$ rpm -qf /usr/share/man/man1/mtrace.1.gz
glibc-utils-2.19-19.1.x86_64

$ rpm -q --verify man-pages
.........  d /usr/share/man/man1/mtrace.1.gz (replaced)

===============================================================

The openSUSE:Factory the following change was done:

Mon Sep  8 09:48:26 UTC 2014 - schwab@suse.de
[...]
- Update to glibc 2.20 release.
[...]
- Remove sprof.1, and mtrace.1, now included in the man-pages package
Comment 1 Andreas Stieger 2016-06-17 14:00:36 UTC
This does not affect SLE as glibc-utils is not shipped there, but can you please make an equivalent change to SLE glibc(glibc-utils) to accomodate Leap?
Comment 2 Leonardo Chiquitto 2016-06-17 14:26:28 UTC
Turns out this is already fixed in the update we have in the queue.

*** This bug has been marked as a duplicate of bug 967190 ***