Bug 24237

Summary: on-line upgrade Mga6 => Mga7 fails with pulseaudio is needed by (installed) pulseaudio-module-gconf
Product: Mageia Reporter: Ben McMonagle <westel>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, ghibomgx, lists.jjorge, mageia, marja11, ngompa13, thierry.vignaud, zen25000
Version: CauldronKeywords: 7beta2
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: pulseaudio CVE:
Status comment:

Description Ben McMonagle 2019-01-26 01:48:16 CET
Description of problem: attempting online upgrade of Mga6 to Mga7 fails with:

Installation failed:    pulseaudio = 10.0-1.1.mga6 is needed by (installed) pulseaudio-module-gconf-10.0-1.1.mga6.i586



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


How reproducible:every time


Steps to Reproduce:
1.in an up-to-date Multi-DE Mga6 edit  on-line repos to reflect Mga7 i.e:  http://mirror.math.princeton.edu/pub/mageia/distrib/7/i586/media
2. initiate the upgrade with :# urpmi --auto-upda
3.accept offered removals to proceed, wait until failure due to task-cinnamon-minimal. 
4. install task-cinnimon-minimal and dependencies, and restart update procedure
wait until install fails with pulseuadio needed.
5. # urpmi pulseaudio

Marking pulseaudio as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  libpulsecore12.2               12.2         4.mga7        i586    
  pulseaudio                     12.2         4.mga7        i586    
  pulseaudio-module-bluetooth    12.2         4.mga7        i586    
  pulseaudio-module-gconf        12.2         4.mga7        i586    
  pulseaudio-module-x11          12.2         4.mga7        i586    
  pulseaudio-utils               12.2         4.mga7        i586    
1.2MB of additional disk space will be used.
1.4MB of packages will be retrieved.
Proceed with the installation of the 6 packages? (Y/n) y
6.continue with the upgrade
Ben McMonagle 2019-01-26 01:48:29 CET

Keywords: (none) => 7beta2

Comment 1 Marja Van Waes 2019-01-26 19:00:41 CET
Assigning to all packagers collectively, since the registered maintainer for this package is likely unavailable.

Also CC'ing the maintainer and some committers.

Source RPM: (none) => pulseaudio
CC: (none) => geiger.david68210, ghibomgx, mageia, marja11, zen25000
Assignee: bugsquad => pkg-bugs

Comment 2 José Jorge 2019-01-27 08:23:14 CET
I could not reproduce, migrating 2 MGA6 systems to MGA7 Beta as of yesterday.
But I had another dependecy error - with libhdf, because of urpmi default split.

I solved it using "urpmi --auto-update --split-length=5000" to ensure all packages are updated in a single transaction.

I can't find an error in pulseaudio SPEC file for this deps, so it looks like an urpmi bug. CCing tv and neal as they may have a clue.

CC: (none) => lists.jjorge, ngompa13, thierry.vignaud

Comment 3 Barry Jackson 2019-01-28 10:57:52 CET
I think this is possibly a result of task-pulseaudio not being installed in the initial system that produced the error.
Maybe ...

Obsoletes:      %{name}-module-gconf < %{version}-%{release}

...should be moved from %package module-gsettings to the main pulseaudio package.
I had not considered a case where papreps would not be installed when I added that Obsoletes as part of https://bugs.mageia.org/show_bug.cgi?id=23963

Could someone else confirm my thoughts as this gets a bit confusing :\

OR we could simply remove pulseaudio-module-gconf from the Mga7 PA package and obsolete it as nothing now requires it, although it is still in the upstream package.

Any thoughts?
Comment 4 Barry Jackson 2019-01-28 11:00:32 CET
s/papreps/paprefs/
Comment 5 Ben McMonagle 2019-03-02 03:11:35 CET
upgrade today failed with this error
Comment 6 Barry Jackson 2019-03-02 23:28:34 CET
Hi Ben,
Was paprefs or task-pulseaudio installed in the system pre-upgrade?
I will apply the change I suggested in #3 locally and test when I know what you had installed.
I was hoping someone would reply to #3 before I made the change in svn and submitted it.
Barry
Comment 7 Ben McMonagle 2019-03-03 00:42:58 CET
will restore from my backup image and advise.
Comment 8 Ben McMonagle 2019-03-03 01:12:53 CET
initial installed system contains:

task-pulseaudio-2011.0-8.mga6 (noarch)
Comment 9 Ben McMonagle 2019-03-03 01:16:31 CET
and:

paprefs-0.9.10-12.mga6 (x86_64)

this is restored image prior to any updates
Comment 10 Barry Jackson 2019-03-03 18:35:29 CET
HI Ben,
wally has just pushed a fixed PA package to cauldron and also tested the upgrade, so no need to test again :)
Closing as fixed.

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