Alejandro Reyero
2005-Jan-18 21:12 UTC
[Centos] I'm gonna kill YUM (mailing list version ;-) )
Hi all. Most of you already know about my problems (well, my computer's problems ;-) ), since we've been discussing on the forum. Hughesjr recommended me to post here, so let's see, I have my faith on you. I have a dedicated server with RH9 that I upgraded to CentOS 3.4 . Everything ok, but after the first yum upgrade and reboot I get this when I try to do a yum update: yum update Gathering header information file(s) from server(s) Server: CentOS-Null - Addons Server: CentOS-Null - Base Server: CentOS-Null - Extras Server: CentOS-Null - Updates Finding updated packages Downloading needed headers Resolving dependencies ....Dependencies resolved I will do the following: [update: redhat-config-keyboard 1.1.4-1.noarch] [update: XFree86-xfs 4.3.0-78.EL.i386] [update: modutils 2.4.25-14.EL.i386] I will install/upgrade these to satisfy the dependencies: [deps: util-linux 2.11y-31.2.i386] [deps: libacl 2.2.3-1.i386] [deps: initscripts 7.31.18.EL-1.centos.0.i386] [deps: libtermcap 2.0.8-35.i386] [deps: libgcc 3.2.3-49.i386] [deps: cracklib 2.7-22.i386] [deps: termcap 11.0.1-17.1.noarch] [deps: gpm 1.19.3-27.2.i386] [deps: mingetty 1.06-1.i386] [deps: procps 2.0.17-13.i386] [deps: XFree86-libs-data 4.3.0-78.EL.i386] [deps: sed 4.0.7-3.i386] [deps: iproute 2.4.7-11.30E.1.i386] [deps: e2fsprogs 1.32-15.1.i386] [deps: grep 2.5.1-24.1.i386] [deps: words 2-21.noarch] [deps: sysklogd 1.4.1-12.3.i386] [deps: ethtool 1.8-3.3.i386] [deps: glib2 2.2.3-2.0.i386] [deps: chkconfig 1.3.11-0.3.i386] [deps: psmisc 21.3-1.RHEL.0.i386] [deps: findutils 1:4.1.7-9.i386] [deps: pam 0.75-62.i386] [deps: SysVinit 2.85-4.2.i386] [deps: rhpl 0.110.6-1.centos.0.i386] [deps: popt 1.8.2-10.i386] [deps: iputils 20020927-11.30.1.i386] [deps: net-tools 1.60-20E.1.i386] [deps: db4 4.1.25-8.i386] [deps: dev 3.3.12.3-1.centos.0.i386] [deps: zlib 1.1.4-8.1.i386] [deps: coreutils 4.5.3-26.i386] [deps: pyxf86config 0.3.5-1.i386] [deps: mktemp 1.5-18.i386] [deps: fontconfig 2.2.1-13.i386] [deps: shadow-utils 2:4.0.3-22.02.i386] [deps: setup 2.5.27-1.noarch] [deps: XFree86-Mesa-libGL 4.3.0-78.EL.i386] [deps: info 4.5-3.i386] [deps: ncurses 5.3-9.3.i386] [deps: glib 1:1.2.10-11.1.i386] [deps: libattr 2.2.0-1.i386] [deps: XFree86-libs 4.3.0-78.EL.i386] [deps: pcre 3.9-10.1.i386] [deps: cracklib-dicts 2.7-22.i386] [deps: expat 1.95.5-6.i386] [deps: bash 2.05b-29.0.3.centos.0.i386] [deps: XFree86-font-utils 4.3.0-78.EL.i386] [deps: freetype 2.1.4-4.0.i386] [deps: ttmkfdir 3.0.9-6.i386] Is this ok [y/N]: y Downloading Packages warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/addons/packages/util-linux-2.11y-31.2.i386.rpm Error: You may want to run yum clean or remove the file: /var/cache/yum/addons/packages/util-linux-2.11y-31.2.i386.rpm Error: You may also check that you have the correct GPG keys installed Do you notice the CentOS-Null ??? Well, the funny thing is that /etc/redhat-release exists and has this: # more /etc/redhat-release CentOS release 3.4 (final) So I though, ok, upgrade incompleted: # yum install centos-release Gathering header information file(s) from server(s) Server: CentOS-Null - Addons Server: CentOS-Null - Base Server: CentOS-Null - Extras Server: CentOS-Null - Updates Finding updated packages Downloading needed headers Resolving dependencies ...Dependencies resolved I will do the following: [install: centos-release 2:3-4.2.i386] I will install/upgrade these to satisfy the dependencies: [deps: libtermcap 2.0.8-35.i386] [deps: termcap 11.0.1-17.1.noarch] [deps: mktemp 1.5-18.i386] [deps: bash 2.05b-29.0.3.centos.0.i386] Is this ok [y/N]: y Downloading Packages warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/addons/packages/libtermcap-2.0.8-35.i386.rpm Error: You may want to run yum clean or remove the file: /var/cache/yum/addons/packages/libtermcap-2.0.8-35.i386.rpm Error: You may also check that you have the correct GPG keys installed I've added the keys 45234524 times: # gpg --list-public-keys /root/.gnupg/pubring.gpg ------------------------ pub 1024D/025E513B 2004-03-15 CentOS-3 Key < <mailto:centos-3key at caosity.org%3e> centos-3key at caosity.org> sub 2048g/EE899A92 2004-03-15 [expires: 2009-03-14] I've also deleted the keys, deleted /var/cache/yum ... I don't know what else to do My yum.conf: [main] exclude=httpd* mysql* php* perl* mod_* mod_ssl* spamassassin* cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported tolerant=1 exactarch=1 [base] name=CentOS-$releasever - Base baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ gpgcheck=1 #released updates [update] name=CentOS-$releasever - Updates baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ gpgcheck=1 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ gpgcheck=1 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ gpgcheck=1 I've also imported the Keys from HD ( the gpg -import + rpm -import thing ). Right now I've disabled GPG check, but it's not a great solution, you know... Thanks in advance and sorry for this BIG bandwidth-waster post. Alejandro. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050118/35188a3c/attachment-0003.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 377 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050118/35188a3c/attachment-0003.gif>
> Downloading Packages > warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b > Error: Could not find the GPG Key necessary to validate > pkg /var/cache/yum/addons/packages/libtermcap-2.0.8-35.i386.rpm > Error: You may want to run yum clean or remove the file: > /var/cache/yum/addons/packages/libtermcap-2.0.8-35.i386.rpm > Error: You may also check that you have the correct GPG keys installed > > > > > I've added the keys 45234524 times: > > # gpg --list-public-keys > > /root/.gnupg/pubring.gpg > ------------------------ > pub 1024D/025E513B 2004-03-15 CentOS-3 Key <centos-3key at caosity.org> > sub 2048g/EE899A92 2004-03-15 [expires: 2009-03-14] >you've added them to your public key ring - not to your rpmdb. rpm --import thekey that will make it work. -sv
Peter Farrow
2005-Jan-18 23:03 UTC
[Centos] I'm gonna kill YUM (mailing list version ;-) )
kill the gpgcheck in the yum.conf file when you see this gpgcheck=1 change it to this gpgcheck=0 in yum.conf. Alejandro Reyero wrote:> > > Hi all. > > > > Most of you already know about my problems (well, my computer's > problems ;-) ), since we've been discussing on the forum. Hughesjr > recommended me to post here, so let's see, I have my faith on you... > > > > I have a dedicated server with RH9 that I upgraded to CentOS 3.4 . > Everything ok, but after the first yum upgrade and reboot I get this > when I try to do a yum update: > > yum update > Gathering header information file(s) from server(s) > Server: CentOS-Null - Addons > Server: CentOS-Null - Base > Server: CentOS-Null - Extras > Server: CentOS-Null - Updates > Finding updated packages > Downloading needed headers > Resolving dependencies > ....Dependencies resolved > I will do the following: > [update: redhat-config-keyboard 1.1.4-1.noarch] > [update: XFree86-xfs 4.3.0-78.EL.i386] > [update: modutils 2.4.25-14.EL.i386] > I will install/upgrade these to satisfy the dependencies: > [deps: util-linux 2.11y-31.2.i386] > [deps: libacl 2.2.3-1.i386] > [deps: initscripts 7.31.18.EL-1.centos.0.i386] > [deps: libtermcap 2.0.8-35.i386] > [deps: libgcc 3.2.3-49.i386] > [deps: cracklib 2.7-22.i386] > [deps: termcap 11.0.1-17.1.noarch] > [deps: gpm 1.19.3-27.2.i386] > [deps: mingetty 1.06-1.i386] > [deps: procps 2.0.17-13.i386] > [deps: XFree86-libs-data 4.3.0-78.EL.i386] > [deps: sed 4.0.7-3.i386] > [deps: iproute 2.4.7-11.30E.1.i386] > [deps: e2fsprogs 1.32-15.1.i386] > [deps: grep 2.5.1-24.1.i386] > [deps: words 2-21.noarch] > [deps: sysklogd 1.4.1-12.3.i386] > [deps: ethtool 1.8-3.3.i386] > [deps: glib2 2.2.3-2.0.i386] > [deps: chkconfig 1.3.11-0.3.i386] > [deps: psmisc 21.3-1.RHEL.0.i386] > [deps: findutils 1:4.1.7-9.i386] > [deps: pam 0.75-62.i386] > [deps: SysVinit 2.85-4.2.i386] > [deps: rhpl 0.110.6-1.centos.0.i386] > [deps: popt 1.8.2-10.i386] > [deps: iputils 20020927-11.30.1.i386] > [deps: net-tools 1.60-20E.1.i386] > [deps: db4 4.1.25-8.i386] > [deps: dev 3.3.12.3-1.centos.0.i386] > [deps: zlib 1.1.4-8.1.i386] > [deps: coreutils 4.5.3-26.i386] > [deps: pyxf86config 0.3.5-1.i386] > [deps: mktemp 1.5-18.i386] > [deps: fontconfig 2.2.1-13.i386] > [deps: shadow-utils 2:4.0.3-22.02.i386] > [deps: setup 2.5.27-1.noarch] > [deps: XFree86-Mesa-libGL 4.3.0-78.EL.i386] > [deps: info 4.5-3.i386] > [deps: ncurses 5.3-9.3.i386] > [deps: glib 1:1.2.10-11.1.i386] > [deps: libattr 2.2.0-1.i386] > [deps: XFree86-libs 4.3.0-78.EL.i386] > [deps: pcre 3.9-10.1.i386] > [deps: cracklib-dicts 2.7-22.i386] > [deps: expat 1.95.5-6.i386] > [deps: bash 2.05b-29.0.3.centos.0.i386] > [deps: XFree86-font-utils 4.3.0-78.EL.i386] > [deps: freetype 2.1.4-4.0.i386] > [deps: ttmkfdir 3.0.9-6.i386] > Is this ok [y/N]: y > Downloading Packages > warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b > Error: Could not find the GPG Key necessary to validate pkg > /var/cache/yum/addons/packages/util-linux-2.11y-31.2.i386.rpm > Error: You may want to run yum clean or remove the file: > /var/cache/yum/addons/packages/util-linux-2.11y-31.2.i386.rpm > Error: You may also check that you have the correct GPG keys installed > > > > Do you notice the CentOS-Null ??? Well, the funny thing is that > /etc/redhat-release exists and has this: > > # more /etc/redhat-release > CentOS release 3.4 (final) > > > So I though, ok, upgrade incompleted: > > # yum install centos-release > > Gathering header information file(s) from server(s) > Server: CentOS-Null - Addons > Server: CentOS-Null - Base > Server: CentOS-Null - Extras > Server: CentOS-Null - Updates > Finding updated packages > Downloading needed headers > Resolving dependencies > ...Dependencies resolved > I will do the following: > [install: centos-release 2:3-4.2.i386] > I will install/upgrade these to satisfy the dependencies: > [deps: libtermcap 2.0.8-35.i386] > [deps: termcap 11.0.1-17.1.noarch] > [deps: mktemp 1.5-18.i386] > [deps: bash 2.05b-29.0.3.centos.0.i386] > Is this ok [y/N]: y > Downloading Packages > warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b > Error: Could not find the GPG Key necessary to validate pkg > /var/cache/yum/addons/packages/libtermcap-2.0.8-35.i386.rpm > Error: You may want to run yum clean or remove the file: > /var/cache/yum/addons/packages/libtermcap-2.0.8-35.i386.rpm > Error: You may also check that you have the correct GPG keys installed > > > > > I've added the keys 45234524 times: > > # gpg --list-public-keys > > /root/.gnupg/pubring.gpg > ------------------------ > pub 1024D/025E513B 2004-03-15 CentOS-3 Key <centos-3key at caosity.org> > <mailto:centos-3key at caosity.org%3e> > sub 2048g/EE899A92 2004-03-15 [expires: 2009-03-14] > > > > I've also deleted the keys, deleted /var/cache/yum ... I don't know > what else to do > > My yum.conf: > > [main] > exclude=httpd* mysql* php* perl* mod_* mod_ssl* spamassassin* > cachedir=/var/cache/yum > debuglevel=2 > logfile=/var/log/yum.log > pkgpolicy=newest > distroverpkg=redhat-release > installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise > kernel-debug kernel-unsupported kernel-smp-unsupported > kernel-hugemem-unsupported > tolerant=1 > exactarch=1 > > [base] > name=CentOS-$releasever - Base > baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ > gpgcheck=1 > > #released updates > [update] > name=CentOS-$releasever - Updates > baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ > gpgcheck=1 > > #packages used/produced in the build but not released > [addons] > name=CentOS-$releasever - Addons > baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ > gpgcheck=1 > > #additional packages that may be useful > [extras] > name=CentOS-$releasever - Extras > baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/ > gpgcheck=1 > > > > > > I've also imported the Keys from HD ( the gpg -import + rpm -import > thing ). > > Right now I've disabled GPG check, but it's not a great solution, you > know... > > > > Thanks in advance and sorry for this BIG bandwidth-waster post. > > > > Alejandro. > >------------------------------------------------------------------------ > >_______________________________________________ >CentOS mailing list >CentOS at caosity.org >http://lists.caosity.org/mailman/listinfo/centos > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050118/5f92f16c/attachment-0003.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 377 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050118/5f92f16c/attachment-0003.gif>
Alejandro Reyero
2005-Jan-19 20:33 UTC
[Centos] Re: I'm gonna kill YUM (mailing list version ;-) )
> you've added them to your public key ring - not to your rpmdb.> rpm --import thekey> that will make it work.> -svI've done that and I get the same error and the same list publick keys: pub 1024D/025E513B 2004-03-15 CentOS-3 Key <centos-3key at caosity.org> sub 2048g/EE899A92 2004-03-15 [expires: 2009-03-14] Should I see something different ??? Can any one tell me step by step how to delete ALL keys from EVERYWHERE (rpm, gpg.) and re-add them ?? Maybe I'm missing something. Thanks!! Alejandro. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050119/67b6dc4f/attachment-0003.html>
seth vidal
2005-Jan-19 20:35 UTC
[Centos] Re: I'm gonna kill YUM (mailing list version ;-) )
> > > I?ve done that and I get the same error and the same list publick > keys: > > > > pub 1024D/025E513B 2004-03-15 CentOS-3 Key <centos-3key at caosity.org> > > sub 2048g/EE899A92 2004-03-15 [expires: 2009-03-14] > > > > Should I see something different ??? > > > > Can any one tell me step by step how to delete ALL keys from > EVERYWHERE (rpm, gpg?) and re-add them ?? Maybe I?m missing something. >rpm -e --all-matches gpg-pubkey -sv
Michael Best
2005-Jan-19 20:37 UTC
[Centos] Re: I'm gonna kill YUM (mailing list version ;-) )
Alejandro Reyero wrote:> Can any one tell me step by step how to delete ALL keys from EVERYWHERE > (rpm, gpg?) and re-add them ?? Maybe I?m missing something.$ man rpm <...> For example, all currently imported public keys can be displayed by: rpm -qa gpg-pubkey* <...> Finally, public keys can be erased after importing just like packages. Here?s how to remove the Red Hat GPG/DSA key rpm -e gpg-pubkey-db42a60e <...> -Mike
Martin Hamant
2005-Jan-20 08:14 UTC
[Centos] I'm gonna kill YUM (mailing list version ;-) )
On Tue, 18 Jan 2005 23:03:23 +0000 Peter Farrow <peter at farrows.org> disait:> kill the gpgcheck in the yum.conf file > > when you see this > > gpgcheck=1 > > change it to this > > gpgcheck=0 > > in yum.conf. >Why ? The problem is just about a "rpm --import" :) -- Martin