PDA

View Full Version : Can I use a 12 version RPM in 13?


dartdog
26th April 2010, 03:48 PM
Newbie question.. in this case want to tryout mysql-workbench which has a 12 rpm available but no 13..
If ok;
If I have issues how do I remove once added? (if I have problems)

PabloTwo
26th April 2010, 04:26 PM
You won't know until you try. It all depends on the package dependencies. If the F12 mysql-workbench package installs OK without any dependency issues then you're probably good to go.

Remove the package?

The same way you installed it, either:

"yum erase packagename" or "rpm -e packagename"

dartdog
26th April 2010, 05:10 PM

Thanks,, Since I'm using doubleclick to install from a window I needed the command syntax!

SlowJet
26th April 2010, 05:10 PM
http://koji.fedoraproject.org/koji/packageinfo?packageID=687

It's called bench

workbench my be for 5.5.

The set of rpm needs to match for mysql
There was some transsition versions that were broken lately.
If yo don't know what is going on, use the newest versions.

SJ

dartdog
26th April 2010, 05:26 PM
It does not show in the add/remove programs list and I have experimental enabled? How should I get it? I am a newbie!

SlowJet
26th April 2010, 06:16 PM
Add/Remove is for the install media, usually. The install media (dvd) has a predetermined set of packages whereas the repo has everything compiled for a distrobution.

Use yum on a terminal to get specific.

su -
<rootpassword>

yum list available mysq*

yum install mysql-bench

If by experimental you mean updates-testing then

yum update mysql mysql-server mysql-bench mysql --enablerepo=updates-testing

Or go to the link I supplied and download each rpm wanted then

rpm -Uvh <list of rpms> --test
if no errors then
rpm -Uvh <list of rpms>


g/l

SJ

szilagyic
26th April 2010, 06:38 PM
Just wanted to add that if you can't get the FC12 RPM to install in FC13, that you can compile the FC13 RPM from the RPM source if it is available. Get the .src.rpm file, then use this:

rpmbuild –rebuild rpmfile.src.rpm

The RPM will be placed in:

/home/user/rpmbuild/RPMS/*/*

Which you can simply install with "rpm -i".

--
Chris

SlowJet
26th April 2010, 06:44 PM
OK, enough already.
He needs the f13 rpm that matches the fedora version but he does not know how to use yum or rpm to do updates and installs.

Rebuilding the f13 rpm is totally off topic and is not necessary.
And he would have more problems with that process than a simple yum.


SJ

dartdog
26th April 2010, 08:37 PM
Thanks for the info I'll try to muddle through!