I recently installed Oracle-XE using yum --nogpgcheck localinstall oracle...rpm. No problem except that I screwed up the configuration. My coworker told me that I should use rpm(8) because the installation manual specified it rather than yum(8). My question is that is there any specific advantage using yum(8) over rpm(8).
2011-01-30 16:00, Jerry Feldman skrev:
I recently installed Oracle-XE using yum --nogpgcheck localinstall oracle...rpm. No problem except that I screwed up the configuration. My coworker told me that I should use rpm(8) because the installation manual specified it rather than yum(8). My question is that is there any specific advantage using yum(8) over rpm(8).
The main difference is that yum(8) try to solve dependency while rpm(8) does not.
On Sun, Jan 30, 2011 at 9:00 AM, Jerry Feldman gaf@blu.org wrote:
I recently installed Oracle-XE using yum --nogpgcheck localinstall oracle...rpm. No problem except that I screwed up the configuration. My coworker told me that I should use rpm(8) because the installation manual specified it rather than yum(8). My question is that is there any specific advantage using yum(8) over rpm(8).
Nope. No real differences except that Jon pointed out. Also, localinstall isn't necessary anymore. Just type good ole' install and point it to a local file and it works fine.
If you think you'll be installing an RPM on a regular basis it's very easy to setup a local repository. I did this for some packages I built myself as well as all the packages from the F14 install DVD and it made it very easy to install on all my home computers. That way if you get an updated RPM you can put it in your repo and it should get picked up on your next update.
I even setup NFS on the computer I host the local repo on so now all the other computers just see it as another repository.
Richard
On 01/30/2011 10:24 AM, Jon Ingason wrote:
2011-01-30 16:00, Jerry Feldman skrev:
I recently installed Oracle-XE using yum --nogpgcheck localinstall oracle...rpm. No problem except that I screwed up the configuration. My coworker told me that I should use rpm(8) because the installation manual specified it rather than yum(8). My question is that is there any specific advantage using yum(8) over rpm(8).
The main difference is that yum(8) try to solve dependency while rpm(8) does not.
On 01/30/2011 10:30 AM, Richard Shaw wrote:
Nope. No real differences except that Jon pointed out. Also, localinstall isn't necessary anymore. Just type good ole' install and point it to a local file and it works fine.
If you think you'll be installing an RPM on a regular basis it's very easy to setup a local repository. I did this for some packages I built myself as well as all the packages from the F14 install DVD and it made it very easy to install on all my home computers. That way if you get an updated RPM you can put it in your repo and it should get picked up on your next update.
I even setup NFS on the computer I host the local repo on so now all the other computers just see it as another repository.
No, I don't install too many packages. This was for a virtual machine. The question was just for answering the criticism from my coworker that I should have used rpm(8) and not yum(8).
On Sun, 30 Jan 2011 16:24:04 +0100 Jon Ingason wrote:
The main difference is that yum(8) try to solve dependency while rpm(8) does not.
That, and the next time you use yum after using rpm, yum will scream at you about modifying the database outside of yum :-).
I find it very useful to use the yum localinstall technique for things like acroread on a 64 bit system, since if I allow it to use the adobe repo, it will decide to satisfy dependencies by doing things like pulling down the spanish version of acroread to get some library packaged with it.
If I disable the adobe repo while installing the manually downloaded acroread rpm, the dependencies get satisfied by the fedora repos, and I automagically get all the 32 bit support libs I need.
On Sun, 2011-01-30 at 10:00 -0500, Jerry Feldman wrote:
I recently installed Oracle-XE using yum --nogpgcheck localinstall oracle...rpm. No problem except that I screwed up the configuration. My coworker told me that I should use rpm(8) because the installation manual specified it rather than yum(8). My question is that is there any specific advantage using yum(8) over rpm(8).
Your coworker is wrong. yum (Yellowdog Updater Modified ported from Yellowdog Linux for the PowerPC) is an intelligent front end for rpm (Red Hat Package Manager) that adds dependency resolution capabilities. They both use the rpm API and they install packages exactly the same way.
yum and rpm each have their strengths. Dependency resolution is yum's. Once in a great while you might encounter a dependency situation (usually caused by a packaging error) that confuses yum. In those cases rpm can be used to remove packages without bitching about dependencies.
--Doc Savage Fairview Heights, IL
On 01/30/2011 10:46 AM, Tom Horsley wrote:
On Sun, 30 Jan 2011 16:24:04 +0100
.
If I disable the adobe repo while installing the manually downloaded acroread rpm, the dependencies get satisfied by the fedora repos, and I automagically get all the 32 bit support libs I need.
Great tip .. thanks. (Course you don't get the updates that way unless you mirror adobe's repo locally and use that .. )
On Sun, 30 Jan 2011 11:19:16 -0500 Genes MailLists wrote:
Great tip .. thanks. (Course you don't get the updates that way unless you mirror adobe's repo locally and use that .. )
Actually, once I get it installed, it is usually safe to re-enable the repo since I now have the fedora versions of all the packages and I seem to only get the updates for things that are only available from adobe from the adobe repos. The 32 bit packages I got seem to get updated from the fedora repos OK. At least I haven't noticed any confusion so far.
On 01/30/2011 12:36 PM, Joe Zeff wrote:
Your cow-orker clearly doesn't know what he/she/it is talking about.
Have you dealt with Oracle support?
On 01/30/2011 10:52 AM, Ian Pilcher wrote:
On 01/30/2011 12:36 PM, Joe Zeff wrote:
Your cow-orker clearly doesn't know what he/she/it is talking about.
Have you dealt with Oracle support?
No, but I used to do tech support for an ISP at senior level. IMAO, most of the phone firewall had no idea what was going on and just grabbed cheat sheets at random.
On 01/30/2011 11:34 AM, Tom Horsley wrote:
On Sun, 30 Jan 2011 11:19:16 -0500 Genes MailLists wrote:
Great tip .. thanks. (Course you don't get the updates that way unless you mirror adobe's repo locally and use that .. )
Actually, once I get it installed, it is usually safe to re-enable the repo since I now have the fedora versions of all the packages and I seem to only get the updates for things that are only available from adobe from the adobe repos. The 32 bit packages I got seem to get updated from the fedora repos OK. At least I haven't noticed any confusion so far.
Yes that makes sense - probably they dont add new deps ... okidok
On 01/30/2011 11:00 AM, Robert G. (Doc) Savage wrote:
Your coworker is wrong. yum (Yellowdog Updater Modified ported from Yellowdog Linux for the PowerPC) is an intelligent front end for rpm (Red Hat Package Manager) that adds dependency resolution capabilities. They both use the rpm API and they install packages exactly the same way.
I certainly agree with you.
On 01/30/2011 01:36 PM, Joe Zeff wrote:
On 01/30/2011 07:37 AM, Jerry Feldman wrote:
The question was just for answering the criticism from my coworker that I should have used rpm(8) and not yum(8).
Your cow-orker clearly doesn't know what he/she/it is talking about.
I very well know.
On 01/30/2011 01:52 PM, Ian Pilcher wrote:
Have you dealt with Oracle support?
Don't need to for 2 reasons. The first is that my initial issue was most probably a cockpit error, and the second is I know several Oracle employees, a couple of whom were students in my class when I taught at Northeastern University.