FOG v1.54 erroring on Ubuntu Server 18.04 LTS
-
@dbrilliant Please post the contents of /etc/apt/sources.list
There was an issue with Ubuntu 18.04 that I fixed in the working branch. See my comments here: https://github.com/FOGProject/fogproject/issues/258
-
Here’s my output from FOG -installfog.log:
Version: 1.5.4 Installer/Updater What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [2] Starting Debian based Installation *** Detected a potential need to reinstall apache and php files. *** This will remove the /etc/php* and /etc/apache2* directories *** and remove/purge the apache and php files from this system. *** If you're okay with this please type Y, anything else will *** continue the installation, but may mean you will need to *** remove the files later and make proper changes as *** necessary. (Y/N): * Removing apache and php files...............................Done * Stopping web services.......................................Failed * Removing the apache and php packages........................Done * Resetting our variables to specify php version 7.1..........Done FOG Server installation modes: * Normal Server: (Choice N) This is the typical installation type and will install all FOG components for you on this machine. Pick this option if you are unsure what to pick. * Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group More information: http://www.fogproject.org/wiki/index.php?title=InstallationModes What type of installation would you like to do? [N/s (Normal/Storage)] What is the IP address to be used by this FOG Server? [192.168.7.150] Would you like to change the default network interface from ? If you are not sure, select No. [y/N] What network interface would you like to use? ../lib/common/functions.sh: line 149: /8: sy$ Would you like to setup a router address for the DHCP server? [Y/n] Would you like DHCP to handle DNS? [Y/n] What DNS address should DHCP allow? [127.0.0.53] Would you like to use the FOG server for DHCP service? [y/N] This version of FOG has internationalization support, would
-
-
Here are the settings FOG will use:
-
Base Linux: Debian
-
Detected Linux Distribution: Ubuntu
-
Server IP Address: 192.168.2.1
-
Server Subnet Mask: Error: g is not recognized
-
Interface: eno1
-
Installation Type: Normal Server
-
Internationalization: 0
-
Image Storage Location: /images
-
Using FOG DHCP: Yes
-
DHCP router Address:
-
Are you sure you wish to continue (Y/N)
-
Installation Started
-
Installing required packages, if this fails
| make sure you have an active internet connection. -
Adding needed repository…OK
-
Preparing Package Manager…OK
-
Packages to be installed:
-
-
@dbrilliant Ubuntu 18.04 desktop or server? My daily tests use the server edition.
-
GNU nano 2.9.3 foginstall.log * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Server IP Address: 192.168.2.1 * Server Subnet Mask: Error: g is not recognized * Interface: eno1 * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: Yes * DHCP router Address: * Are you sure you wish to continue (Y/N) * Installation Started * Installing required packages, if this fails | make sure you have an active internet connection. * Adding needed repository....................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isc-dhcp-server isolinux lftp libapache2-mod-php7.$ * Installing package: apache2.................................OK * Skipping package: bc......................................(Already Installed) * Installing package: build-essential.........................OK * Skipping package: cpp.....................................(Already Installed) * Skipping package: curl....................................(Already Installed) * Skipping package: g++.....................................(Already Installed) * Skipping package: gawk....................................(Already Installed) * Skipping package: gcc.....................................(Already Installed) * Skipping package: genisoimage.............................(Already Installed) * Skipping package: gzip....................................(Already Installed) * Skipping package: htmldoc...................................(Does not exist) * Installing package: isc-dhcp-server.........................OK * Installing package: isolinux................................OK * Installing package: lftp....................................OK * Installing package: libapache2-mod-php7.1...................OK * Skipping package: libc6...................................(Already Installed) * Skipping package: libcurl4................................(Already Installed) * Installing package: liblzma-dev.............................OK * Installing package: m4......................................OK * Installing package: mysql-client............................OK * Installing package: mysql-server............................OK
-
@Sebastian-Roth said in FOG v1.54 erroring on Ubuntu Server 18.04 LTS:
@dbrilliant Please post the contents of /etc/apt/sources.list
There was an issue with Ubuntu 18.04 that I fixed in the working branch. See my comments here: https://github.com/FOGProject/fogproject/issues/258
@dbrilliant What Sebastian is asking for is the output of this basically:
cat /etc/apt/sources.list
-
grubb@fogserver:~$ sudo -i
[sudo] password for grubb:
root@fogserver:~# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main
root@fogserver:~#
This is the output of:
cat /etc/apt/sources.list -
Let me know if you need the remainder of the foginstall.log output, it will only allow me to copy one page at a time via nano.
-
@dbrilliant The below commands will add some repositories to /etc/apt/sources.list. I’m thinking this will fix your problem.
echo 'deb http://archive.ubuntu.com/ubuntu bionic universe' >> /etc/apt/sources.list echo 'deb-src http://archive.ubuntu.com/ubuntu bionic universe' >> /etc/apt/sources.list echo 'deb http://archive.ubuntu.com/ubuntu bionic-updates universe' >> /etc/apt/sources.list echo 'deb-src http://archive.ubuntu.com/ubuntu bionic-updates universe' >> /etc/apt/sources.list
Then try to run the installer again.
-
@dbrilliant Either Wayne’s commands or a simple
sudo add-apt-repository universe
should to the trick for you. -
That’s it thanks guys. I used sudo add-apt-repository universe, and there were about 20 packages out there. Now, if I can remember how to finish this project off. It’s been 7 years since I built a fog server. lol