Installing PHP4 on a Debian (lenny) 7 32bit box

Posted by Asim on Server Fault See other posts from Server Fault or by Asim
Published on 2013-10-22T15:05:42Z Indexed on 2013/10/22 15:56 UTC
Read the original article Hit count: 780

Filed under:
|
|

I am trying to install PHP4 on a Debian 7 32bit box but I ran into the following

 root@php4:~# apt-get update
 Get:1 http://snapshot.debian.org lenny Release.gpg [189 B]
 Hit http://snapshot.debian.org lenny Release
 Ign http://snapshot.debian.org lenny Release
 Hit http://snapshot.debian.org lenny/main Sources/DiffIndex
 Hit http://snapshot.debian.org lenny/main i386 Packages/DiffIndex
 Hit http://ftp.us.debian.org wheezy Release.gpg
 Hit http://security.debian.org wheezy/updates Release.gpg
 Ign http://snapshot.debian.org lenny/main Translation-en_US
 Ign http://snapshot.debian.org lenny/main Translation-en
 Hit http://ftp.us.debian.org wheezy Release
 Hit http://security.debian.org wheezy/updates Release
 Hit http://ftp.us.debian.org wheezy/main i386 Packages
 Hit http://ftp.us.debian.org wheezy/main Translation-en
 Hit http://security.debian.org wheezy/updates/main i386 Packages
 Hit http://security.debian.org wheezy/updates/main Translation-en
 Fetched 189 B in 0s (229 B/s)
 Reading package lists... Done
 W: GPG error: http://snapshot.debian.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1

I did the following to fix it

 gpg --keyserver hkp://subkeys.pgp.net --recv-keys A70DAF536070D3A1
 gpg --export --armor A70DAF536070D3A1 | sudo apt-key add -

Now I get the following KEYEXPIRED error and unsure how to fix. Even Google does not help

 root@php4:~# apt-get update
 Get:1 http://snapshot.debian.org lenny Release.gpg [189 B]
 Hit http://snapshot.debian.org lenny Release
 Ign http://snapshot.debian.org lenny Release
 Hit http://snapshot.debian.org lenny/main Sources/DiffIndex
 Hit http://security.debian.org wheezy/updates Release.gpg
 Hit http://snapshot.debian.org lenny/main i386 Packages/DiffIndex
 Hit http://ftp.us.debian.org wheezy Release.gpg
 Hit http://security.debian.org wheezy/updates Release
 Ign http://snapshot.debian.org lenny/main Translation-en_US
 Hit http://ftp.us.debian.org wheezy Release
 Hit http://security.debian.org wheezy/updates/main i386 Packages
 Ign http://snapshot.debian.org lenny/main Translation-en
 Hit http://ftp.us.debian.org wheezy/main i386 Packages
 Hit http://security.debian.org wheezy/updates/main Translation-en
 Hit http://ftp.us.debian.org wheezy/main Translation-en
 Fetched 189 B in 0s (275 B/s)
 Reading package lists... Done
 W: GPG error: http://snapshot.debian.org lenny Release: The following signatures were invalid: KEYEXPIRED 1246455239

Any help?

© Server Fault or respective owner

Related posts about debian

Related posts about debian-lenny