Thread: yum repo problem
i have an older CentOS 4.8 server that is running 8.4.2 and wanted to update it. it was installed via the older yum repo pre the reorgs... # rpm -qa |grep postgres postgresql-server-8.4.2-1PGDG.rhel4 postgresql-jdbc-8.3.605-1PGDG.rhel4 postgresql-libs-8.4.2-1PGDG.rhel4 postgresql-8.4.2-1PGDG.rhel4 compat-postgresql-libs-4-1PGDG.rhel4 postgresql-contrib-8.4.2-1PGDG.rhel4 I fetch the updated yum.pgrpms.org repo file, but when I try and update postgresql-server, I'm getting... # rpm -ivh http://yum.pgrpms.org/reporpms/8.4/pgdg-centos-8.4-2.noarch.rpm .... # yum update postgresql-server Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package postgresql-server.i386 0:8.4.4-2PGDG.el4 set to be updated --> Running transaction check --> Processing Dependency: postgresql = 8.4.4-2PGDG.el4 for package: postgresql-server --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package postgresql.i386 0:8.4.4-2PGDG.el4 set to be updated --> Running transaction check --> Processing Dependency: postgresql-libs = 8.4.4-2PGDG.el4 for package: postgresql --> Processing Dependency: postgresql = 8.4.2 for package: postgresql-contrib --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package postgresql-libs.i386 0:8.4.4-2PGDG.el4 set to be updated ---> Package postgresql-contrib.i386 0:8.4.4-2PGDG.el4 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Updating: postgresql-server i386 8.4.4-2PGDG.el4 pgdg84 4.5 M Updating for dependencies: postgresql i386 8.4.4-2PGDG.el4 pgdg84 1.3 M postgresql-contrib i386 8.4.4-2PGDG.el4 pgdg84 376 k postgresql-libs i386 8.4.4-2PGDG.el4 pgdg84 179 k Transaction Summary ============================================================================= Install 0 Package(s) Update 4 Package(s) Remove 0 Package(s) Total download size: 6.4 M Is this ok [y/N]: y Downloading Packages: warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID e8e345b8 Public key for postgresql-8.4.4-2PGDG.el4.i386.rpm is not installed Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG (0x442DF0F8) is already installed The GPG keys listed for the "PostgreSQL 8.4 4 - i386" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository. # more /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.7 (GNU/Linux) mQGiBEeD8koRBACC1VBRsUwGr9gxFFRho9kZpdRUjBJoPhkeOTvp9LzkdAQMFngr BFi6N0ov1kCX7LLwBmDG+JPR7N+XcH9YR1coSHpLVg+JNy2kFDd4zAyWxJafjZ3a 9zFg9Yx+0va1BJ2t4zVcmKS4aOfbgQ5KwIOWUujalQW5Y+Fw39Gn86qjbwCg5dIo tkM0l19h2sx50D027pV5aPsD/2c9pfcFTbMhB0CcKS836GH1qY+NCAdUwPs646ee Ex/k9Uy4qMwhl3HuCGGGa+N6Plyon7V0TzZuRGp/1742dE8IO+I/KLy2L1d1Fxrn XOTBZd8qe6nBwh12OMcKrsPBVBxn+iSkaG3ULsgOtx+HHLfa1/p22L5+GzGdxizr peBuA/90cCp+lYcEwdYaRoFVR501yDOTmmzBc1DrsyWP79QMEGzMqa393G0VnqXt L4pGmunq66Agw2EhPcIt3pDYiCmEt/obdVtSJH6BtmSDB/zYhbE8u3vLP3jfFDa9 KXxgtYj0NvuUVoRmxSKm8jtfmj1L7zoKNz3jl+Ba3L0WxIv4+bRBUG9zdGdyZVNR TCBSUE0gQnVpbGRpbmcgUHJvamVjdCA8cGdzcWxycG1zLWhhY2tlcnNAcGdmb3Vu ZHJ5Lm9yZz6IYAQTEQIAIAUCR4PySgIbIwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA AAoJEB8W0uFELfD4jnkAoMqd6ZwwsgYHZ3hP9vt+DJt1uDW7AKDbRwP8ESKFhwdJ 8m91RPBeJW/tMLkCDQRHg/JKEAgA64+ZXgcERPYfZYo4p+yMTJAAa9aqnE3U4Ni6 ZMB57GPuEy8NfbNya+HiftO8hoozmJdcI6XFyRBCDUVCdZ8SE+PJdOx2FFqZVIu6 dKnr8ykhgLpNNEFDG3boK9UfLj/5lYQ3Y550Iym1QKOgyrJYeAp6sZ+Nx2PavsP3 nMFCSD67BqAbcLCVQN7a2dAUXfEbfXJjPHXTbo1/kxtzE+KCRTLdXEbSEe3nHO04 K/EgTBjeBUOxnciH5RylJ2oGy/v4xr9ed7R1jJtshsDKMdWApwoLlCBJ63jg/4T/ z/OtXmu4AvmWaJxaTl7fPf2GqSqqb6jLCrQAH7AIhXr9V0zPZwADBQgAlpptNQHl u7euIdIujFwwcxyQGfee6BG+3zaNSEHMVQMuc6bxuvYmgM9r7aki/b0YMfjJBk8v OJ3Eh1vDH/woJi2iJ13vQ21ot+1JP3fMd6NPR8/qEeDnmVXu7QAtlkmSKI9Rdnjz FFSUJrQPHnKsH4V4uvAM+njwYD+VFiwlBPTKNeL8cdBb4tPN2cdVJzoAp57wkZAN VA2tKxNsTJKBi8wukaLWX8+yPHiWCNWItvyB4WCEp/rZKG4A868NM5sZQMAabpLd l4fTiGu68OYgK9qUPZvhEAL2C1jPDVHPkLm+ZsD+90Pe66w9vB00cxXuHLzm8Pad GaCXCY8h3xi6VIhJBBgRAgAJBQJHg/JKAhsMAAoJEB8W0uFELfD4K4cAoJ4yug8y 1U0cZEiF5W25HDzMTtaDAKCaM1m3Cbd+AZ0NGWNg/VvIX9MsPA== =au6K -----END PGP PUBLIC KEY BLOCK----- so where do I go from here??!?
On 02/01/11 12:07 PM, John R Pierce wrote: > ....warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID e8e345b8 > Public key for postgresql-8.4.4-2PGDG.el4.i386.rpm is not installed > Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG > GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG (0x442DF0F8) is > already installed > ... k, I did a yum clean all and its working now. odd. before it was trying to install... postgresql-server i386 8.4.4-2PGDG.el4 pgdg84 and now its installed... postgresql-server i386 8.4.6-1PGDG.rhel4 pgdg84 not sure i understand, but not sure it matters, problem solved.
On Tue, 2011-02-01 at 12:25 -0800, John R Pierce wrote: > k, I did a yum clean all and its working now. > > odd. before it was trying to install... > postgresql-server i386 8.4.4-2PGDG.el4 pgdg84 > > and now its installed... > postgresql-server i386 8.4.6-1PGDG.rhel4 pgdg84 > > > not sure i understand, but not sure it matters, problem solved. I have seen similar issues with old versions of yum, like you are using now :( Glad that it is solved now. -- Devrim GÜNDÜZ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz