LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-20-2004, 01:15 PM   #1
bakwas_internet
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Rep: Reputation: 0
Exclamation Multiple versions of packages installed


hi,
i updated all the Xfree86 packages using synaptic....it went well .....after that i restarted the system......system is working fine.....but whenever i use apt-get to install something it gaves a error message like this....
Quote:
W: There are multiple versions of "XFree86-xdm" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-xdm$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "XFree86-font-utils" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-font-utils$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "fal
W: There are multiple versions of "XFree86-100dpi-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-100dpi-fonts$"; };

To disable these warnings completely set:RPM::Allow-Duplicated-Warning
W: There are multiple versions of "XFree86-base-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-base-fonts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "fal
W: There are multiple versions of "XFree86-truetype-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-truetype-fonts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warn
W: There are multiple versions of "XFree86-75dpi-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-75dpi-fonts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "f
W: There are multiple versions of "XFree86-Mesa-libGLU" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-Mesa-libGLU$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "f
W: There are multiple versions of "XFree86-tools" in your system.This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-tools$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems
[root@aragon root]# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 68 not upgraded.
W: There are multiple versions of "XFree86-xdm" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-xdm$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "XFree86-font-utils" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-font-utils$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "fal
W: There are multiple versions of "XFree86-100dpi-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-100dpi-fonts$"; };To disable these warnings completely set:

RPM::Allow-Duplicated-Warning
W: There are multiple versions of "XFree86-base-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-base-fonts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "fal
W: There are multiple versions of "XFree86-truetype-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-truetype-fonts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warn
W: There are multiple versions of "XFree86-75dpi-fonts" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-75dpi-fonts$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "f
W: There are multiple versions of "XFree86-Mesa-libGLU" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-Mesa-libGLU$"; };

To disable these warnings completely set:RPM::Allow-Duplicated-Warning "f
W: There are multiple versions of "XFree86-tools" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^XFree86-tools$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems
i think new packages got installed side by side old packages....wat can i do now....any help will be highly appreciated...also how do i find out which version of xfree86 is currently being used....thanx in advance
bakwas
 
Old 03-20-2004, 07:32 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,509

Rep: Reputation: 177Reputation: 177
"i think new packages got installed side by side old packages....wat can i do now"

First take a look and see what packages are duplicated. Use this command:
rpm -qa | sort > /root/packages.txt
to create a file which lists all of your package names. Then use an editor or the less command to read /root/packages.txt
and figure out what packages are duplicated. Figure out which version of the duplicate package that you actually want to use. Get a copy of that package's rpm file and keep it handy.

You can then fix the problem by using rpm. When you have a duplicate package name then use this command to get rid of one copy of the package:
rpm --nodeps -e badpackagename
Then issue the same command again to get rid of the second copy of badpackagename. Keep doing that until rpm tells you that badpackagename is not installed. Then install the correct version of that package with:
rpm --force -i /pathname/packagename

See:
man rpm
to see what all of the rpm options that I described actually do.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 03-21-2004 at 11:44 AM.
 
Old 03-21-2004, 12:44 AM   #3
bakwas_internet
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Original Poster
Rep: Reputation: 0
thanx jailbait for your help ....now there are no errors....but can u tell me wat went wrong and why in the first place duplicate packages got installed.....i thought apt will take care of theese things by itself....anyway thanx again fot your help......
 
Old 03-21-2004, 11:43 AM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,509

Rep: Reputation: 177Reputation: 177
"can u tell me wat went wrong and why in the first place duplicate packages got installed.....i thought apt will take care of theese things by itself...."

apt is supposed to take of the dependencies by itself. But all of the automated installers somtimes fail on complicated dependencies. So far, I don't think that any of them, including apt, have reached the point where they are perfect. So when they fail you have to drop down to the lower level logic of command line rpm and straighten out the mess by hand.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 04-28-2004, 08:12 AM   #5
russkiypenguin
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
an easier solution

if you notice there's a solution proposed in the error message itself.

"you could run apt-get update to fix this"

I tried it and it solved my problem. I don't know why apt-get can figure out it's problems but the front end synaptic can't. I doubt I'll be using synaptic again.
 
Old 05-05-2005, 01:48 PM   #6
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Rep: Reputation: 15
thanks jailbait
that helped!


Last edited by timcharper; 05-05-2005 at 02:01 PM.
 
Old 05-05-2005, 07:49 PM   #7
Raafi
Member
 
Registered: Dec 2004
Location: New Jersey
Distribution: Fedora Core 18
Posts: 82

Rep: Reputation: 15
i did this once with java, because i became confused by the various methods of installing it, i kept getting that same error message that you have for apt-get but synaptic also told me that i had two or more of the same program

i had java 1.4.2 and 1.5.0 two or three times

i used synaptic to remove them, because it showed up twice, everything came out nice
 
Old 06-01-2007, 01:04 PM   #8
topazcaleb
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Multiple versions of libraries present.

The above situation arises due the --force switch given with rpm command. But its not too late...

please run the below command as root

apt-get update --fix-broken

This would fix all the broken libraries.

Topaz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptic (apt-get) warns about multiple versions of packages.. sarang2005 Linux - Software 3 11-06-2005 08:58 PM
multiple versions of gcc Avatar33 Linux - General 3 02-22-2005 02:06 PM
Best Practice - using different versions of packages kverde Fedora 3 11-29-2004 01:04 PM
Multiple versions of GLIBC El Craigo Red Hat 2 08-11-2004 11:14 PM
Multiple RPM versions installed Tomasfuego Linux - Software 0 05-15-2003 02:28 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration