patch installation issues
I have a RHEL 6.7 server that is stand-alone, and is not connected to the internet. I downloaded many patches today, burned them to a cd, and installed them manually. I used the rpm -ivh command. It seemed to start with warning user doesn't exist - using root, ###### - 100%, then it goes back to command prompt. I check the version using rpm -q and it's still at the previous version. I have looked on the customer portal, but I can't find anything. Still searching Google. Thanks.
Responses
Instead of rpm, use the yum update *.rpm, this commands also checks all the dependencies.
BTW, rpm -ivhinstall a new package, but rpm -Uvh updates an existing one. That's why the yum is preferred way to install/updates packages, as it handles this automatically.
Regarding the missing user, it is kind of weird, better if you could provide a more detailed error message.
Hi Zdenek,
rpm -ivh package.rpm installs. rpm -Uvh package.rpm installs or updates == yum install package.rpm rpm -Fvh package.rpm Freshens, so only updates an already installed package == yum update
both approaches will give the warning user does not exists, if the rpm does not contain a useradd command for a required user.
yum will not be able to resolve dependencies other then rpm on a standalone server without a local repository.
Regards, Jan Gerrit
package.src.rpm is not a normal rpm it is the source to build a binary rpm.
It is a burden without a repository. You will have to download all the dependencies one by one.
If you would have a server with the same Operating System that is internet facing, you could create your own repository server. Burn the repository to a CD or DVD and upgrade from the optical media.
If you wish I could describe this approach.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
