Page 1 of 1

yum update conflicts - mysql, jhead

Posted: Sat Feb 03, 2007 1:37 pm
by jens
Hi gang,
I have FC4 & PSA 8.0.1
Trying to use art repos

Getting a conflict error on mysql and jhead

yum update -or- yum upgrade

Code: Select all

[root@serv1 ~]# yum update --exclude=jhead --exclude=mysql
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Net-CIDR-Lite.noarch 0:0.20-1.rf.rhfc4.art set to be updated
---> Package perl-HTML-Tree.noarch 1:3.21-1.fc4 set to be updated
---> Package perl-Mail-SPF-Query.noarch 0:1.999.1-1.rf.rhfc4.art set to be updated
--> Running transaction check
--> Processing Dependency: perl(Sys::Hostname::Long) for package: perl-Mail-SPF-Query
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-1.rf.rhfc4.art set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 perl-HTML-Tree          noarch     1:3.21-1.fc4     extras            205 k
 perl-Mail-SPF-Query     noarch     1.999.1-1.rf.rhfc4.art  atomic             46 k
 perl-Net-CIDR-Lite      noarch     0.20-1.rf.rhfc4.art  atomic             14 k
Installing for dependencies:
 perl-Sys-Hostname-Long  noarch     1.4-1.rf.rhfc4.art  atomic             12 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       3 Package(s)
Remove       0 Package(s)
Total download size: 277 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : perl-Net-CIDR-Lite           ######################### [1/7]
  Installing: perl-Sys-Hostname-Long       ######################### [2/7]
  Updating  : perl-Mail-SPF-Query          ######################### [3/7]
  Updating  : perl-HTML-Tree               ######################### [4/7]
  Cleanup   : perl-Net-CIDR-Lite           ######################### [5/7]
  Cleanup   : perl-HTML-Tree               ######################### [6/7]
  Cleanup   : perl-Mail-SPF-Query          ######################### [7/7]

Dependency Installed: perl-Sys-Hostname-Long.noarch 0:1.4-1.rf.rhfc4.art
Updated: perl-HTML-Tree.noarch 1:3.21-1.fc4 perl-Mail-SPF-Query.noarch 0:1.999.1-1.rf.rhfc4.art perl-Net-CIDR-Lite.noarch 0:0.20-1.rf.rhfc4.art
Complete!
[root@serv1 ~]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package jhead.x86_64 0:2.4-3.fc4 set to be updated
---> Package mysql.i386 0:4.1.21-2.rhfc4.art set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 jhead                   x86_64     2.4-3.fc4        extras             43 k
 mysql                   i386       4.1.21-2.rhfc4.art  atomic            3.7 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       2 Package(s)
Remove       0 Package(s)
Total download size: 3.7 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:   file /usr/share/man/man1/jhead.1.gz from install of jhead-2.4-3.fc4 conflicts with file from package jhead-2.1-0
  file /usr/share/info/mysql.info.gz from install of mysql-4.1.21-2.rhfc4.art conflicts with file from package mysql-4.1.20-1.FC4.1
  file /usr/share/man/man1/mysql.1.gz from install of mysql-4.1.21-2.rhfc4.art conflicts with file from package mysql-4.1.20-1.FC4.1
 --SNIP SNIP --
  file /usr/share/mysql/ukrainian/errmsg.txt from install of mysql-4.1.21-2.rhfc4.art conflicts with file from package mysql-4.1.20-1.FC4.1
  file /usr/share/man/man1/myisam_ftdump.1.gz from install of mysql-4.1.21-2.rhfc4.art conflicts with file from package mysql-server-4.1.20-1.FC4.1

same with jhead if i do an --exclude=mysql

Code: Select all

[root@serv1 ~]# yum update --exclude=mysql
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package jhead.x86_64 0:2.4-3.fc4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 jhead                   x86_64     2.4-3.fc4        extras             43 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)
Total download size: 43 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:   file /usr/share/man/man1/jhead.1.gz from install of jhead-2.4-3.fc4 conflicts with file from package jhead-2.1-0
any ideas? anybody else run into this issue?

Posted: Sat Feb 03, 2007 1:40 pm
by jens
nm about jhead - i see thats from extras, not arts repo

any ideas about the mysql error?

anything to do with my architecture x86_64 ?

Posted: Sun Feb 04, 2007 12:28 pm
by scott
Yeah, thats x86_64 related. They actually install a lot of i386/x86_64 packages alongside one another, in this case your installing 4.1.21 alongside of 4.1.20 rather than upgrading it.

Posted: Sun Feb 11, 2007 4:45 pm
by jens
maybe im noobing out here, but whats the difference between a yum upgrade and yum update for this issue?

I've done both and get the same results. Shouldnt "yum update" update the package for the arch that is currently installed?

Posted: Sun Feb 11, 2007 7:47 pm
by scott
excellent question, yum upgrade will use the Obsoletes tag, update will not

Posted: Mon Feb 12, 2007 10:02 am
by breun
Try man yum for questions like that. yum update equals yum --obsoletes update.