Page 1 of 1

Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Tue Aug 21, 2018 6:16 pm
by msquires
I installing the TimeTrex.ZIP app on my fanless system running Ubuntu Server 8.04.1 LTS and following all of the steps, I am getting the following error.

Checking pre-flight requirements... 1... 2... 3... 4... 5... 6...PHP MBSTRING extension is not installed, TimeTrex requires MBSTRING to be installed.

7... 9... 10... FAILED!

For installation support, please join our community forums or contact a TimeTrex support expert for Implementation Support Services.


Please assist.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Tue Aug 21, 2018 6:19 pm
by mikeb

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Tue Aug 21, 2018 6:43 pm
by msquires
Those are the instruction that I followed. The problem is that the " php-mbstring " will not install.

admin@abcdefg:~$ sudo apt-get install php-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-mbstring



I ran the command :~S sudo apt-cache search php

doxygen - Documentation system for C, C++, Java, Python and other languages
doxygen-doc - Documentation for doxygen
exuberant-ctags - build tag file indexes of source code definitions
libapache2-mod-php - server-side, HTML-embedded scripting language (Apache 2 module) (default)
libapache2-mod-php7.2 - server-side, HTML-embedded scripting language (Apache 2 module)
libct4 - libraries for connecting to MS SQL and Sybase SQL servers
libcups2-dev - Common UNIX Printing System(tm) - Development files CUPS library
libgtksourceview-3.0-common - common files for the GTK+ syntax highlighting widget
libnet-libidn-perl - Perl bindings for GNU Libidn
php - server-side, HTML-embedded scripting language (default)
php-all-dev - package depending on all supported PHP development packages
php-cgi - server-side, HTML-embedded scripting language (CGI binary) (default)
php-cli - command-line interpreter for the PHP scripting language (default)
php-common - Common files for PHP packages
php-curl - CURL module for PHP [default]
php-dev - Files for PHP module development (default)
php-gd - GD module for PHP [default]
php-gmp - GMP module for PHP [default]
php-ldap - LDAP module for PHP [default]
php-mysql - MySQL module for PHP [default]
php-odbc - ODBC module for PHP [default]
php-pear - PEAR Base System
php-pgsql - PostgreSQL module for PHP [default]
php-pspell - pspell module for PHP [default]
php-recode - recode module for PHP [default]
php-snmp - SNMP module for PHP [default]
php-sqlite3 - SQLite3 module for PHP [default]
php-tidy - tidy module for PHP [default]
php-xmlrpc - XMLRPC-EPI module for PHP [default]
php7.2 - server-side, HTML-embedded scripting language (metapackage)
php7.2-cgi - server-side, HTML-embedded scripting language (CGI binary)
php7.2-cli - command-line interpreter for the PHP scripting language
php7.2-common - documentation, examples and common module for PHP
php7.2-curl - CURL module for PHP
php7.2-dev - Files for PHP7.2 module development
php7.2-gd - GD module for PHP
php7.2-gmp - GMP module for PHP
php7.2-json - JSON module for PHP
php7.2-ldap - LDAP module for PHP
php7.2-mysql - MySQL module for PHP
php7.2-odbc - ODBC module for PHP
php7.2-opcache - Zend OpCache module for PHP
php7.2-pgsql - PostgreSQL module for PHP
php7.2-pspell - pspell module for PHP
php7.2-readline - readline module for PHP
php7.2-recode - recode module for PHP
php7.2-snmp - SNMP module for PHP
php7.2-sqlite3 - SQLite3 module for PHP
php7.2-tidy - tidy module for PHP
php7.2-xml - DOM, SimpleXML, WDDX, XML, and XSL module for PHP
php7.2-xmlrpc - XMLRPC-EPI module for PHP
pkg-php-tools - various packaging tools and scripts for PHP packages


As you can see " php-mbstring " is not listed. Any ideas????

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Wed Aug 22, 2018 8:23 am
by mikeb
I see it here:
https://packages.ubuntu.com/search?keyw ... ection=all

As well as here:

Code: Select all

$ apt show php-mbstring
Package: php-mbstring
Version: 1:7.2+60ubuntu1
Priority: optional
Section: universe/php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12.3 kB
Depends: php-common, php7.2-mbstring
Download-Size: 2,008 B
APT-Sources: http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
Description: MBSTRING module for PHP [default]
 This package provides a MBSTRING module for PHP.
 .
 PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
 open source general-purpose scripting language that is especially suited
 for web development and can be embedded into HTML.
 .
 This package is a dependency package, which depends on Ubuntu's default
 PHP version (currently 7.2).
Its included in the "universe" repository, so make sure you have that in your apt sources.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Wed Aug 22, 2018 3:43 pm
by msquires
Your help is invaluable. thank You. I am at the Install Wizard.

I am very frustrated with trying to install this application

Posted: Fri Aug 24, 2018 6:45 pm
by msquires
I am running Ubuntu Server 18.04.2 . I got close last time but No Go.
I followed the install to the letter using the instruction on the site https://www.timetrex.com/how-to-install ... ntu-debian.

I am having problems during install with these packages:

apt-get install php7.0-imap
apt-get install php7.0-zip
apt-get install php7.0-mcrypt

I have tried downloading the following, but nothing works:

php7.0-dev_7.0.30-0ubuntu0.16.04.1_amd64.deb
php7.0-mcrypt_7.0.30-0ubuntu0.16.04.1_amd64.deb

The PHP install is not working correctly, or is not installing correctly. When it visit the site install.php site to configure it, it is displaying a text form of the site. I have been at this for over two seeks now and I am beginning to think that this app is not worth it.

If anyone has successfully installed TImeTrex on Ubuntu 18.04.2 and is willing to provide detailed instructions, it would be greatly appreciated.

The Chrome and IE browsers are displaying the following:

<?php
/*********************************************************************************
* TimeTrex is a Workforce Management program developed by
* TimeTrex Software Inc. Copyright (C) 2003 - 2018 TimeTrex Software Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addition of the following permission
* added to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED
* WORK IN WHICH THE COPYRIGHT IS OWNED BY TIMETREX, TIMETREX DISCLAIMS THE
* WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along
* with this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact TimeTrex headquarters at Unit 22 - 2475 Dobbin Rd. Suite
* #292 West Kelowna, BC V4T 2E9, Canada or at email address info@timetrex.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License
* version 3, these Appropriate Legal Notices must retain the display of the
* "Powered by TimeTrex" logo. If the display of the logo is not reasonably
* feasible for technical reasons, the Appropriate Legal Notices must display
* the words "Powered by TimeTrex".
********************************************************************************/


/*

This files only purpose is to confirm we are running PHP5, and that the
templates_c directory is writable so we can forward the user to License.php

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Fri Aug 24, 2018 10:57 pm
by msquires
I am at it again. I do not give up easily.

This is the last of the errors I get with the command: apt install /var/cache/apt/archives/TimeTrex_Community_Edition.deb

I am down to the last to errors (I Hope)

The following packages have unmet dependencies:
timetrex-community-edition :

Depends: php-gettext but it is not installable
Depends: php-imap

E: Unable to correct problems, you have held broken packages.



Please Help

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Sun Aug 26, 2018 11:25 am
by mikeb
If you are attempting to install any PHP packages manually (outside of APT), you are already on the wrong path and setting yourself up for failure.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Mon Aug 27, 2018 6:16 pm
by msquires
I always start with a clean system when I am learning and documenting my process and procedures.
I reloaded Ubuntu 18.04.1 and I used the process listed below.
Sorry, but this is also not working.....


root@abcd:~# apt-get update && apt-get upgrade [ENTER]
root@abcd:~# add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" [ENTER]
root@abcd:~# wget https://www.timetrex.com/direct_downloa ... dition.deb [ENTER]
root@abcd:~# mv TimeTrex_Community_Edition.deb /var/cache/apt/archives/TimeTrex_Community_Edition.deb [ENTER]
root@abcd:~# apt install /var/cache/apt/archives/TimeTrex_Community_Edition.deb [ENTER]


ERROR MESSAGE:

The following packages have unmet dependencies:
timetrex-community-edition : Depends: php-gettext but it is not going to be installed
Depends: php-imap
Depends: php-intl
Depends: php-soap
Depends: php-zip
Depends: php-mcrypt but it is not installable
Depends: php-mbstring
Depends: php-bcmath
Depends: php-fpm
E: Unable to correct problems, you have held broken packages.

============================================================================

I even installed Apache2 and it gave the same error.

I installed php
I installed php7.0
I installed php7.1
I installed php7.2
I continue to get the message:

The following packages have unmet dependencies:
timetrex-community-edition : Depends: php-gettext but it is not going to be installed
Depends: php-imap
Depends: php-intl
Depends: php-soap
Depends: php-zip
Depends: php-mcrypt but it is not installable
Depends: php-mbstring
Depends: php-bcmath
Depends: php-fpm
E: Unable to correct problems, you have held broken packages.

=============================================================

If you have a process that works and do not mind sharing it, it would be greatly appropriated.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Tue Aug 28, 2018 9:17 am
by mikeb
Below is the full output that I just performed from a stock Ubuntu 18.04 install:

Code: Select all

timetrex@ubuntu-18-04-stock:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

timetrex@ubuntu-18-04-stock:~$ wget https://www.timetrex.com/direct_download/TimeTrex_Community_Edition.deb
--2018-08-28 09:11:42--  https://www.timetrex.com/direct_download/TimeTrex_Community_Edition.deb
Resolving www.timetrex.com (www.timetrex.com)... 169.55.28.174, 169.55.28.173, 2607:f0d0:1b02:3::4, ...
Connecting to www.timetrex.com (www.timetrex.com)|169.55.28.174|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11582842 (11M) [application/x-debian-package]
Saving to: ‘TimeTrex_Community_Edition.deb’

TimeTrex_Community_Edition.deb                                                       100%[===================================================================================================================================================================================================================>]  11.05M  9.36MB/s    in 1.2s    

2018-08-28 09:11:44 (9.36 MB/s) - ‘TimeTrex_Community_Edition.deb’ saved [11582842/11582842]

timetrex@ubuntu-18-04-stock:~$ sudo mv TimeTrex_Community_Edition.deb /var/cache/apt/archives/

timetrex@ubuntu-18-04-stock:~$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                          
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                         
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease    
Get:5 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8,531 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8,570 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]
Fetched 22.3 MB in 9s (2,565 kB/s)                                                                                                                                                                                                                                                                                                              
Reading package lists... Done

timetrex@ubuntu-18-04-stock:~$ sudo apt-get install /var/cache/apt/archives/TimeTrex_Community_Edition.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'timetrex-community-edition' instead of '/var/cache/apt/archives/TimeTrex_Community_Edition.deb'
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils aspell aspell-en dbconfig-common dbconfig-pgsql fontconfig-config fonts-dejavu-core libapache2-mod-php7.2 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaspell15 libc-client2007e libcurl4 libfontconfig1 libgd3 libgdbm-compat4 libjbig0 libjpeg-turbo8 libjpeg8
  liblua5.2-0 libnghttp2-14 libperl5.26 libpq5 librtmp1 libsensors4 libsodium23 libtiff5 libwebp6 libxpm4 libxslt1.1 libzip4 mlock perl perl-modules-5.26 php php-bcmath php-cgi php-common php-curl php-fpm php-gd php-gettext php-igbinary php-imap php-intl php-ldap php-mbstring php-pear php-pgsql php-php-gettext php-pspell php-redis
  php-soap php-xml php-zip php7.2 php7.2-bcmath php7.2-cgi php7.2-cli php7.2-common php7.2-curl php7.2-fpm php7.2-gd php7.2-imap php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-opcache php7.2-pgsql php7.2-pspell php7.2-readline php7.2-soap php7.2-xml php7.2-zip postgresql postgresql-10 postgresql-client-10
  postgresql-client-common postgresql-common ssl-cert sysstat
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom aspell-doc spellutils uw-mailutils libgd-tools lm-sensors perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make redis-server postgresql-doc locales-all postgresql-doc-10 libjson-perl openssl-blacklist isag
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils aspell aspell-en dbconfig-common dbconfig-pgsql fontconfig-config fonts-dejavu-core libapache2-mod-php7.2 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaspell15 libc-client2007e libcurl4 libfontconfig1 libgd3 libgdbm-compat4 libjbig0 libjpeg-turbo8 libjpeg8
  liblua5.2-0 libnghttp2-14 libperl5.26 libpq5 librtmp1 libsensors4 libsodium23 libtiff5 libwebp6 libxpm4 libxslt1.1 libzip4 mlock perl perl-modules-5.26 php php-bcmath php-cgi php-common php-curl php-fpm php-gd php-gettext php-igbinary php-imap php-intl php-ldap php-mbstring php-pear php-pgsql php-php-gettext php-pspell php-redis
  php-soap php-xml php-zip php7.2 php7.2-bcmath php7.2-cgi php7.2-cli php7.2-common php7.2-curl php7.2-fpm php7.2-gd php7.2-imap php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-opcache php7.2-pgsql php7.2-pspell php7.2-readline php7.2-soap php7.2-xml php7.2-zip postgresql postgresql-10 postgresql-client-10
  postgresql-client-common postgresql-common ssl-cert sysstat timetrex-community-edition
0 upgraded, 88 newly installed, 0 to remove and 4 not upgraded.
Need to get 26.1 MB/37.7 MB of archives.
After this operation, 122 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.2 [2,762 kB]
Get:2 /var/cache/apt/archives/TimeTrex_Community_Edition.deb timetrex-community-edition all 11.2.6 [11.6 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6,084 B]
<...SNIP...>
Setting up timetrex-community-edition (11.2.6) ...
Configuring database...
dbconfig-common: writing config to /etc/dbconfig-common/timetrex.conf
Creating config file /etc/dbconfig-common/timetrex.conf with new version
Creating config file /usr/share/timetrex/dbcommon-config/database.inc.sh with new version
creating postgres user timetrex:  success.
verifying creation of user: success.
creating database timetrex: success.
verifying database timetrex exists: success.
dbconfig-common: flushing administrative password
Automatic configuration using dbconfig-common successful!
Setting up Apache...
Using config for PHP Module: >7.0
Configuring maintenance jobs with CRON...
Configuring file permissions...
###########################################################################################
To finish the installation process and initialize the database
point your web browser to this servers URL and append '/timetrex/' to the end of it.

 For example: http://10.7.5.158/timetrex/ 
###########################################################################################
Setting up php (1:7.2+60ubuntu1) ...

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Tue Aug 28, 2018 3:59 pm
by msquires
I am not sure why my results are so different from yours.

May I see your "/etc/apt/sources.list" ?

Is your positive result from a clean install. Did you load the image onto the appliance, run the apt update && apt upgrade?
Then run the install for TimeTrex?

Please let me know if you did any thing different.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Tue Aug 28, 2018 4:55 pm
by msquires
I re-imaged me system and my results have not changed.

This may mean nothing but I have noticed a difference with your results and my own.

The file size when you download is larger than what I am getting when I perform the WGET.

***2018-08-28 09:11:44 (9.36 MB/s) - ‘TimeTrex_Community_Edition.deb’ saved [11582842/11582842]***

Size: 11.582842 MB

====================================================================================================

When I perform the WGET, I am getting.

***2018-08-28 23:24:39 (4.06 MB/s) - ‘TimeTrex_Community_Edition.deb’ saved [11581014/11581014]***

Size: 11.581014 MB

The messed-up part is that I copied your process and got a slightly different result. It is not by much, but it may be enough to to give me a different result.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Wed Aug 29, 2018 8:01 am
by mikeb
It would be super helpful if you would actually show us all the commands that you run and their output like I did.

Without that specific information its is extremely difficult to follow what you are doing or where the actual problem is.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Wed Aug 29, 2018 4:12 pm
by msquires
Brand New Clean Install: ubuntu-18.04.1-live-server-amd64.iso

Code: Select all

login as: abcd
abcd@192.168.1.100's password:
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Aug 29 22:41:59 UTC 2018

  System load:  0.36               Processes:             141
  Usage of /:   10.0% of 57.95GB   Users logged in:       0
  Memory usage: 5%                 IP address for enp2s0: 192.168.1.100
  Swap usage:   0%

18 packages can be updated.
11 updates are security updates.



The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

abcd@abcd:~$

Code: Select all

abcd@abcd:~$ sudo apt update
[sudo] password for abcd:
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-security/main Translation-en [60.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [114 kB]
Fetched 692 kB in 2s (449 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
abcd@abcd:~$

Code: Select all

abcd@abcd:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  amd64-microcode apt apt-utils base-files cloud-init console-setup
  console-setup-linux intel-microcode keyboard-configuration libapt-inst2.0
  libapt-pkg5.0 liblxc-common liblxc1 libmspack0 libxml2
  linux-signed-generic lshw open-iscsi open-vm-tools python3-distupgrade
  ubuntu-release-upgrader-core
****AND-SO-ON****

abcd@abcd:~$

Code: Select all

abcd@abcd:~$ wget https://www.timetrex.com/direct_download/TimeTrex_Community_Edition.deb                    --2018-08-29 22:51:59--  https://www.timetrex.com/direct_download/TimeTrex_Community_Edition.deb
Resolving www.timetrex.com (www.timetrex.com)... 169.55.28.174, 169.55.28.173, 2607:f0d0:1b02:3::4, ...
Connecting to www.timetrex.com (www.timetrex.com)|169.55.28.174|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11581014 (11M) [application/x-debian-package]
Saving to: ‘TimeTrex_Community_Edition.deb’

TimeTrex_Community_Edition.d 100%[===========================================>]  11.04M  5.00MB/s    in 2.2s

2018-08-29 22:52:01 (5.00 MB/s) - ‘TimeTrex_Community_Edition.deb’ saved [11581014/11581014]

abcd@abcd:~$

Code: Select all

abcd@abcd:~$ sudo mv TimeTrex_Community_Edition.deb /var/cache/apt/archives/

abcd@abcd:~$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8,570 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]
Fetched 13.5 MB in 5s (2,591 kB/s)
Reading package lists... Done
abcd@abcd:~$

Code: Select all

abcd@abcd:~$ sudo apt-get install /var/cache/apt/archives/TimeTrex_Community_Edition.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'timetrex-community-edition' instead of '/var/cache/apt/archives/TimeTrex_Community_Edition.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 timetrex-community-edition : Depends: php-gettext but it is not going to be installed
                              Depends: php-imap
                              Depends: php-intl
                              Depends: php-soap
                              Depends: php-zip
                              Depends: php-mbstring
                              Depends: php-bcmath
                              Depends: php-fpm
E: Unable to correct problems, you have held broken packages.
abcd@abcd:~$

I hope this helps you understand the issue I am having. If I am missing steps, please let me know.
I have no shame in learning that I did something wrong.
.
.
.
.
.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Wed Aug 29, 2018 5:08 pm
by mikeb
What is the output of the following command:

Code: Select all

sudo apt-get install php-gettext

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Wed Aug 29, 2018 6:54 pm
by msquires
.
.
.

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-gettext : Depends: php-php-gettext but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

 sudo apt-get install php-imap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-imap : Depends: php7.2-imap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php-intl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-intl : Depends: php7.2-intl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php-soap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-soap : Depends: php7.2-soap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-zip : Depends: php7.2-zip but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-mbstring : Depends: php7.2-mbstring but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php-bcmath
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-bcmath : Depends: php7.2-bcmath but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-fpm : Depends: php7.2-fpm but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Unable to install then using PHP7.2

Posted: Wed Aug 29, 2018 7:10 pm
by msquires
sudo apt-get install php7.2-gettext (INSTALLED)
.
.
.

Code: Select all

sudo apt-get install php7.2-imap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-imap : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php7.2-intl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-intl : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php7.2-soap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-soap : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php7.2-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-zip : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php7.2-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-mbstring : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php7.2-bcmath
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-bcmath : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Code: Select all

sudo apt-get install php7.2-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.2-fpm : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
.
.
.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Thu Aug 30, 2018 11:10 am
by mikeb
Definitely something wrong with your APT sources, can you please attach your /etc/apt/sources.list file here?

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Thu Aug 30, 2018 6:51 pm
by msquires
.
GNU nano 2.9.3 /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu bionic main universe
deb http://archive.ubuntu.com/ubuntu bionic-security main
# deb-src http://archive.ubuntu.com/ubuntu bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main


This is with the clean install of the OS and the TimeTrex....
.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Fri Aug 31, 2018 7:45 am
by mikeb
Okay, for whatever reason your sources aren't correct. The "universe" repository isn't enabled for all sources (mainly the security one), so when there is a security update it breaks your packages.

The below should enable all repositories and fix your issue:

Code: Select all

deb http://us.archive.ubuntu.com/ubuntu/ bionic main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-proposed main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-security main universe restricted multiverse

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Fri Aug 31, 2018 3:55 pm
by msquires
I Copied the list and re-ran the install and got the result...

Code: Select all

sudo apt-get install /var/cache/apt/archives/TimeTrex_Community_Edition.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'timetrex-community-edition' instead of '/var/cache/apt/archives/TimeTrex_Community_Edition                                                  .deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 timetrex-community-edition : Depends: php-gettext but it is not installable
                              Depends: php-imap but it is not installable
                              Depends: php-intl but it is not installable
                              Depends: php-soap but it is not installable
                              Depends: php-zip but it is not installable
                              Depends: php-mbstring but it is not installable
                              Depends: php-bcmath but it is not installable
                              Depends: php-redis but it is not installable
                              Depends: php-fpm but it is not installable
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and                                                   /etc/apt/sources.list:6
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /                                                  etc/apt/sources.list:6
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:                                                  1 and /etc/apt/sources.list:6
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 a                                                  nd /etc/apt/sources.list:6
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:1 and /etc/ap                                                  t/sources.list:6
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/                                                  sources.list:6
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and                                                   /etc/apt/sources.list:11
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /                                                  etc/apt/sources.list:11
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:                                                  3 and /etc/apt/sources.list:11
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 a                                                  nd /etc/apt/sources.list:11
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/ap                                                  t/sources.list:11
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/                                                  sources.list:11
E: Unable to correct problems, you have held broken packages.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Sat Sep 01, 2018 7:41 am
by mikeb
According to that your sources.list is still broken.

At this stage I may suggest that you consider purchasing a support package or using a Ubuntu forum for further help with getting the packages installed.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Sun Sep 02, 2018 6:07 pm
by msquires
Thank You for all of your help and direction.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Thu Sep 13, 2018 6:36 pm
by msquires
I switched OS and I am using Debian 9.
The TimeTrex application install and it working great.

The feature I am concerned with is that the site in not secure. There is no option for HTTPS://.

This application was to be accessed Locally and remotely. I need to have good SSL feature to feel secure giving access to the application.

Please advise.

Re: Ubuntu Server 18.04.1 error after installing the ZIP Option

Posted: Fri Sep 14, 2018 8:29 am
by mikeb
SSL is handled by your web server, which is completely separate from TimeTrex itself. There are many tutorials and HOWTOs available online that explain how to get SSL up and running with the Apache web server on Debian, I would recommend following one of those.