Ubuntu 18.04 - LXD Install Errors #744

Closed
opened 2026-02-04 22:08:07 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @X1Aaron on GitHub (Jul 11, 2018).

I am trying to install on a Fresh 18.04 installation, on a fresh LXD container.

ubuntu@bookstack:~$ sudo ./installation-ubuntu-18.04.sh

Enter the domain you want to host BookStack and press [ENTER]
Examples: my-site.com or docs.my-site.com
bookstack.domain.com
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.2-fpm
E: Couldn't find any package by glob 'php7.2-fpm'
E: Couldn't find any package by regex 'php7.2-fpm'
E: Unable to locate package php7.2-curl
E: Couldn't find any package by glob 'php7.2-curl'
E: Couldn't find any package by regex 'php7.2-curl'
E: Unable to locate package php7.2-mbstring
E: Couldn't find any package by glob 'php7.2-mbstring'
E: Couldn't find any package by regex 'php7.2-mbstring'
E: Unable to locate package php7.2-ldap
E: Couldn't find any package by glob 'php7.2-ldap'
E: Couldn't find any package by regex 'php7.2-ldap'
E: Unable to locate package php7.2-tidy
E: Couldn't find any package by glob 'php7.2-tidy'
E: Couldn't find any package by regex 'php7.2-tidy'
E: Unable to locate package php7.2-xml
E: Couldn't find any package by glob 'php7.2-xml'
E: Couldn't find any package by regex 'php7.2-xml'
E: Unable to locate package php7.2-zip
E: Couldn't find any package by glob 'php7.2-zip'
E: Couldn't find any package by regex 'php7.2-zip'
E: Unable to locate package php7.2-gd
E: Couldn't find any package by glob 'php7.2-gd'
E: Couldn't find any package by regex 'php7.2-gd'
E: Unable to locate package php7.2-mysql
E: Couldn't find any package by glob 'php7.2-mysql'
E: Couldn't find any package by regex 'php7.2-mysql'
E: Unable to locate package libapache2-mod-php7.2
E: Couldn't find any package by glob 'libapache2-mod-php7.2'
E: Couldn't find any package by regex 'libapache2-mod-php7.2'
./installation-ubuntu-18.04.sh: 18: ./installation-ubuntu-18.04.sh: mysql: not found
./installation-ubuntu-18.04.sh: 19: ./installation-ubuntu-18.04.sh: mysql: not found
./installation-ubuntu-18.04.sh: 20: ./installation-ubuntu-18.04.sh: mysql: not found
./installation-ubuntu-18.04.sh: 23: cd: can't cd to /var/www
fatal: destination path 'bookstack' already exists and is not an empty directory.
./installation-ubuntu-18.04.sh: 26: cd: can't cd to /var/www/bookstack
./installation-ubuntu-18.04.sh: 31: ./installation-ubuntu-18.04.sh: php: not found
ERROR: Invalid composer installer signature
ubuntu@bookstack:~$
Originally created by @X1Aaron on GitHub (Jul 11, 2018). I am trying to install on a Fresh 18.04 installation, on a fresh LXD container. ``` ubuntu@bookstack:~$ sudo ./installation-ubuntu-18.04.sh Enter the domain you want to host BookStack and press [ENTER] Examples: my-site.com or docs.my-site.com bookstack.domain.com Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.2-fpm E: Couldn't find any package by glob 'php7.2-fpm' E: Couldn't find any package by regex 'php7.2-fpm' E: Unable to locate package php7.2-curl E: Couldn't find any package by glob 'php7.2-curl' E: Couldn't find any package by regex 'php7.2-curl' E: Unable to locate package php7.2-mbstring E: Couldn't find any package by glob 'php7.2-mbstring' E: Couldn't find any package by regex 'php7.2-mbstring' E: Unable to locate package php7.2-ldap E: Couldn't find any package by glob 'php7.2-ldap' E: Couldn't find any package by regex 'php7.2-ldap' E: Unable to locate package php7.2-tidy E: Couldn't find any package by glob 'php7.2-tidy' E: Couldn't find any package by regex 'php7.2-tidy' E: Unable to locate package php7.2-xml E: Couldn't find any package by glob 'php7.2-xml' E: Couldn't find any package by regex 'php7.2-xml' E: Unable to locate package php7.2-zip E: Couldn't find any package by glob 'php7.2-zip' E: Couldn't find any package by regex 'php7.2-zip' E: Unable to locate package php7.2-gd E: Couldn't find any package by glob 'php7.2-gd' E: Couldn't find any package by regex 'php7.2-gd' E: Unable to locate package php7.2-mysql E: Couldn't find any package by glob 'php7.2-mysql' E: Couldn't find any package by regex 'php7.2-mysql' E: Unable to locate package libapache2-mod-php7.2 E: Couldn't find any package by glob 'libapache2-mod-php7.2' E: Couldn't find any package by regex 'libapache2-mod-php7.2' ./installation-ubuntu-18.04.sh: 18: ./installation-ubuntu-18.04.sh: mysql: not found ./installation-ubuntu-18.04.sh: 19: ./installation-ubuntu-18.04.sh: mysql: not found ./installation-ubuntu-18.04.sh: 20: ./installation-ubuntu-18.04.sh: mysql: not found ./installation-ubuntu-18.04.sh: 23: cd: can't cd to /var/www fatal: destination path 'bookstack' already exists and is not an empty directory. ./installation-ubuntu-18.04.sh: 26: cd: can't cd to /var/www/bookstack ./installation-ubuntu-18.04.sh: 31: ./installation-ubuntu-18.04.sh: php: not found ERROR: Invalid composer installer signature ubuntu@bookstack:~$ ```
Author
Owner

@X1Aaron commented on GitHub (Jul 11, 2018):

Ubuntu 18.04 by default uses Ubuntu 16.04 containers :-/

@X1Aaron commented on GitHub (Jul 11, 2018): Ubuntu 18.04 by default uses Ubuntu 16.04 containers :-/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#744