Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Yum installed duplicate packages, now can't remove duplicates

Posted on 2007-04-06
9
Medium Priority
?
1,407 Views
Last Modified: 2013-12-16
Whenever I do a "yum update", I get a dependency error that cannot be resolved.  It appears that TWO packages of the same name with different versions are installed!  Help - how do I delete only one of the duplicate packages?

When I do a "yum update" the error is as follows:

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gnome-python2.x86_64 0:2.16.2-2.fc6 set to be updated
---> Package gnome-python2-gconf.x86_64 0:2.16.2-2.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: gnome-python2 = 2.16.2-1.fc6 for package: gnome-python2-bonobo
--> Processing Dependency: gnome-python2 = 2.16.2-1.fc6 for package: gnome-python2-canvas
--> Processing Dependency: gnome-python2 = 2.16.2-1.fc6 for package: gnome-python2-gnomevfs
--> Finished Dependency Resolution
Error: Missing Dependency: gnome-python2 = 2.16.2-1.fc6 is needed by package gnome-python2-bonobo
Error: Missing Dependency: gnome-python2 = 2.16.2-1.fc6 is needed by package gnome-python2-canvas
Error: Missing Dependency: gnome-python2 = 2.16.2-1.fc6 is needed by package gnome-python2-gnomevfs

If I try to do a "yum remove" with one of the three packages, the following appears.  As you can see, three packages are duplicate installed (with different versions).  Since I cannot uninstall all of the below, how do I get rid of the three duplicate packages: gnome-python2-bonobo, gnome-python2-canvas, gone-python2-nomevfs.



Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 gnome-python2-bonobo    x86_64     2.16.2-2.fc6     installed         208 k
 gnome-python2-bonobo    x86_64     2.16.2-1.fc6     installed         208 k
Removing for dependencies:
 alacarte                noarch     0.10.0-1.fc6     installed         604 k
 firstboot               noarch     1.4.23-1         installed         933 k
 gedit                   x86_64     1:2.15.9-1.fc6   installed          15 M
 gnome-applets           x86_64     1:2.16.0.1-12.fc6  installed          33 M
 gnome-python2           x86_64     2.16.2-1.fc6     installed         634 k
 gnome-python2-applet    x86_64     2.16.0-1.fc6     installed          21 k
 gnome-python2-canvas    x86_64     2.16.2-1.fc6     installed          56 k
 gnome-python2-canvas    x86_64     2.16.2-2.fc6     installed          56 k
 gnome-python2-desktop   x86_64     2.16.0-1.fc6     installed         234 k
 gnome-python2-extras    x86_64     2.14.2-9.fc6     installed          62 k
 gnome-python2-gconf     x86_64     2.16.2-1.fc6     installed          88 k
 gnome-python2-gnomeprint  x86_64     2.16.0-1.fc6     installed         448 k
 gnome-python2-gnomevfs  x86_64     2.16.2-2.fc6     installed         181 k
 gnome-python2-gnomevfs  x86_64     2.16.2-1.fc6     installed         181 k
 gnome-python2-gtksourceview  x86_64     2.16.0-1.fc6     installed         363 k
 gnome-python2-libegg    x86_64     2.14.2-9.fc6     installed         126 k
 pirut                   noarch     1.2.8-1.fc6      installed         934 k
 system-config-date      noarch     1.8.8-1.fc6      installed         3.3 M
 system-config-httpd     noarch     5:1.4.1-1.fc6    installed         2.3 M
 system-config-lvm       noarch     1.0.18-1.2.FC6   installed         2.6 M
 system-config-network   noarch     1.3.96-1.fc6     installed         2.1 M

Transaction Summary
=============================================================================
Install      0 Package(s)        
Update       0 Package(s)        
Remove      23 Package(s)        

Is this ok [y/N]: n
0
Comment
Question by:Jason Dupont
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 4

Expert Comment

by:cheesygit182
ID: 18864428
what distro are you running?
Have you tried uninstalling them with SMART?: http://labix.org/smart

~cheesygit182

0
 

Author Comment

by:Jason Dupont
ID: 18864519
I'm using Fedora Core 6.

I have never heard of the smart command (and I can't find it on my system)
0
 
LVL 4

Expert Comment

by:cheesygit182
ID: 18866240
sorry, I should have explained fully:
SMART is a package management program that combines most major package management systems, and is very easy to use.
You can download it from here: http://labix.org/smart
I suggest you download/install it, and try removing the package(s) with it. If it doesn't work, at least it will tell you whats wrong.

~cheesygit182
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:Jason Dupont
ID: 18866334
That package requires older .so files - I don't want to downgrade anything.

Other ideas?
0
 

Author Comment

by:Jason Dupont
ID: 18866525
I tried to get more detail of the error, and here's what I found (using yum install -d 5 -e 5 gnome-python2-gconf )

yum install -d 5 -e 5 gnome-python2-gconf
Loading "installonlyn" plugin
Running "config" handler for "installonlyn" plugin
Yum Version: 3.0.5
COMMAND: yum -d 5 -e 5
Installroot: /
Ext Commands:

   gnome-python2-gconf
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Setting up Package Sacks
Excluding Packages in global exclude list
Excluding kernel-xen-devel - 2.6.19-1.2911.6.5.fc6.i686
Excluding kernel - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-headers - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-kdump-devel - 2.6.20-1.2933.fc6.i686
Excluding kernel-kdump - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-xen-devel - 2.6.18-1.2798.fc6.x86_64
Excluding kernel-devel - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-xen - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-xen-devel - 2.6.18-1.2798.fc6.i686
Excluding kernel-kdump-devel - 2.6.18-1.2798.fc6.x86_64
Excluding kernel-debug - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-doc - 2.6.20-1.2925.fc6.noarch
Excluding kernel-kdump - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-xen - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-devel - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-doc - 2.6.18-1.2798.fc6.noarch
Excluding kernel-kdump-devel - 2.6.18-1.2798.fc6.i686
Excluding kernel-kdump - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-debug-devel - 2.6.20-1.2933.fc6.x86_64
Excluding kernel - 2.6.18-1.2798.fc6.x86_64
Excluding kernel - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-xen-devel - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-devel - 2.6.18-1.2798.fc6.x86_64
Excluding kernel-kdump-devel - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-kdump-devel - 2.6.20-1.2925.fc6.i686
Excluding kernel-devel - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-headers - 2.6.20-1.2933.fc6.x86_64
Excluding kernel - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-headers - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-xen - 2.6.18-1.2798.fc6.x86_64
Excluding kernel-devel - 2.6.20-1.2925.fc6.i586
Excluding kernel-debug-devel - 2.6.19-1.2911.6.5.fc6.x86_64
Excluding kernel-devel - 2.6.19-1.2911.6.5.fc6.i586
Excluding kernel-kdump-devel - 2.6.19-1.2911.6.5.fc6.i686
Excluding kernel-devel - 2.6.18-1.2798.fc6.i686
Excluding kernel-doc - 2.6.19-1.2911.6.5.fc6.noarch
Excluding kernel-debug - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-devel - 2.6.20-1.2933.fc6.i586
Excluding kernel-debug-devel - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-xen-devel - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-devel - 2.6.19-1.2911.6.5.fc6.i686
Excluding kernel-kdump-devel - 2.6.20-1.2933.fc6.x86_64
Excluding kernel-headers - 2.6.18-1.2798.fc6.x86_64
Excluding kernel-kdump-devel - 2.6.20-1.2925.fc6.x86_64
Excluding kernel-devel - 2.6.18-1.2798.fc6.i586
Excluding kernel-doc - 2.6.20-1.2933.fc6.noarch
Excluding kernel-devel - 2.6.20-1.2933.fc6.i686
Excluding kernel-devel - 2.6.20-1.2925.fc6.i686
Excluding kernel-kdump - 2.6.18-1.2798.fc6.x86_64
Excluding kernel-xen-devel - 2.6.20-1.2933.fc6.i686
Excluding kernel-debug - 2.6.19-1.2911.6.5.fc6.x86_64
Finished
Reading Local RPMDB
Parsing package install arguments
potential updates :
   gnome-python2-gconf.x86_64 0:2.16.2-2.fc6
Building updates object
Resolving Dependencies
1175887302.08
--> Populating transaction set with selected packages. Please wait.
Adding Package gnome-python2-gconf - 2.16.2-2.fc6.x86_64 in mode u
---> Package gnome-python2-gconf.x86_64 0:2.16.2-2.fc6 set to be updated
--> Running transaction check
# of Deps = 1

Dep Number: 1/1

gnome-python2-gconf requires: gnome-python2 = 2.16.2-2.fc6
--> Processing Dependency: gnome-python2 = 2.16.2-2.fc6 for package: gnome-python2-gconf
Requiring package is from transaction set
Resolving for requiring package: gnome-python2-gconf-2.16.2-2.fc6 in state u
Resolving for requirement: gnome-python2 = 2.16.2-2.fc6
Searching pkgSack for dep: gnome-python2
Potential match for gnome-python2 from gnome-python2 - 2.16.0-1.fc6.x86_64
Potential match for gnome-python2 from gnome-python2 - 2.16.2-2.fc6.x86_64
Matched gnome-python2 - 2.16.2-2.fc6.x86_64 to require for gnome-python2
TSINFO: Marking gnome-python2 - 2.16.2-2.fc6.x86_64 as update for gnome-python2-gconf
processing dep took: 0.269815
miss = 0
conf = 0
CheckDeps = 1
--> Restarting Dependency Resolution with new changes.
---> Loop Number: 2
Restarting Loop
--> Populating transaction set with selected packages. Please wait.
Adding Package gnome-python2 - 2.16.2-2.fc6.x86_64 in mode u
---> Package gnome-python2.x86_64 0:2.16.2-2.fc6 set to be updated
--> Running transaction check
# of Deps = 3

Dep Number: 1/3

gnome-python2-bonobo requires: gnome-python2 = 2.16.2-1.fc6
--> Processing Dependency: gnome-python2 = 2.16.2-1.fc6 for package: gnome-python2-bonobo
Looking for ('gnome-python2', 'EQ', ('0', '2.16.2', '1.fc6')) as a requirement of gnome-python2-bonobo - 2.16.2-1.fc6.x86_64
Requiring package is installed: gnome-python2-bonobo - 2.16.2-1.fc6.x86_64
Resolving for installed requiring package: gnome-python2-bonobo - 2.16.2-1.fc6.x86_64
Resolving for requirement: gnome-python2 = 2.16.2-1.fc6
Potential Provider: gnome-python2.x86_64 0:2.16.2-2.fc6
Mode is u for provider of gnome-python2 = 2.16.2-1.fc6: gnome-python2.x86_64 0:2.16.2-2.fc6
Mode for pkg providing gnome-python2 = 2.16.2-1.fc6: u
Cannot find an update path for dep for: gnome-python2 = 2.16.2-1.fc6
Searching pkgSack for dep: gnome-python2
Potential match for gnome-python2 from gnome-python2 - 2.16.0-1.fc6.x86_64
Potential match for gnome-python2 from gnome-python2 - 2.16.2-2.fc6.x86_64
processing dep took: 0.011593

Dep Number: 2/3

gnome-python2-canvas requires: gnome-python2 = 2.16.2-1.fc6
--> Processing Dependency: gnome-python2 = 2.16.2-1.fc6 for package: gnome-python2-canvas
Looking for ('gnome-python2', 'EQ', ('0', '2.16.2', '1.fc6')) as a requirement of gnome-python2-canvas - 2.16.2-1.fc6.x86_64
Requiring package is installed: gnome-python2-canvas - 2.16.2-1.fc6.x86_64
Resolving for installed requiring package: gnome-python2-canvas - 2.16.2-1.fc6.x86_64
Resolving for requirement: gnome-python2 = 2.16.2-1.fc6
Needed Require has already been looked up, cheating
Potential Provider: gnome-python2.x86_64 0:2.16.2-2.fc6
Mode is u for provider of gnome-python2 = 2.16.2-1.fc6: gnome-python2.x86_64 0:2.16.2-2.fc6
Mode for pkg providing gnome-python2 = 2.16.2-1.fc6: u
Cannot find an update path for dep for: gnome-python2 = 2.16.2-1.fc6
Searching pkgSack for dep: gnome-python2
Potential match for gnome-python2 from gnome-python2 - 2.16.0-1.fc6.x86_64
Potential match for gnome-python2 from gnome-python2 - 2.16.2-2.fc6.x86_64
processing dep took: 0.010737

Dep Number: 3/3

gnome-python2-gnomevfs requires: gnome-python2 = 2.16.2-1.fc6
--> Processing Dependency: gnome-python2 = 2.16.2-1.fc6 for package: gnome-python2-gnomevfs
Looking for ('gnome-python2', 'EQ', ('0', '2.16.2', '1.fc6')) as a requirement of gnome-python2-gnomevfs - 2.16.2-1.fc6.x86_64
Requiring package is installed: gnome-python2-gnomevfs - 2.16.2-1.fc6.x86_64
Resolving for installed requiring package: gnome-python2-gnomevfs - 2.16.2-1.fc6.x86_64
Resolving for requirement: gnome-python2 = 2.16.2-1.fc6
Needed Require has already been looked up, cheating
Potential Provider: gnome-python2.x86_64 0:2.16.2-2.fc6
Mode is u for provider of gnome-python2 = 2.16.2-1.fc6: gnome-python2.x86_64 0:2.16.2-2.fc6
Mode for pkg providing gnome-python2 = 2.16.2-1.fc6: u
Cannot find an update path for dep for: gnome-python2 = 2.16.2-1.fc6
Searching pkgSack for dep: gnome-python2
Potential match for gnome-python2 from gnome-python2 - 2.16.0-1.fc6.x86_64
Potential match for gnome-python2 from gnome-python2 - 2.16.2-2.fc6.x86_64
processing dep took: 0.009516
miss = 3
conf = 0
CheckDeps = 0
--> Finished Dependency Resolution
Dependency Process ending
Running "postresolve" handler for "installonlyn" plugin
Error: Missing Dependency: gnome-python2 = 2.16.2-1.fc6 is needed by package gnome-python2-bonobo
Error: Missing Dependency: gnome-python2 = 2.16.2-1.fc6 is needed by package gnome-python2-canvas
Error: Missing Dependency: gnome-python2 = 2.16.2-1.fc6 is needed by package gnome-python2-gnomevfs
0
 
LVL 4

Expert Comment

by:cheesygit182
ID: 18867635
sorry, I don't know enough about YUM to interpret that,(i've never needed to use it)
but a few obvious things jump out:
"Finished Dependency Resolution" - "Error: Missing Dependency"
that  implies there is something wrong with the dependency checking part of the package..?

~cheesygit182
0
 
LVL 4

Expert Comment

by:Kooroo
ID: 18868643
yum is just a fancy tool for rpms. You can remove any package out of yum via
rpm -qa | grep <pkg_name> to find which one you want.

then rpm -e --nodeps <pkgname in rpm>.

assuming of course you do genuinely have an unncessary duplicate in system. removing a package with nodeps could break stuffs so make sure you're not yanking anything that will cripple either yum or rpm.

you may just have an obsolete package installed, which you can determine with yum list obsoletes
0
 

Author Comment

by:Jason Dupont
ID: 18869372
I tried yum list obsoletes, but there are none.

Can you figure out from my posts above which package needs to be removed?  I just can't get yum past this point...always complains about dependency problems relating to gnome-python2*

0
 
LVL 4

Accepted Solution

by:
Kooroo earned 1500 total points
ID: 18869784
gnome-python2 = 2.16.2-1.fc6 is likely what you need to remove.

in the short-haul,

rpm -e --nodeps gnome-python2 = 2.16.2-1.fc6 ; yum install gnome-python2

oughta do it. I'd do it from a console without a gui personally, but I don't think it'll harm things too much doing without. Afterwhich, you can attempt to yum upgrade gnome-python2.

_Kooroo

0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question