Never, never, use --force for this purpose. Dependency warnings are your
friend. Kindly re-install your OS or pay the price of having an improperly
configured machine!!

It can sometimes be a little tricky, but it's worth the effort to learn how
to use rpm  properly.

A couple of hints: try updating a few packagages at a time. If the package
complains about a dependency, figure out what package the module is in and
install this first. (You may have to learn I little bit about how to query
rpm database(s)).

Often you should use -F freshen instead of -U.

Sometimes it can be challenging, for example if two packages depend on each
other what do you do? Ans: put both package names as augments to the same
command:

rpm -Uvh package-A-that-depends-on-B.rpm package-B-that-depends-on-A.rpm

There are a lot of little tricks like this, but I have only learned enough
of them to get by. One of these days I'm going to buy that RPM book i've
seen at Borders.

Cheers!


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of James Pifer
Sent: Tuesday, January 15, 2002 10:21 AM
To: [EMAIL PROTECTED]
Subject: Upgrading RPM's


I ran a Nessus report on one of my servers running Redhat 7.0 and I'm
trying to upgrade a few things based on that report. One of those things is
upgrading OpenSSH from 2.5.x to 3.x. I'm fighting dependencies and it's
killing me.

I can't seem to upgrade any RPM's with the -U option. I have never seen
this work. Should it work? So I've been using -i --force. Most of the time
this works.

I've updated OpenSSL because OpenSSH required it. Now I'm trying to upgrade
glibc. When I try to do glibc-2.2.4-13 it says it fails dependencies for
glibc-devel. If I try to upgrade glibc-devel to 2.2.4-13 it say it needs
glibc-2.2.4-13. Isn't this a catch 22? How the heck should I be doing these
upgrades?

Also, Nessus reports that my sendmail server will allow relays, but I don't
think it does. How can I tell for sure?

Thanks,
James



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to