Bug 22733 - libmp3lame0 causing problems upgrading from mga5 to mga6
Summary: libmp3lame0 causing problems upgrading from mga5 to mga6
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2018-03-10 18:15 CET by Dave Hodgins
Modified: 2018-03-19 13:14 CET (History)
2 users (show)

See Also:
Source RPM: lame-3.100-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Dave Hodgins 2018-03-10 18:15:49 CET
As reported in bug 22658 comment 11, I'm trying to remove remaining mga5 packages
after upgrading from Mageia 5 to 6.

Tracked down one package that is causing a cascade of other packages to fail to
be removed without removing a lot of mga6 packages.

The package libmp3lame0 cannot be installed due to
Installation failed:    libmp3lame0 is obsoleted by (installed) lib64lame0-3.100-1.mga5.tainted.x86_64
Dave Hodgins 2018-03-10 18:23:52 CET

Assignee: bugsquad => lists.jjorge

Comment 1 José Jorge 2018-03-11 22:19:31 CET
(In reply to Dave Hodgins from comment #0)
> The package libmp3lame0 cannot be installed due to
> Installation failed:    libmp3lame0 is obsoleted by (installed)
> lib64lame0-3.100-1.mga5.tainted.x86_64

I wonder why you have both libmp3lame0
 and lib64mp3lame0 ?
Comment 2 Dave Hodgins 2018-03-12 00:24:49 CET
I don't.
[root@x3 ~]# rpm -qa|grep lame|sort
gstreamer0.10-lame-0.10.19-18.1.mga6.tainted
gstreamer0.10-twolame-0.10.19-18.1.mga6.tainted
gstreamer1.0-lame-1.10.3-2.mga6.tainted
gstreamer1.0-twolame-1.10.3-2.mga6.tainted
lame-3.100-1.mga6
lib64lame0-3.100-1.mga5.tainted
lib64twolame0-0.3.13-7.mga6
libquicktime-lame-1.2.4-21.mga6.tainted
twolame-0.3.13-7.mga6
vlc-plugin-twolame-3.0.0-1.mga6.tainted

Looking at this more ...
[root@x3 ~]# urpmq --not-available|grep lame0
lib64lame0-3.100-1.mga5.tainted.x86_64
[root@x3 ~]# urpmq -y lame0|sort
lib64mp3lame0
lib64twolame0
libmp3lame0
libtwolame0

The problem appears to be that the package was renamed from lib64lame0 to
lib64mp3lame0, but that isn't being recognized as it's replacement by urpmi.
Comment 3 José Jorge 2018-03-12 09:08:12 CET
Ok, I think this is because both packages have the same version.
The commit was done by wally, ccing him.
http://svnweb.mageia.org/packages?view=revision&revision=1074205


As it only prevents cleaning, I think it does not deserves an update.

The workaround is :

rpm --nodeps -e lib64lame0-3.100-1.mga5.tainted.x86_64
urpmi lib64mp3lame0

Status: NEW => RESOLVED
CC: (none) => jani.valimaa
Resolution: (none) => WONTFIX

Comment 4 Dave Hodgins 2018-03-12 10:06:38 CET
While it's easy to workaround, I think this should be fixed.

If I'm reading the guidelines correctly,
https://wiki.mageia.org/en/Packaging_guidelines#Obsoleting_a_package
when a package's name changes the correct procedure is to add a versioned
obsoletes for the old package.

While the impact is minimal, it affects all users who upgraded from Mageia 5 who
had the package installed. As we are planning on building/releasing Mageia 6.1
it would be good to get this fixed soon. It may have more of an impact later
when systems are being upgraded from Mageia 6 to 7.

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

Comment 5 Jani Välimaa 2018-03-12 16:02:52 CET
The problem is that mga6's lame obsoletes only lame < 3.99.5-12 and it was updated to 3.100-1 in mga5.

We could remove versioned obsoletes from mga6 pkg so we don't need to update obsoletes every time we update lame in mga5.
Comment 6 Jani Välimaa 2018-03-12 16:24:02 CET
Pushed lame-3.100-1.1.mga6 with unversioned obsoletes to core/updates_testing for mga6. Please test.
Comment 7 Jani Välimaa 2018-03-12 16:40:54 CET
Pushed lame-3.100-1.2.mga6 to remove references to tainted media from descriptions.
Comment 8 Dave Hodgins 2018-03-15 03:11:43 CET
Confirmed the lib64lame0-3.100-1.mga5.tainted was replaced by the
lib64mp3lame0-3.100-1.2.mga6.x86_64.rpm update.

Advisory committed to svn. Validating the update.

Whiteboard: (none) => MGA6-64-OK
Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Dave Hodgins 2018-03-15 03:13:29 CET

Assignee: lists.jjorge => qa-bugs

Comment 9 Dave Hodgins 2018-03-15 04:35:23 CET
Just fyi, this problem was preventing the removal of 260 mga5 packages from
my system. With this fixed, I've now been able to remove all remaining mga5
packages from this system, so while it was a minor bug, the impact it had
via urpmi cascading dependencies was major.
Comment 10 Mageia Robot 2018-03-19 13:14:11 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2018-0052.html

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


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