Update packages on very old ubuntu

Posted by meewoK on Server Fault See other posts from Server Fault or by meewoK
Published on 2013-10-31T20:18:35Z Indexed on 2013/10/31 21:58 UTC
Read the original article Hit count: 993

Filed under:
|
|

I want to add Mysqli support to a machine running:

Server Version: Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3

I would rather not update more things then I need to.

I run the following: sudo apt-get install php5-mysql

However, as the ubuntu version is old I get the following.

WARNING: The following packages cannot be authenticated!
  php5-cli php5-mysql php5-mhash php5-xsl php5-pspell php5-snmp php5-curl
  php5-xmlrpc php5-sqlite php5-gd libapache2-mod-php5 php5-common
Install these packages without verification [y/N]? Y
Err http://gr.archive.ubuntu.com gutsy-updates/main php5-cli 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-cli 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-mysql 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-mhash 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-xsl 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-pspell 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-snmp 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-curl 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-xmlrpc 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-sqlite 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-gd 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main libapache2-mod-php5 5.2.3-1ubuntu6.4
  404 Not Found
Err http://security.ubuntu.com gutsy-security/main php5-common 5.2.3-1ubuntu6.4
  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-mysql_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-mhash_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-xsl_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-pspell_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-snmp_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-curl_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-xmlrpc_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-sqlite_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.2.3-1ubuntu6.4_i386.deb  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Questions

  1. Can I add mysqli feature using another method instead of sudo-apt get?
  2. Even if successful can this break something on the system?

Update:

I have tried to add additional sources using the instructions from:

http://superuser.com/questions/339537/where-can-i-get-therepositories-for-old-ubuntu-versions

I have the following in the /etc/apt/sources.list file:

# deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

#deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://gr.archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://gr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gr.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://gr.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
#deb http://gr.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://gr.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://gr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://gr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

# Required
deb http://old-releases.ubuntu.com/ubuntu/gutsy main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/gutsy-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/gutsy-security main restricted universe multiverse

© Server Fault or respective owner

Related posts about ubuntu

Related posts about mysql