Welcome, Guest. Please login or register.

Author Topic: Ubuntu installation script references wrong files?  (Read 214 times)

jbruyet

  • Newbie
  • *
  • Posts: 16
    • View Profile
Ubuntu installation script references wrong files?
« on: October 03, 2017, 04:40:31 PM »
Hey all, I just built a machine with Ubuntu 16.04.3 LTS. I'm trying to install the programs per the commands on the top of this page, https://www.nedi.ch/installation/, and not having any luck. When I try to install them I get the following:

Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libapache2-mod-php5 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

Package php5-mcrypt 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

Package php5-mysql 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

Package php5-gd 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 'libapache2-mod-php5' has no installation candidate
E: Package 'php5-mysql' has no installation candidate
E: Unable to locate package php5-snmp
E: Package 'php5-gd' has no installation candidate
E: Package 'php5-mcrypt' has no installation candidate

I tried again with the smaller list on this page, https://help.ubuntu.com/community/NediHowTo, but I get the same result.

I was going to do a "Nuke & Repopulate" but repopulate with an older version of Ubuntu but I thought I'd ask this forum if I'm overlooking some small detail. Does the NeDi software have a preferred distribution? If so what is it?

Thanks,

Joe B

jbruyet

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Ubuntu installation script references wrong files?
« Reply #1 on: October 03, 2017, 07:14:50 PM »
Ok, I just did an apt-cache search and found libapache2.mod-php7.0. I had done a search earlier but I made an assumption the results would be alphabetized. Nope, this time I searched the entire list and I found the php file eighth from the top. Sigh.

Thanks,

Joe B

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2558
    • View Profile
    • NeDi
Re: Ubuntu installation script references wrong files?
« Reply #2 on: October 05, 2017, 06:53:30 PM »
I admit, the install instruction is getting dated. I'll update this in the coming days (as 1.6 approaches the public release). I've swtiched to nginx and php-fpm as it appears to be the leaner solution these days. Here's what I used on my Debian system:

apt install libdbd-mysql-perl libnet-snmp-perl libnet-telnet-perl libsocket6-perl librrds-perl libalgorithm-diff-perl libcrypt-rijndael-perl libcrypt-hcesha-perl libcrypt-des-perl libdigest-hmac-perl libio-pty-perl libwww-perl libnet-ntp-perl libnet-dns-perl perl-doc mariadb-client mariadb-server  snmp rrdtool nginx openssl php-fpm php-mysql php-snmp php-gd php-mcrypt php-dap
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

jbruyet

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Ubuntu installation script references wrong files?
« Reply #3 on: October 05, 2017, 09:56:34 PM »
I erased that VM and started over (I love my VMware). That last file is giving me this error:

Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-dap
jobee@NeDi:~$

I was going to search for it but my fingers tried to install it on their own. Ubuntu gave me this message:

Code: [Select]
jobee@NeDi:~$ sudo apt-get install php.dap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'phpldapadmin' for regex 'php.dap'
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 libxslt1.1 php-common php-ldap php-xml php7.0-cli
  php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline php7.0-xml ssl-cert
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom php-pear openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 libxslt1.1 php-common php-ldap php-xml php7.0-cli
  php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline php7.0-xml phpldapadmin ssl-cert
0 upgraded, 24 newly installed, 0 to remove and 3 not upgraded.
Need to get 6,046 kB of archives.
After this operation, 26.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Will installing this give me what I need? I see ldap admin in there so I thought I should ask first.

Thanks,

Joe B

jbruyet

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Ubuntu installation script references wrong files?
« Reply #4 on: October 06, 2017, 06:44:45 PM »
Yep, that last file isn't php-dap, it's php.dap. All of these dependencies install correctly now.

Thanks,

Joe B

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2558
    • View Profile
    • NeDi
Re: Ubuntu installation script references wrong files?
« Reply #5 on: October 06, 2017, 07:46:46 PM »
Oops, typo. It should be php-ldap, but it's only needed for using AD...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo