Bug 512498

Summary: scribus-doc fails to install: problem with arch => noarch subpackage
Product: [Fedora] Fedora Reporter: Alex Lancaster <alex>
Component: scribusAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: andreas.bierfert, dan, ffesti, james.antill, maxamillion, pmatilai, susi.lehtola, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.5-0.14.rc3.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-11 22:34:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Lancaster 2009-07-18 03:11:41 UTC
$ sudo yum install scribus-doc
....
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package scribus-doc.i386 0:1.3.5-0.5.12516svn.fc10 set to be updated
--> Processing Dependency: scribus = 1.3.5-0.5.12516svn.fc10 for package: scribus-doc-1.3.5-0.5.12516svn.fc10.i386
--> Finished Dependency Resolution
scribus-doc-1.3.5-0.5.12516svn.fc10.i386 from fedora has depsolving problems
  --> Missing Dependency: scribus = 1.3.5-0.5.12516svn.fc10 is needed by package scribus-doc-1.3.5-0.5.12516svn.fc10.i386 (fedora)
Error: Missing Dependency: scribus = 1.3.5-0.5.12516svn.fc10 is needed by package scribus-doc-1.3.5-0.5.12516svn.fc10.i386 (fedora)

Seems scribus-doc is out of sync with the base package.

Comment 1 Dan Horák 2009-07-18 07:18:19 UTC
scribus-doc was changed to noarch some time ago and this is probably a bug in yum when going from an "arch" package to a noarch one. As a workaround you can use "yum install scribus-doc.noarch".

Bug 502401 describes the same problem in F-11.

Comment 2 Dan Horák 2009-07-18 07:22:43 UTC
switching to yum ...

output from "sudo yum -d 10 install scribus-doc"

Resolving Dependencies
--> Running transaction check
---> Package scribus-doc.x86_64 0:1.3.5-0.5.12516svn.fc10 set to be updated
Checking deps for scribus-doc.x86_64 0-1.3.5-0.5.12516svn.fc10 - u
looking for (u'scribus', u'EQ', (u'0', u'1.3.5', u'0.5.12516svn.fc10')) as a requirement of scribus-doc.x86_64 0-1.3.5-0.5.12516svn.fc10 - u
scribus-doc-1.3.5-0.5.12516svn.fc10.x86_64 requires: scribus = 1.3.5-0.5.12516svn.fc10
--> Processing Dependency: scribus = 1.3.5-0.5.12516svn.fc10 for package: scribus-doc-1.3.5-0.5.12516svn.fc10.x86_64
Searching pkgSack for dep: scribus
Potential match for scribus from scribus-1.3.5-0.5.12516svn.fc10.x86_64
Matched scribus-1.3.5-0.5.12516svn.fc10.x86_64 to require for scribus
Potential match for scribus from scribus-1.3.5-0.13.rc2.fc10.x86_64
Potential resolving package scribus-1.3.5-0.5.12516svn.fc10.x86_64 has newer instance installed.
--> Finished Dependency Resolution
Dependency Process ending
scribus-doc-1.3.5-0.5.12516svn.fc10.x86_64 from fedora has depsolving problems
  --> Missing Dependency: scribus = 1.3.5-0.5.12516svn.fc10 is needed by package scribus-doc-1.3.5-0.5.12516svn.fc10.x86_64 (fedora)
Depsolve time: 2.134
Error: Missing Dependency: scribus = 1.3.5-0.5.12516svn.fc10 is needed by package scribus-doc-1.3.5-0.5.12516svn.fc10.x86_64 (fedora)

Comment 3 Dan Horák 2009-07-18 07:26:37 UTC
affected version: yum-3.2.23-3.fc10.noarch

Comment 4 James Antill 2009-07-20 20:46:31 UTC
 The problem here is:

GA:
scribus-1.3.5-0.5.12516svn.fc10.x86_64.rpm
scribus-devel-1.3.5-0.5.12516svn.fc10.i386.rpm
scribus-devel-1.3.5-0.5.12516svn.fc10.x86_64.rpm
scribus-doc-1.3.5-0.5.12516svn.fc10.x86_64.rpm

updates:
scribus-1.3.5-0.13.rc2.fc10.x86_64.rpm
scribus-devel-1.3.5-0.13.rc2.fc10.i386.rpm
scribus-devel-1.3.5-0.13.rc2.fc10.x86_64.rpm
scribus-doc-1.3.5-0.13.rc2.fc10.noarch.rpm

...and yum uses the older native package over the newer noarch package. This is known and the current recommendation is to use Obsoletes as foo.X moving to foo.Y is considered a rename.

 See, eg:

https://www.redhat.com/archives/fedora-devel-list/2009-June/msg01172.html

Comment 5 seth vidal 2009-07-20 20:54:52 UTC
If you could verify this bug versus

https://bugzilla.redhat.com/show_bug.cgi?id=505996

and maybe check with the ver of yum from rawhide.

http://yum.baseurl.org/gitweb?p=yum.git;a=commit;h=56f8145aadd0396f9f1e3db3398a71aac5000f8f

Comment 6 Fedora Update System 2009-07-22 06:02:08 UTC
scribus-1.3.5-0.14.rc3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/scribus-1.3.5-0.14.rc3.fc10

Comment 7 Fedora Update System 2009-07-22 06:02:18 UTC
scribus-1.3.5-0.14.rc3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/scribus-1.3.5-0.14.rc3.fc11

Comment 8 Fedora Update System 2009-07-23 18:59:58 UTC
scribus-1.3.5-0.14.rc3.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update scribus'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7919

Comment 9 Fedora Update System 2009-07-23 19:11:07 UTC
scribus-1.3.5-0.14.rc3.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update scribus'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7962

Comment 10 Alex Lancaster 2009-08-05 06:10:06 UTC
Update in updates-testing seems to work fine for me.

Comment 11 Fedora Update System 2009-08-11 22:34:08 UTC
scribus-1.3.5-0.14.rc3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2009-08-11 22:35:54 UTC
scribus-1.3.5-0.14.rc3.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 seth vidal 2009-09-03 16:14:55 UTC
*** Bug 516387 has been marked as a duplicate of this bug. ***