Re: More and more yum dependency problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Harald Grossauer wrote:

You may be able to fix your mozilla issues by doing:
# curl --remote-name http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/mozilla-1.7.10-1.5.1.i386.rpm
# yum localinstall mozilla-1.7.10-1.5.1.i386.rpm


Result:

Setting up Local Package Process
Examining mozilla-1.7.10-1.5.1.i386.rpm: mozilla - 37:1.7.10-1.5.1.i386
Marking mozilla-1.7.10-1.5.1.i386.rpm as an update to mozilla -
37:1.7.8-2.x86_64
Marking mozilla-1.7.10-1.5.1.i386.rpm as an update to mozilla -
37:1.7.8-2.i386
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mozilla.i386 37:1.7.10-1.5.1 set to be updated
--> Running transaction check
Setting up repositories
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 297 kB    00:00
updates-re: ################################################## 811/811
Added 122 new packages, deleted 0 old in 1.97 seconds
--> Processing Dependency: mozilla-nspr = 37:1.7.10-1.5.1 for package:
mozilla
--> Processing Dependency: mozilla-nss = 37:1.7.10-1.5.1 for package:
mozilla
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mozilla-nspr.x86_64 37:1.7.10-1.5.1 set to be updated
---> Package mozilla-nss.x86_64 37:1.7.10-1.5.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
mozilla i386 37:1.7.10-1.5.1 mozilla-1.7.10-1.5.1.i386.rpm 25 M
Updating for dependencies:
 mozilla-nspr            x86_64     37:1.7.10-1.5.1  updates-released  126 k
 mozilla-nss             x86_64     37:1.7.10-1.5.1  updates-released  787 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       3 Package(s)
Remove       0 Package(s)
Total download size: 26 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error:   file /usr/bin/mozilla from install of
mozilla-1.7.10-1.5.1 conflicts with file from package mozilla-1.7.8-2
  file /usr/share/man/man1/mozilla.1.gz from install of
mozilla-1.7.10-1.5.1 conflicts with file from package mozilla-1.7.8-2

This isn't working because it needs to update both i386 and x86_64 versions of mozilla at the same time. Did you bugzilla the fact that there is no mozilla.i386 update in the x86_64 updates-released repo?

To work around this you'll need to do:
# yum remove mozilla.i386
# yum update mozilla
Then, if you do actually want the i386 mozilla package (for 32 bit plugins etc.):
# yum install mozilla-nspr.i386 mozilla-nss.i386

There's probably a better way of doing this using the yum shell to do the localinstall and the mozilla x86_64 update in the same transaction, but I don't have an x86_64 box to try it with.

I think Neal's suggestion for libtool is a good one - there may be
circular dependencies that could be fixed this way:
# rpm -e libtool
# yum update gcc



After removing libtool (which had to be done by "rpm -e --nodeps ..."
because kdevelop would require this package):

[root@ws232ict ~]# yum update gcc
Setting up Update Process
Setting up repositories
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gcc.x86_64 0:4.0.1-4.fc4 set to be updated
--> Running transaction check
--> Processing Dependency: libgcc >= 4.0.1-4.fc4 for package: gcc
--> Processing Dependency: gcc = 4.0.0-9 for package: gcc-gfortran
--> Processing Dependency: gcc = 4.0.0-9 for package: gcc-c++
--> Processing Dependency: cpp = 4.0.1-4.fc4 for package: gcc
--> Processing Dependency: gcc = 4.0.0-9 for package: gcc-objc
--> Processing Dependency: gcc = 4.0.0-9 for package: gcc-gnat
--> Processing Dependency: gcc = 4.0.0 for package: apr-devel
--> Processing Dependency: gcc = 4.0.0-9 for package: libmudflap-devel
--> Processing Dependency: gcc = 4.0.0-9 for package: gcc-java
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package apr-devel.x86_64 0:0.9.6-3.1 set to be updated
---> Package gcc-objc.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package gcc-gnat.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package cpp.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libmudflap-devel.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package gcc-java.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package gcc-c++.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package gcc-gfortran.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libgcc.x86_64 0:4.0.1-4.fc4 set to be updated
--> Running transaction check
--> Processing Dependency: libgfortran = 4.0.1-4.fc4 for package:
gcc-gfortran
--> Processing Dependency: libgcj-devel = 4.0.1-4.fc4 for package: gcc-java
--> Processing Dependency: libgcj = 4.0.1-4.fc4 for package: gcc-java
--> Processing Dependency: libstdc++ = 4.0.1-4.fc4 for package: gcc-c++
--> Processing Dependency: libstdc++-devel = 4.0.1-4.fc4 for package:
gcc-c++
--> Processing Dependency: apr = 0.9.6-3.1 for package: apr-devel
--> Processing Dependency: libgnat = 4.0.1-4.fc4 for package: gcc-gnat
--> Processing Dependency: libmudflap = 4.0.1-4.fc4 for package:
libmudflap-devel
--> Processing Dependency: libobjc = 4.0.1-4.fc4 for package: gcc-objc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package apr.x86_64 0:0.9.6-3.1 set to be updated
---> Package libobjc.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libmudflap.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libstdc++.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libgfortran.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libstdc++-devel.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libgnat.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libgcj.x86_64 0:4.0.1-4.fc4 set to be updated
---> Package libgcj-devel.x86_64 0:4.0.1-4.fc4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 gcc                     x86_64     4.0.1-4.fc4      updates-released  2.9 M
Updating for dependencies:
 apr                     x86_64     0.9.6-3.1        updates-released  103 k
 apr-devel               x86_64     0.9.6-3.1        updates-released  533 k
 cpp                     x86_64     4.0.1-4.fc4      updates-released  2.3 M
 gcc-c++                 x86_64     4.0.1-4.fc4      updates-released  3.0 M
 gcc-gfortran            x86_64     4.0.1-4.fc4      updates-released  2.6 M
 gcc-gnat                x86_64     4.0.1-4.fc4      updates-released   10 M
 gcc-java                x86_64     4.0.1-4.fc4      updates-released  2.5 M
 gcc-objc                x86_64     4.0.1-4.fc4      updates-released  2.3 M
 libgcc                  x86_64     4.0.1-4.fc4      updates-released   55 k
 libgcj                  x86_64     4.0.1-4.fc4      updates-released  8.2 M
 libgcj-devel            x86_64     4.0.1-4.fc4      updates-released  1.0 M
 libgfortran             x86_64     4.0.1-4.fc4      updates-released  121 k
 libgnat                 x86_64     4.0.1-4.fc4      updates-released  861 k
 libmudflap              x86_64     4.0.1-4.fc4      updates-released  109 k
 libmudflap-devel        x86_64     4.0.1-4.fc4      updates-released  233 k
 libobjc                 x86_64     4.0.1-4.fc4      updates-released   60 k
 libstdc++               x86_64     4.0.1-4.fc4      updates-released  297 k
 libstdc++-devel         x86_64     4.0.1-4.fc4      updates-released  9.8 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update      19 Package(s)
Remove       0 Package(s)
Total download size: 47 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error:   file /usr/share/man/man1/fastjar.1.gz from
install of libgcj-4.0.1-4.fc4 conflicts with file from package
libgcj-4.0.0-9
  file /usr/share/man/man1/gcj-dbtool.1.gz from install of
libgcj-4.0.1-4.fc4 conflicts with file from package libgcj-4.0.0-9
  file /usr/share/man/man1/gij.1.gz from install of libgcj-4.0.1-4.fc4
conflicts with file from package libgcj-4.0.0-9
  file /usr/share/man/man1/grepjar.1.gz from install of
libgcj-4.0.1-4.fc4 conflicts with file from package libgcj-4.0.0-9
  file /usr/share/man/man1/grmic.1.gz from install of libgcj-4.0.1-4.fc4
conflicts with file from package libgcj-4.0.0-9
  file /usr/share/man/man1/grmiregistry.1.gz from install of
libgcj-4.0.1-4.fc4 conflicts with file from package libgcj-4.0.0-9
  file /usr/share/man/man1/jv-convert.1.gz from install of
libgcj-4.0.1-4.fc4 conflicts with file from package libgcj-4.0.0-9

Try:
# yum update gcc libgcj.i386

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux