Bug 10826 - Conflict between star and rmt
Summary: Conflict between star and rmt
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory has_procedure mga3-32-ok mga...
Keywords: Triaged, validated_update
Depends on:
Blocks:
 
Reported: 2013-07-23 12:56 CEST by Bruno Cornec
Modified: 2014-08-06 11:18 CEST (History)
5 users (show)

See Also:
Source RPM: star-1.5a89-2.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Bruno Cornec 2013-07-23 12:56:30 CEST
Description of problem:

if star is installed on a mga2 distribution, it prevents the upgrade to mga3 as it conflicts with rmt, which is needed by basesystem.

Version-Release number of selected component (if applicable):

star-1.5a89-2.mga3.src.rpm

How reproducible:

Each time

Steps to Reproduce:
1. install star in mga2
2. upgrade to mga3
3. conflict is mentioned

This is also valid for the mga3 version and cauldron.

Reproducible: 

Steps to Reproduce:
Comment 1 Bruno Cornec 2013-07-23 12:58:18 CEST
I have fixed it in rev r457411 of SVN and pushed to cauldron.

However, it would be important to make updated packags for mga2 and mga3 as well. It doesn't seem to be possible at the moment, so I'd like to have help from someone here.

Status: NEW => ASSIGNED

Comment 2 Samuel Verschelde 2013-08-28 17:31:23 CEST
Hi Bruno, why do you say that it's not possible to make updated packages for mga2 and mga3. Isn't it possible to fix the conflict there?

Keywords: (none) => Triaged
CC: (none) => stormi
Assignee: bugsquad => bruno

Comment 3 David Walser 2013-08-30 23:19:33 CEST
It sounds like the appropriate fix for this would be in the Mageia 3 package.  Proper conflicts can sort this kind of thing out without having to also modify the Mageia 2 package.

If you can fix this in Cauldron, you can fix this in Mageia 3.

mgarepo co -d 3 star
cd star
( do your changes )
( add "%define subrel 1" right above wherever %mkrel is used in the SPEC )
mgarepo submit 3/star --define section=core/updates_testing

then write an advisory and assign it to the QA team (see the wiki for more info)

Version: 2 => 3

Comment 4 Bruno Cornec 2014-07-04 01:55:26 CEST
Update pushed into mga3
Advisory is ready as well (hoping to do it right)

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED
Whiteboard: (none) => advisory

Comment 5 Thomas Backlund 2014-07-04 09:03:40 CEST
Not quite...

https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29

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

Comment 6 Bruno Cornec 2014-07-04 23:10:38 CEST
Ok, Changed assignment to QA now.

The packages to test are:
star-1.5a89-2.2.mga3.src.rpm

star-1.5a89-2.2.mga3.i586.rpm
star-1.5a89-2.2.mga3.x86_64.rpm

As a remark, there are many wiki pages related to this topic, and it's not always easy to know which rules need to be applied, thus this new iteration, hoping this time I got it right.

For example your wiki page doesn't mention if this should be marked as fixed closed by me, or if this is done by QA team. So I leave it as reopend as I suppose you changed it back to that status.

Assignee: bruno => qa-bugs

Comment 7 claire robinson 2014-07-05 00:56:13 CEST
Testing complete mga3 32

Bruno already uploaded the advisory, thanks for doing that.

$ urpmf --media "Core Release" rmt: | grep rmt
rmt:/etc/rmt
rmt:/sbin/rmt
rmt:/usr/share/doc/rmt
rmt:/usr/share/doc/rmt/COPYRIGHT
rmt:/usr/share/man/man8/rmt.8.xz

# urpmi rmt
Package rmt-0.4b44-2.mga3.i586 is already installed

Before
------
$ urpmf --media "Core Release" star: | grep rmt
star:/etc/default/rmt
star:/usr/sbin/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz

/usr/sbin/rmt conflicts with /sbin/rmt with the /usrmove in place 
(/sbin is symlinked to /usr/sbin)

# urpmi star

installing star-1.5a89-2.mga3.i586.rpm from /var/cache/urpmi/rpms              
Preparing...                     #############################################
Installation failed:	file /usr/sbin/rmt from install of star-1.5a89-2.mga3.i586 conflicts with file from package rmt-0.4b44-2.mga3.i586

After
-----
$ urpmf --media "Core Updates Testing" star: | grep rmt
star:/etc/default/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz

# urpmi star

installing star-1.5a89-2.2.mga3.i586.rpm from /var/cache/urpmi/rpms            
Preparing...                     #############################################
      1/1: star                  #############################################


It's similar to tar. tested with a random file called 256k..

# star -c -j f=256k.tar.bz 256k 
star: 26 blocks + 0 bytes (total of 266240 bytes = 260.00k).
# star -c -z f=256k.tar.gz 256k 
star: 26 blocks + 0 bytes (total of 266240 bytes = 260.00k).

Whiteboard: advisory => advisory has_procedure mga3-32-ok

Comment 8 David GEIGER 2014-07-06 15:59:23 CEST
Tested mga3_64,

Testing complete for the new update star-1.5a89-2.2.mga3, Ok for me I can confirm that the issue is now fixed.


Before:

# LC_ALL=C urpmi rmt
Package rmt-0.4b44-2.mga3.x86_64 is already installed

$ urpmf --media "Core Release" rmt: | grep rmt
rmt:/etc/rmt
rmt:/sbin/rmt
rmt:/usr/share/doc/rmt
rmt:/usr/share/doc/rmt/COPYRIGHT
rmt:/usr/share/man/man8/rmt.8.xz

$ urpmf --media "Core Release" star: | grep rmt             
star:/etc/default/rmt
star:/usr/sbin/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz

# LC_ALL=C urpmi star

installing star-1.5a89-2.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
Installation failed:    file /usr/sbin/rmt from install of star-1.5a89-2.mga3.x86_64 conflicts with file from package rmt-0.4b44-2.mga3.x86_64

----------------------------------
After:

$ urpmf --media "Core Updates Testing" star: | grep rmt
star:/etc/default/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz

# LC_ALL=C urpmi star

installing star-1.5a89-2.2.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/1: star 

----------------------------------
tested with a random file called boot.iso

$ star -c -z f=boot.iso.tar.gz boot.iso
star: 2765 blocks + 0 bytes (total of 28313600 bytes = 27650.00k).
$ star -c -z f=boot.iso.tar.bz boot.iso
star: 2765 blocks + 0 bytes (total of 28313600 bytes = 27650.00k).

CC: (none) => geiger.david68210
Whiteboard: advisory has_procedure mga3-32-ok => advisory has_procedure mga3-32-ok mga3-64-ok

Comment 9 Rémi Verschelde 2014-07-06 22:53:25 CEST
Validating the update, Bruno has already uploaded the advisory.

Please push star to Mageia 3 core/updates.

Keywords: (none) => validated_update
CC: (none) => remi, sysadmin-bugs

Comment 10 Mageia Robot 2014-08-06 11:18:05 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0156.html

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


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