-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install php-phplibsec #670
Labels
question
Usability question, not directly related to an error with the image
Comments
Specifying the $ docker run --rm -d --name php php:7.2-apache
$ docker exec -it php bash
root@0c2b13c53beb:/var/www/html# apt update && apt install -y php-common/stable php-seclib/stable
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '1:49' (Debian:9.4/stable [all]) for 'php-common'
Selected version '1.0.5-1' (Debian:9.4/stable [all]) for 'php-seclib'
The following additional packages will be installed:
psmisc
Suggested packages:
php-mcrypt php-gmp php-compat
The following NEW packages will be installed:
php-common php-seclib psmisc
0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.
Need to get 317 kB of archives.
After this operation, 1947 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 psmisc amd64 22.21-2.1+b2 [123 kB]
. . .
root@0c2b13c53beb:/var/www/html# apt search php-seclib
Sorting... Done
Full Text Search... Done
php-seclib/stable,now 1.0.5-1 all [installed]
implementations of an arbitrary-precision integer arithmetic library |
wglambert
added
the
question
Usability question, not directly related to an error with the image
label
Jun 18, 2018
Thank you very much @wglambert ! Do you know why if the image is based on the stable branch/distribution it needs to specify the branch/distribution in the apt command? |
That would be because of #542. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the following error running Osclass:
[Wed Jun 13 00:19:09.506823 2018] [php7:error] [pid 15] [client 172.18.0.2:51030] PHP Fatal error: Class ‘phpseclib\Crypt\Common\BlockCipher’ not found in /var/www/html/oc-includes/phpseclib/Crypt/Rijndael.php on line 66, referer: http://myosclass.reverse.com/
But even when the package is available for Debian Stretch https://packages.debian.org/stretch/php-phpseclib it can’t be installed:
In the web container (php:7.2.5-apache-stretch):
#aptitude install php-phpseclib
No candidate version found for php-phpseclib
Unable to apply some actions, aborting
Any advice?
More about the complete issue here https://forums.docker.com/t/php-7-2-5-apache-stretch-issue-with-php-phpseclib/52433
The text was updated successfully, but these errors were encountered: