Giter VIP home page Giter VIP logo

Comments (6)

matheweis avatar matheweis commented on September 27, 2024

TASK [webserver-content : install php5-fpm for admin interface] ****************
fatal: [192.168.1.136]: FAILED! => {"changed": false, "failed": true, "msg": "No package matching 'php5-fpm' is available"}

from connectbox-pi.

matheweis avatar matheweis commented on September 27, 2024
root@orangepizero:~# apt install php5-fpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-fpm' has no installation candidate

from connectbox-pi.

matheweis avatar matheweis commented on September 27, 2024

It looks like the package should exist in universe:
https://launchpad.net/ubuntu/xenial/armhf/php5-fpm/5.6.11+dfsg-1ubuntu3

from connectbox-pi.

matheweis avatar matheweis commented on September 27, 2024

Updating the cache does not fix the issue:

root@orangepizero:~# apt update
Hit:2 http://ports.ubuntu.com xenial InRelease                          
Hit:3 http://apt.armbian.com xenial InRelease                                                                     
Hit:4 http://ports.ubuntu.com xenial-security InRelease                                                           
Get:1 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease [166 kB]                             
Hit:5 http://ports.ubuntu.com xenial-updates InRelease                                  
Hit:6 http://ports.ubuntu.com xenial-backports InRelease                          
Fetched 166 kB in 3s (47.7 kB/s)                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
29 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@orangepizero:~# apt install php5-fpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-fpm' has no installation candidate


from connectbox-pi.

matheweis avatar matheweis commented on September 27, 2024

Not sure if this is an ideal fix, but adding wily repos does appear to work:

echo 'deb http://ports.ubuntu.com/ wily main restricted universe multiverse' > /etc/apt/sources.list.d/wily.list
root@orangepizero:~# apt update
Hit:1 http://ports.ubuntu.com xenial InRelease
Hit:3 http://apt.armbian.com xenial InRelease                           
Hit:4 http://ports.ubuntu.com xenial-security InRelease                 
Hit:5 http://ports.ubuntu.com xenial-updates InRelease
Hit:6 http://ports.ubuntu.com xenial-backports InRelease              
Hit:2 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease
Get:7 http://ports.ubuntu.com wily InRelease [218 kB]
Get:8 http://ports.ubuntu.com wily/main armhf Packages [1,387 kB]
Get:9 http://ports.ubuntu.com wily/main Translation-en [839 kB]                                                                  
Get:10 http://ports.ubuntu.com wily/restricted armhf Packages [7,572 B]                                                          
Get:11 http://ports.ubuntu.com wily/restricted Translation-en [4,296 B]                                                          
Get:12 http://ports.ubuntu.com wily/universe armhf Packages [6,582 kB]                                                           
Get:13 http://ports.ubuntu.com wily/universe Translation-en [4,579 kB]                                                           
Get:14 http://ports.ubuntu.com wily/multiverse armhf Packages [117 kB]                                                           
Get:15 http://ports.ubuntu.com wily/multiverse Translation-en [107 kB]                                                           
Fetched 13.8 MB in 45s (303 kB/s)                                                                                                
Reading package lists... Done
Building dependency tree        
Reading state information... Done
29 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@orangepizero:~# apt install php5-fpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dconf-gsettings-backend dconf-service dnsmasq-base glib-networking glib-networking-common glib-networking-services
  gsettings-desktop-schemas libbluetooth3 libdconf1 libgudev-1.0-0 libmm-glib0 libndp0 libnetfilter-conntrack3 libnm0
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libproxy1v5 libsoup2.4-1 policykit-1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  php5-cli php5-common php5-json
Suggested packages:
  php-pear php5-user-cache
Recommended packages:
  php5-readline
The following NEW packages will be installed:
  php5-cli php5-common php5-fpm php5-json
0 upgraded, 4 newly installed, 0 to remove and 29 not upgraded.
Need to get 4,493 kB of archives.
After this operation, 15.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]

from connectbox-pi.

matheweis avatar matheweis commented on September 27, 2024

This issue only occurs on Ubuntu xenial; the Debian jessie images work fine.

from connectbox-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.