Unable to locate package php7.3-redis

Asked by Freddy Vaca

Hi
Has the extension been moved from the repo, I tried to install it (php7.3-redis) but it seems it not there anymore as this is the output I get:

sudo apt -y install php7.3-redis
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.3-redis
E: Couldn't find any package by glob 'php7.3-redis'
E: Couldn't find any package by regex 'php7.3-redis'

OS: Ubuntu 16.04.6 LTS

Here is my apt list:

/etc/apt/sources.list:## Note, this file is written by cloud-init on first boot of an instance
/etc/apt/sources.list:## modifications made here will not survive a re-bundle.
/etc/apt/sources.list:## if you wish to make changes you can:
/etc/apt/sources.list:## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
/etc/apt/sources.list:## or do the same in user-data
/etc/apt/sources.list:## b.) add sources in /etc/apt/sources.list.d
/etc/apt/sources.list:## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
/etc/apt/sources.list:
/etc/apt/sources.list:# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
/etc/apt/sources.list:# newer versions of the distribution.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## Major bug fix updates produced after the final release of the
/etc/apt/sources.list:## distribution.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team. Also, please note that software in universe WILL NOT receive any
/etc/apt/sources.list:## review or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team, and may not be under a free licence. Please satisfy yourself as to
/etc/apt/sources.list:## your rights to use the software. Also, please note that software in
/etc/apt/sources.list:## multiverse WILL NOT receive any review or updates from the Ubuntu
/etc/apt/sources.list:## security team.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository may not have been tested as
/etc/apt/sources.list:## extensively as that contained in the main release, although it includes
/etc/apt/sources.list:## newer versions of some applications which may provide useful features.
/etc/apt/sources.list:## Also, please note that software in backports WILL NOT receive any review
/etc/apt/sources.list:## or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## Uncomment the following two lines to add software from Canonical's
/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:## This software is not part of Ubuntu, but is offered by Canonical and the
/etc/apt/sources.list:## respective vendors as a service to Ubuntu users.
/etc/apt/sources.list:# deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:# deb-src http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save:deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/PostgreSQL.list:deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
/etc/apt/sources.list.d/PostgreSQL.list.save:deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
/etc/apt/sources.list:## Note, this file is written by cloud-init on first boot of an instance
/etc/apt/sources.list:## modifications made here will not survive a re-bundle.
/etc/apt/sources.list:## if you wish to make changes you can:
/etc/apt/sources.list:## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
/etc/apt/sources.list:## or do the same in user-data
/etc/apt/sources.list:## b.) add sources in /etc/apt/sources.list.d
/etc/apt/sources.list:## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
/etc/apt/sources.list:
/etc/apt/sources.list:# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
/etc/apt/sources.list:# newer versions of the distribution.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## Major bug fix updates produced after the final release of the
/etc/apt/sources.list:## distribution.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team. Also, please note that software in universe WILL NOT receive any
/etc/apt/sources.list:## review or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team, and may not be under a free licence. Please satisfy yourself as to
/etc/apt/sources.list:## your rights to use the software. Also, please note that software in
/etc/apt/sources.list:## multiverse WILL NOT receive any review or updates from the Ubuntu
/etc/apt/sources.list:## security team.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository may not have been tested as
/etc/apt/sources.list:## extensively as that contained in the main release, although it includes
/etc/apt/sources.list:## newer versions of some applications which may provide useful features.
/etc/apt/sources.list:## Also, please note that software in backports WILL NOT receive any review
/etc/apt/sources.list:## or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:# deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## Uncomment the following two lines to add software from Canonical's
/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:## This software is not part of Ubuntu, but is offered by Canonical and the
/etc/apt/sources.list:## respective vendors as a service to Ubuntu users.
/etc/apt/sources.list:# deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:# deb-src http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save:deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list.save:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
/etc/apt/sources.list.d/PostgreSQL.list:deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
/etc/apt/sources.list.d/PostgreSQL.list.save:deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ali Mirjamali (alimirjamali) said :
#1

Hello

Ubuntu 16.04 was released in April 2016. Official support for Ubuntu 16.04 has ended at the end of April 2021. Official support for php7.3-redis on this version has ended. Please kindly consider updating to a newer Ubuntu version.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

1. This question has nothing to do with Launchpad hosting services, but (most probably) with Ubuntu, so I am moving this question there.

2. I am not aware that there is (or was) a package php7.3-redis in the official Ubuntu repositories.
Maybe there was a package php7.3-redis for Ubuntu xenial in ppa:ondrej/php but (if it has existed) has already been removed. ("This PPA currently publishes packages for Hirsute, Groovy, Focal, and Bionic.")
In any case for questions about software in PPAs you have to contact the provider of the PPA.

As already written by Ali Mirjamali you should upgrade to a newer Ubuntu release.

Can you help with this problem?

Provide an answer of your own, or ask Freddy Vaca for more information if necessary.

To post a message you must log in.