CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello.
I'm using CentOS 7 x86_64 and when I want to install any app then it show me an error about duplicate packages.
Code:
# yum update
.
.
.
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
** Found 781 pre-existing rpmdb problem(s), 'yum check' output follows:
ModemManager-glib-1.6.10-1.el7.x86_64 is a duplicate with ModemManager-glib-1.1.0-8.git20130913.el7.x86_64
1:NetworkManager-1.10.2-16.el7_5.x86_64 is a duplicate with 1:NetworkManager-1.0.6-27.el7.x86_64
1:NetworkManager-adsl-1.10.2-16.el7_5.x86_64 is a duplicate with 1:NetworkManager-adsl-1.0.6-27.el7.x86_64
1:NetworkManager-glib-1.10.2-16.el7_5.x86_64 has installed conflicts NetworkManager-libnm < ('1', '1.10.2', '16.el7_5'): 1:NetworkManager-libnm-
1.0.6-27.el7.x86_64
1:NetworkManager-glib-1.10.2-16.el7_5.x86_64 is a duplicate with 1:NetworkManager-glib-1.0.6-27.el7.x86_64
1:NetworkManager-libnm-1.10.2-16.el7_5.x86_64 has installed conflicts NetworkManager-glib < ('1', '1.10.2', '16.el7_5'): 1:NetworkManager-glib-1
.0.6-27.el7.x86_64
1:NetworkManager-libnm-1.10.2-16.el7_5.x86_64 is a duplicate with 1:NetworkManager-libnm-1.0.6-27.el7.x86_64
1:NetworkManager-team-1.10.2-16.el7_5.x86_64 is a duplicate with 1:NetworkManager-team-1.0.6-27.el7.x86_64
PackageKit-command-not-found-1.1.5-2.el7.centos.x86_64 is a duplicate with PackageKit-command-not-found-1.0.7-5.el7.centos.x86_64
PackageKit-glib-1.1.5-2.el7.centos.x86_64 is a duplicate with PackageKit-glib-1.0.7-5.el7.centos.x86_64
PackageKit-gstreamer-plugin-1.1.5-2.el7.centos.x86_64 is a duplicate with PackageKit-gstreamer-plugin-1.0.7-5.el7.centos.x86_64
abattis-cantarell-fonts-0.0.25-1.el7.noarch is a duplicate with abattis-cantarell-fonts-0.0.16-3.el7.noarch
abrt-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-2.1.11-36.el7.centos.x86_64
abrt-addon-ccpp-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-addon-ccpp-2.1.11-36.el7.centos.x86_64
abrt-addon-kerneloops-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-addon-kerneloops-2.1.11-36.el7.centos.x86_64
abrt-addon-pstoreoops-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-addon-pstoreoops-2.1.11-36.el7.centos.x86_64
abrt-addon-python-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-addon-python-2.1.11-36.el7.centos.x86_64
abrt-addon-vmcore-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-addon-vmcore-2.1.11-36.el7.centos.x86_64
abrt-addon-xorg-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-addon-xorg-2.1.11-36.el7.centos.x86_64
abrt-cli-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-cli-2.1.11-36.el7.centos.x86_64
abrt-console-notification-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-console-notification-2.1.11-36.el7.centos.x86_64
abrt-dbus-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-dbus-2.1.11-36.el7.centos.x86_64
abrt-libs-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-libs-2.1.11-36.el7.centos.x86_64
abrt-python-2.1.11-50.el7.centos.x86_64 is a duplicate with abrt-python-2.1.11-36.el7.centos.x86_64
.
.
.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
I was thinking before, that it maybe someone has done something to yum on your system, and given your thread here; did these issues start happening around the same time?
Because unless you have done an upgrade rather than a clean install of CentOS, then you're having the problem you are because someone has done something to either the rpm database and/or yum.
Beyond that, it should not be giving you those errors with a default install, without some kind of human intervention.
The only other possibility I can think of is a bug of some kind, or a package that's been installed - but this seems unlikely to me.
(I just noticed the thread of yours I've linked.)
Last edited by jsbjsb001; 12-18-2018 at 09:32 AM.
Reason: typo
While yes, that repo (being the "IUS Community Packages for Enterprise Linux 7 - x86_64" repo) is not a default repo, I also have that same repo enabled on my CentOS installation, and it's never caused any problems without "yum priorities" being setup. If you don't use problematic software repo's, then it's not really likely that you are going to need "yum priorities" in the first place. I think you'll find it was developed in the event people do wish to use repo's that could overwrite base packages. Why not just avoid any potential problems to begin with? As "yum priorities" does not stop the user from adding unsafe repo's to begin with.
In all honesty, I think the OP's bigger problem is that they don't seem to be able to do proper troubleshooting and research, and seem to think that we should do those things for them. I think in all honesty the OP should consider just sticking with Windows, particularly since they always seem to be posting from it anyway, according to their "User Agent" anyway...
I was thinking before, that it maybe someone has done something to yum on your system, and given your thread here; did these issues start happening around the same time?
Because unless you have done an upgrade rather than a clean install of CentOS, then you're having the problem you are because someone has done something to either the rpm database and/or yum.
Beyond that, it should not be giving you those errors with a default install, without some kind of human intervention.
The only other possibility I can think of is a bug of some kind, or a package that's been installed - but this seems unlikely to me.
(I just noticed the thread of yours I've linked.)
No, The other thread was for Ubuntu and not CetnOS.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by hack3rcon
No, The other thread was for Ubuntu and not CetnOS.
Yes, but you have missed the point of what I was saying there. You are still not providing proper information. I asked you before if you have done a clean install or not? You have not even answered that, and as usual, give one line responses that tell us next to nothing, if anything at all.
At this point, I'm done trying to help you. Good luck.
Yes, but you have missed the point of what I was saying there. You are still not providing proper information. I asked you before if you have done a clean install or not? You have not even answered that, and as usual, give one line responses that tell us next to nothing, if anything at all.
At this point, I'm done trying to help you. Good luck.
that does not mean anything.
But anyway you can try to remove one repo (one by one) and check if that solves this duplicate package issue. You could be at least able to find the conflicting repo(s).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.