> I have a new RHEL5.2 server which is behind a firewall and access to > outside world is extremely restricted. I did a yum download to another > server to get the necessary upgrade RPM packages, copied over the RPM > files and tried yum with localinstall option but that doesn't work > properly. > > Following is one example: > > ------------------------------ Start of example > --------------------------------------------- > # yum localupdate ecryptfs-utils-75-5.el5.x86_64.rpm > Loading "security" plugin > Loading "rhnplugin" plugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Local Package Process > Examining ecryptfs-utils-75-5.el5.x86_64.rpm: ecryptfs-utils - 75-5.el5.x86_64 > Marking ecryptfs-utils-75-5.el5.x86_64.rpm as an update to > ecryptfs-utils - 41-1.el5.i386 > Marking ecryptfs-utils-75-5.el5.x86_64.rpm as an update to > ecryptfs-utils - 41-1.el5.x86_64 > Resolving Dependencies > --> Running transaction check > ---> Package ecryptfs-utils.x86_64 0:75-5.el5 set to be updated > --> Finished Dependency Resolution > > Dependencies Resolved > > =============================================================================
> Package Arch Version Repository Size > ============================================================================= > Updating: > ecryptfs-utils x86_64 75-5.el5 > ecryptfs-utils-75-5.el5.x86_64.rpm 458 k > > Transaction Summary > ============================================================================= > Install 0 Package(s) > Update 1 Package(s) > Remove 0 Package(s) > > Total download size: 458 k > Is this ok [y/N]: y > Downloading Packages: > warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186 > > > Public key for ecryptfs-utils-75-5.el5.x86_64.rpm is not installed > --------------------------------------- end of example > ---------------------------------------- > > Any ideas what would be the best way to update the packages? The primary issue is that you don't have the key installed. Here are three ways to move from here 1: install the redhat key: `rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release` then try again This first way is the preference if you are installing proper redhat rpms. When you register to RHN or a satellite it tells you to do this. 2: use `yum --nogpgcheck localinstall <file>` (although for reference you can just use install now) This second way is if its from a different source that you don't have a GPG key for, although be careful when you are installing packages from untrusted sources! 3: use rpm -ivh or -Uvh instead This third just works for single rpms without a way or need to check dependancies. -greg _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
