Im upgrading and I get “Error: Missing Dependency:” messages like “Error: Missing Dependency: libgcj.so.5 is needed by package junit” and then yum quits. What should I do?
A. yum is trying to tell you that some packages that are being replaced or obsoleted are needed by an installed package, so yum can’t do it’s work. To interpret the example, the installed junit package requires libgcj.so.5 and libgcj.so.5 is being updated or obsoleted so junit would no longer work if yum updated the libgcj.so.5 package. One relatively easy way to fix this is to remove whatever package “needs” the packages that are about to be upgraded/obsoleted and then reinstall that package after you have upgraded everything else. In the example, remove junit, upgrade, then reinstall junit. Another solution is to find a repository that provides an upgraded of the package that “needs” the old packages and add it to your yum configuration. Hopefully the new version of that package will have dependencies on the upgraded package, in our case libgcj.so.5, and yum will take care of everything.
Related Questions
- Im upgrading and I get "Error: Missing Dependency:" messages like "Error: Missing Dependency: libgcj.so.5 is needed by package junit" and then yum quits. What should I do?
- I am trying to use yum to install something, but it tells me "Error: Missing Dependency: kernel-headers is needed by package glibc-headers." Why isn yum working?
- When I configure --with-python, I get error messages saying, "warning: Not importing directory site: missing __init__.py". How do I fix this?