 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

23rd February 2006, 08:38 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 27

|
|
|
multiple program versions installed
hi, I've been trying to figure out some problems and looking for possible conflicts due to mixing yum repos, I've noticed different versions of several programs installed.
from cat /var/log/rpmpkgs
I can see multiple versions of several programs just wondering if this can cause a problem, often the running program seems to be the older and trying to remove the older with rpm says it is not installed and trying to remove with yum tends to remove both.
eg.
mkisofs-2.01.1-9.0.FC4.1.i386.rpm
mkisofs-2.01.1-9.i386.rpm
module-init-tools-3.1-3.i386.rpm
module-init-tools-3.2-0.pre9.0.FC4.1.i386.rpm
mozilla-1.7.12-1.5.1.i386.rpm
mozilla-1.7.8-2.i386.rpm
mozilla-nspr-1.7.12-1.5.1.i386.rpm
mozilla-nspr-1.7.8-2.i386.rpm
mozilla-nss-1.7.12-1.5.1.i386.rpm
mozilla-nss-1.7.8-2.i386.rpm
thanks in advance for any help
|

23rd February 2006, 09:55 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862

|
|
I am curious about this too.
I was going to say I have 3 versions of moz installed, but it's actually 3 mozilla dir with only one executable.
That is 1.7.12, and rpm -qa |grep mozilla and the rpm log shows only 1.7.12...
mozilla-1.7.12-1.3.1
mozilla-devel-1.7.12-1.3.1
mozilla-nss-devel-1.7.12-1.3.1
mozilla-nspr-devel-1.7.12-1.3.1
mozilla-nspr-1.7.12-1.3.1
mozilla-nss-1.7.12-1.3.1
I have read that multiple versions of certain filetypes can co-exist, but reading all these "dependency hell" update posts there is definately a problem with others  .
ANYBODY?
|

24th February 2006, 12:25 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 27

|
|
|
should we worry?
my biggest worry is with module-init-tools, I've had a few problems since upgrading it and the kernel last week, but to uninstall it and reinstall with yum removes both versions and heaps of dependencies.
I'm a bit worried about rpm -e --no deps with something that seems so critical.
removing and reinstalling by yum worked with evince after I got a black screen with every pdf after updating poppler.
|

24th February 2006, 01:14 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
It's not uncommon to have both 32-bit and 64-bit versions of the same package, assuming you're running x86_64. Try this command to further differentiate your packages. Pipe the output through grep to prune the list.
rpm -qa --queryformat "%{N} %{V} %{R} %{ARCH}\n"
|

24th February 2006, 08:11 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 27

|
|
|
thanks for your reply jcliburn,
what exactly is this command telling me?
how do I pipe it through grep?
I'm using on an i686, 32-bit not 64-bit (I'm pretty sure!)
please forgive my newbie-ness.
|

24th February 2006, 01:23 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
The command displays the package name, version, release, and architecture. Ordinarily, rpm -q shows only name, version, and release. To see which packages are actually installed, use one of the variants of the "rpm -q" command; don't just cat rpmpkgs.
"Piping through grep" means you feed the output of a command through grep looking for a particular regular expression (most commonly, a substring). For example, if I wanted to see only rpms that contain the letters "moz", I'd do this:
rpm -qa | grep moz
As a matter of practice, the only repos I keep enabled all the time are fedora base, updates-released, and extras. Everything else -- livna, atrpms, freshrpms, dag, whatever -- I keep disabled by setting "enabled=0" in the relevant /etc/yum/repos.d/repo_filename file. When I want something from one of those disabled repos, I use the "--enablerepo" flag on the yum command line. I've had very, very few dependency conflicts.
|

24th February 2006, 09:13 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 27

|
|
|
yum remove/ yum install only way?
So when I run rpm -qa --queryformat "%{N} %{V} %{R} %{ARCH}\n" | grep moz
I get the following result:
mozilla-nspr 1.7.8 2 i386
mozilla-nss 1.7.12 1.5.1 i386
mozilla 1.7.12 1.5.1 i386
mozilla 1.7.8 2 i386
mozilla-nspr 1.7.12 1.5.1 i386
mozilla-nss 1.7.8 2 i386
however when I look at the "about tab" on mozilla it says Mozilla 1.7.8
does this mean I have installed an update but because there are two versions installed it is still using the old one?
rpm -q mozilla returns:
mozilla-1.7.12-1.5.1
mozilla-1.7.8-2
rpm -e mozilla returns:
error: "mozilla" specifies multiple packages
locate mozilla-1.7.12 returns many mozilla-1.7.12 components so it seems to be installed but why isn't it running when I type mozillla?
I think yum remove mozilla/ yum install mozilla will probably work but I have this problem with many programs so It's going to take a long time and doing it to things like module-init-tools will be down-right scary.
|

24th February 2006, 09:23 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
Quote:
|
Originally Posted by dansole
yum remove/ yum install only way?
So when I run rpm -qa --queryformat "%{N} %{V} %{R} %{ARCH}\n" | grep moz
I get the following result:
mozilla-nspr 1.7.8 2 i386
mozilla-nss 1.7.12 1.5.1 i386
mozilla 1.7.12 1.5.1 i386
mozilla 1.7.8 2 i386
mozilla-nspr 1.7.12 1.5.1 i386
mozilla-nss 1.7.8 2 i386
however when I look at the "about tab" on mozilla it says Mozilla 1.7.8
does this mean I have installed an update but because there are two versions installed it is still using the old one?
|
Yep, you're still using the old one for some reason.
Quote:
rpm -q mozilla returns:
mozilla-1.7.12-1.5.1
mozilla-1.7.8-2
rpm -e mozilla returns:
error: "mozilla" specifies multiple packages
locate mozilla-1.7.12 returns many mozilla-1.7.12 components so it seems to be installed but why isn't it running when I type mozillla?
|
I don't know. That's a good question.
Quote:
|
think yum remove mozilla/ yum install mozilla will probably work but I have this problem with many programs so It's going to take a long time and doing it to things like module-init-tools will be down-right scary.
|
The yum remove/install cycle is probably your best bet. Or, alternatively you could try to rpm -e the older versions.
|

24th February 2006, 09:48 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
Looks plausible.
su -
(This command causes you to become root.)
rm -f /var/lib/rpm/__db.00*
(This command removes the rpm database containing duplicate package entries.)
rpm -e --allmatches --nodeps <list of files which indicated that where duplicate"
(This command removes duplicate rpms.)
rpm --rebuilddb
(This command rebuilds your rpm database without the duplicate packages.)
apt-get -f install
(This command fixes broken dependencies and installs necessary packages. You should use yum, not apt-get. "yum clean all" followed by "yum makecache" followed by "yum update")
|

24th February 2006, 09:53 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862

|
|
|
A Reminder
Quote:
|
hi, I've been trying to figure out some problems and looking for possible conflicts due to mixing yum repos, I've noticed different versions of several programs installed.
|
Check your repos
|

24th February 2006, 10:04 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 27

|
|
|
I have mucked around with repos a bit, tried the rpmforge one's for a while and have now gone back to fedora base etc,
does "mixing repos" mean mixing at the same time or mixing packages from different repos.
ie: I've probably got things installed from rpmforge but the repos are currently disabled
|

24th February 2006, 10:15 PM
|
 |
Retired Community Manager & Avid Drinker Of Suds
|
|
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176

|
|
|
you run into problems mixing livina rpms with rpmforge rpms
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile
please remember to say if you problem was solved
Did you get your id10t award today?
|

24th February 2006, 10:59 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862

|
|
Quote:
does "mixing repos" mean mixing at the same time or mixing packages from different repos.
ie: I've probably got things installed from rpmforge but the repos are currently disabled
|
Maybe a little of both, but it's probably ok to have them all installed as long as just the fedora ones are
enabled by default and just enable the others "as you need them". If you use yumex you can enable disable
with a simple click.
I have many packages from many repos (including both rpmforge and livna) but they stay disabled until I
want to look for something.
As far as I know, ATRPM is stil a NO.
|

24th February 2006, 11:01 PM
|
 |
Registered User
|
|
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862

|
|
|
Also ad fedorajim said, I don't mix them. I enable rpmforge or I enable livna (and I only occasionally use livna).
Make sure the updates testing and developement repos are disabled.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 19:51 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|