LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-10-2007, 01:01 AM   #1
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Rep: Reputation: 16
yum update Transaction Check Error


On yum update, I get the following:

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
xml-commons-jaxp-1.3-apis noarch 1.3.03-10jpp jpackage-generic 167 k
replacing xml-commons-apis.noarch 1.3.02-2jpp

Updating:
antlr noarch 2.7.7-1jpp jpackage-generic 511 k
bsh noarch 1.3.0-10jpp jpackage-generic 238 k
cups i386 1:1.2.11-1.fc6 updates 3.0 M
cups-libs i386 1:1.2.11-1.fc6 updates 186 k
gnome-bluetooth i386 0.7.0-12.fc6 updates 235 k
gnome-bluetooth-libs i386 0.7.0-12.fc6 updates 65 k
jpackage-utils noarch 1.7.3-2jpp jpackage-generic 60 k
net-snmp-libs i386 1:5.3.1-15.fc6 updates 1.1 M
tomcat5-jsp-2.0-api noarch 5.5.23-11jpp jpackage-generic 65 k
tomcat5-servlet-2.4-api noarch 5.5.23-11jpp jpackage-generic 111 k
xalan-j2 noarch 2.7.0-7jpp jpackage-generic 1.7 M
xerces-j2 noarch 2.9.0-1jpp jpackage-generic 1.1 M
xml-commons noarch 1.3.03-10jpp jpackage-generic 9.2 k
xterm i386 227-1.fc6 updates 337 k
Installing for dependencies:
xml-commons-resolver11 noarch 1.3.03-10jpp jpackage-generic 63 k

Transaction Summary
=============================================================================
Install 2 Package(s)
Update 14 Package(s)
Remove 0 Package(s)

Total download size: 8.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): cups-1.2.11-1.fc6. 100% |=========================| 3.0 MB 02:10
(2/6): net-snmp-libs-5.3. 100% |=========================| 1.1 MB 00:48
(3/6): cups-libs-1.2.11-1 100% |=========================| 186 kB 00:07
(4/6): xterm-227-1.fc6.i3 100% |=========================| 337 kB 00:13
(5/6): gnome-bluetooth-0. 100% |=========================| 235 kB 00:09
(6/6): gnome-bluetooth-li 100% |=========================| 65 kB 00:02
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/bin/xml-resolver from install of xml-commons-resolver11-1.3.03-10jpp conflicts with file from package xml-commons-resolver-1.1-3jpp
file /usr/bin/xml-xparse from install of xml-commons-resolver11-1.3.03-10jpp conflicts with file from package xml-commons-resolver-1.1-3jpp
file /usr/bin/xml-xread from install of xml-commons-resolver11-1.3.03-10jpp conflicts with file from package xml-commons-resolver-1.1-3jpp
file /usr/share/java/xml-commons-resolver.jar from install of xml-commons-resolver11-1.3.03-10jpp conflicts with file from package xml-commons-resolver-1.1-3jpp

Error Summary
-------------

and the update fails. What does this mean, and how do I resolve it so that yum update continues to update installed packages?
 
Old 07-10-2007, 01:18 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try uninstalling the xml-commons-resolver package, do the upgrade and then reinstall it afterwards.
 
Old 07-10-2007, 02:43 AM   #3
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
Thanks, reddazz, that solution has worked. Commands:

# yum remove xml-commons-resolver
# yum update
# yum install xml-commons-resolver

completed without errors.
 
Old 07-11-2007, 07:10 AM   #4
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
The story continues...

After apparently fixing my original problem by uninstalling and reinstalling xml-commons-resolver, I noted that my OpenOffice products had been wiped out! This was fixed by reinstalling OpenOffice.

yum update then showed an update for xerces-j2 was available, but its transaction check showed the same conflicts on xml-commons-resolver as per my original post. OpenOffice packages seem to be dependent upon the installed xml-commons-resolver package. I'm not deleting and reinstalling xml-commons-resolver again...

Is there some way of determining which packages depend upon xerces-j2, before deciding whether to delete it or keep it?
 
Old 07-11-2007, 08:35 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
JonBL, this is what I did:

Read your soln post, did (as root)

# yum remove xml-commons-resolver
# yum update

discovered I could neither install or remove openoffice from cmd line

Next:
Applications-> Add/Remove Software
Select openoffice components and 1 or 2 others I wanted to add/remove
Apply
Let it go for a while... worked a treat
Enjoy
(I'm also FC6)
 
Old 07-11-2007, 05:31 PM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
One thing I do, is use the official OOo packages instead of Fedoras because the official packages seem to have less dependencies than the Fedora packages. I then exclude all OOo packages from being updated by yum.
 
Old 07-12-2007, 01:06 AM   #7
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
Thanks, guys! Chrism01, your response is basically what I did. It works, but perhaps I should have paid more attention when I originally uninstalled xml-commons-resolver.

Reddazz, if I persue your suggestion, I could delete my reinstalled OpenOffice 2.0.4 products, and replace them with a Linux RPM-based installation of OOo 2.2.1 from www.openoffice.org, as per OOo's install guide. If I do this:
1. Are menu options to start OOo 2.2.1 still available on myFC6 box?
2. How do I turn off yum updates of all OOo packages?
3. How do I get updates for OOo 2.2.1 as they become available?
 
Old 07-12-2007, 04:59 PM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Yes the menu options are available, just make sure you install the openoffice.org-redhat-menus package located in the desktop-integration subdirectory. You prevent yum from upgrading openoffice by editing /etc/yum.conf and adding something like
Code:
exclude=openoffice*
As for updates, I usually just completely uninstall the old version and reinstall the latest release from scratch. OOo 2.2.x has an updating tool, but I have never tried it.
 
Old 07-12-2007, 09:51 PM   #9
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
Thanks, reddazz, you've been a great help!
 
Old 07-13-2007, 02:13 AM   #10
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
Almost have this working...

Reddazz, I've uninstalled OOo 2.0.4 and installed OOo 2.2.1 - all went OK. Now to cancel yum upgrades of identified packages, /etc/yum.conf has been edited as follows (exclude= option added):

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
exclude=openoffice* xerces*


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

Then, yum update shows no updates for oppenoffice products, but does for xerces-j2. Have I got the correct syntax?
 
Old 07-13-2007, 02:15 AM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can have many exclude lines as you wish, so you can do
Code:
exclude=openoffice* 
exclude=xerces*
 
Old 07-13-2007, 02:58 AM   #12
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
...

With your proposed syntax, I see with yum update:

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package nscd.i386 0:2.5-18.fc6 set to be updated
---> Package xerces-j2.noarch 0:2.9.0-2jpp set to be updated
---> Package openoffice.org-calc.i386 1:2.0.4-5.5.23 set to be updated
....

It looks like xerces-j2 and openoffice 2.0.4 are going to be updated. With my earlier syntax, openoffice packages were not identified as set to be updated - only xerces-j2.
 
Old 07-14-2007, 09:09 PM   #13
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
yum xml-commons-reolver still problematic

Still getting that prob with each new update batch.
Odd, because this is a stock install, haven't messed with repos etc.
Anyone know if there's perm fix?
This continuous manual remove/update/ add sequence is getting annoying.
 
Old 07-15-2007, 11:19 AM   #14
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by JonBL
...

With your proposed syntax, I see with yum update:

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package nscd.i386 0:2.5-18.fc6 set to be updated
---> Package xerces-j2.noarch 0:2.9.0-2jpp set to be updated
---> Package openoffice.org-calc.i386 1:2.0.4-5.5.23 set to be updated
....

It looks like xerces-j2 and openoffice 2.0.4 are going to be updated. With my earlier syntax, openoffice packages were not identified as set to be updated - only xerces-j2.
I've done a small review and your syntax was correct, so I do not know why xerces-j2 wants to be updated. Have you tried uninstalling it because I am pretty sure its a package that you probably do not need.
 
Old 08-04-2007, 01:37 AM   #15
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Original Poster
Rep: Reputation: 16
I've finally got the exclude statement for /etc/yum.conf to work. If you specify:
exclude=evolution*
yum update does not complain about a syntax error, and reports "Excluding Packages in global exclude list" but will still include an update for evolution if available.

Specify:
exclude = evolution*
(note white spaces), and yum update no longer includes evolution in the update list!

Crappy parser for yum.conf?...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 03:03 AM
Running transaction stage of yum problem Carunkumar Fedora 4 03-01-2007 12:02 PM
nvidia drivers - transaction check - error? bjs Fedora 2 07-30-2006 12:16 PM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 08:13 AM
yum and update mamager "error in transaction" Monjawi Linux - Newbie 5 09-09-2005 02:23 PM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration