Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123