Bug 20896

Summary: gnucash-2.6.16-3.mga6.x86_64 (due to unsatisfied lib64gnucash0=2.6.16-3.mga6)
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: José Jorge <lists.jjorge>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: lists.jjorge, sysadmin-bugs, xboxboy.mageia
Version: CauldronKeywords: 6RC, Junior_job
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: gnucash-2.6.16-3.mga6.src.rpm CVE:
Status comment:

Description Bit Twister 2017-05-20 12:47:40 CEST
Description of problem:
A requested package cannot be installed:
gnucash-2.6.16-3.mga6.x86_64 (due to unsatisfied lib64gnucash0=2.6.16-3.mga6)


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


How reproducible:


Steps to Reproduce:
1.urpmi --download-all  --downloader wget --auto --auto-update --test
2.
3.
Bit Twister 2017-05-20 12:49:35 CEST

Keywords: (none) => 6RC

Rémi Verschelde 2017-05-20 12:52:22 CEST

Component: Release (media or process) => RPM Packages

Comment 1 Rémi Verschelde 2017-05-20 12:57:18 CEST
Zezinho, your patch was bogus. http://svnweb.mageia.org/packages/cauldron/gnucash/current/SPECS/gnucash.spec?r1=1103405&r2=1103404&pathrev=1103405

gnucash doesn't need an explicit requires, it should be autogenerated by the depgen.

For the python package, the correct syntax would be:
Requires: %{libname} = %{version}-%{release}

Assignee: bugsquad => lists.jjorge
Keywords: (none) => Junior_job

Rémi Verschelde 2017-05-20 12:57:32 CEST

CC: (none) => xboxboy.mageia

Comment 2 José Jorge 2017-05-20 13:08:47 CEST
Thanks for the hint. But the explicit requires is needed to prevent upgrading only gnucash forgetting libgnucash which happened to my padawan xboxboy.

I should have tested more before commiting ;-)

CC: (none) => lists.jjorge
Status: NEW => ASSIGNED

Comment 3 Bit Twister 2017-05-20 14:50:01 CEST
install completes and gnucash launches.

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

Comment 4 David Walser 2017-05-29 05:16:28 CEST
(In reply to José Jorge from comment #2)
> Thanks for the hint. But the explicit requires is needed to prevent
> upgrading only gnucash forgetting libgnucash which happened to my padawan
> xboxboy.

If you upgrade your packages properly (urpmi --auto-select or MageiaUpdate, for instance) that should never happen, so such explicit Requires as you added should not be needed, ever.