Bug #5449
closedReinstall syslog-ng failed after upgrade to 2.3 alpha (couldn't install Perl: makewhatis not found)
0%
Description
Package install log as displayed:
Installing pfSense-pkg-syslog-ng...
Checking integrity... done (0 conflicting)
The following 9 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
pfSense-pkg-syslog-ng: 1.1.1 [pfSense]
syslog-ng: 3.6.4 [pfSense]
glib: 2.44.1_1 [pfSense]
python27: 2.7.10_1 [pfSense]
libffi: 3.2.1 [pfSense]
libiconv: 1.14_8 [pfSense]
perl5: 5.20.3_8 [pfSense]
eventlog: 0.2.12_1 [pfSense]
json-c: 0.12_2 [pfSense]
The process will require 138 MiB more space.
[1/9] Installing libffi-3.2.1...
[1/9] Extracting libffi-3.2.1: .......... done
[2/9] Installing python27-2.7.10_1...
[2/9] Extracting python27-2.7.10_1: .......... done
[3/9] Installing libiconv-1.14_8...
[3/9] Extracting libiconv-1.14_8: .......... done
[4/9] Installing perl5-5.20.3_8...
[4/9] Extracting perl5-5.20.3_8: .......... done
makewhatis: not found
makewhatis: not found
pkg: POST-INSTALL script failed
[5/9] Installing glib-2.44.1_1...
[5/9] Extracting glib-2.44.1_1: .......... done
No schema files found: doing nothing.
[6/9] Installing eventlog-0.2.12_1...
[6/9] Extracting eventlog-0.2.12_1: ....... done
[7/9] Installing json-c-0.12_2...
[7/9] Extracting json-c-0.12_2: .......... done
[8/9] Installing syslog-ng-3.6.4...
[8/9] Extracting syslog-ng-3.6.4:
pkg: archive_read_extract(): Can't create '/usr/local/lib/syslog-ng/libafsocket-tls.so'
[8/9] Extracting syslog-ng-3.6.4... done
[8/9] Deleting files for syslog-ng-3.6.4: .......... done
Failed
Updated by Stilez y over 9 years ago
Note that after this, syslog-ng was still shown as installed, despite "Deleting files for syslog-ng-3.6.4" .....
Updated by Stilez y over 9 years ago
Also note - same happened on trying to reinstall Squid...
However, despite the error, the package was successfully reported as reinstalled:
Installing pfSense-pkg-squid...
The following 14 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
pfSense-pkg-squid: 0.4.2 [pfSense]
squid_radius_auth: 1.10 [pfSense]
squid: 3.5.9_1 [pfSense]
krb5: 1.13.2_3 [pfSense]
cyrus-sasl: 2.1.26_12 [pfSense]
perl5: 5.20.3_8 [pfSense]
squidclamav: 6.10_2 [pfSense]
c-icap: 0.3.5_2,2 [pfSense]
c-icap-modules: 0.3.2_4 [pfSense]
clamav: 0.98.7 [pfSense]
unzoo: 4.4_2 [pfSense]
arc: 5.21p [pfSense]
lha: 1.14i_6 [pfSense]
arj: 3.10.22_4 [pfSense]
7 MiB to be downloaded.
Fetching pfSense-pkg-squid-0.4.2.txz: ...... done
Fetching squid_radius_auth-1.10.txz: . done
Fetching squid-3.5.9_1.txz: .......... done
Fetching krb5-1.13.2_3.txz: .......... done
Fetching cyrus-sasl-2.1.26_12.txz: .......... done
Fetching squidclamav-6.10_2.txz: ...... done
Fetching c-icap-0.3.5_2,2.txz: .......... done
Fetching c-icap-modules-0.3.2_4.txz: ....... done
Fetching clamav-0.98.7.txz: .......... done
Fetching unzoo-4.4_2.txz: .. done
Fetching arc-5.21p.txz: .... done
Fetching lha-1.14i_6.txz: .... done
Fetching arj-3.10.22_4.txz: .......... done
Checking integrity... done (0 conflicting)
[1/14] Installing unzoo-4.4_2...
[1/14] Extracting unzoo-4.4_2: .. done
[2/14] Installing arc-5.21p...
[2/14] Extracting arc-5.21p: ...... done
[3/14] Installing lha-1.14i_6...
[3/14] Extracting lha-1.14i_6: .. done
[4/14] Installing arj-3.10.22_4...
[4/14] Extracting arj-3.10.22_4: .......... done
[5/14] Installing krb5-1.13.2_3...
[5/14] Extracting krb5-1.13.2_3: .......... done
[6/14] Installing cyrus-sasl-2.1.26_12...
- Added group `cyrus' (id 60)
- Added user `cyrus' (id 60)
[6/14] Extracting cyrus-sasl-2.1.26_12: .......... done
[7/14] Installing perl5-5.20.3_8...
[7/14] Extracting perl5-5.20.3_8: .......... done
makewhatis: not found
makewhatis: not found
pkg: POST-INSTALL script failed
[8/14] Installing c-icap-0.3.5_2,2...
===> Creating users and/or groups.
Creating group 'c_icap' with gid '959'.
Creating user 'c_icap' with uid '959'.
[8/14] Extracting c-icap-0.3.5_2,2: .......... done
[9/14] Installing clamav-0.98.7...
===> Creating users and/or groups.
Using existing group 'clamav'.
Using existing group 'mail'.
Using existing user 'clamav'.
[9/14] Extracting clamav-0.98.7: .......... done
[10/14] Installing squid_radius_auth-1.10...
[10/14] Extracting squid_radius_auth-1.10: .... done
[11/14] Installing squid-3.5.9_1...
===> Creating users and/or groups.
Creating group 'squid' with gid '100'.
Creating user 'squid' with uid '100'.
===> Pre-installation configuration for squid-3.5.9_1
[11/14] Extracting squid-3.5.9_1: .......... done
[12/14] Installing squidclamav-6.10_2...
[12/14] Extracting squidclamav-6.10_2: .......... done
[13/14] Installing c-icap-modules-0.3.2_4...
[13/14] Extracting c-icap-modules-0.3.2_4: .......... done
[14/14] Installing pfSense-pkg-squid-0.4.2...
[14/14] Extracting pfSense-pkg-squid-0.4.2: .......... done
Message from cyrus-sasl-2.1.26_12:
You can use sasldb2 for authentication, to add users use:
saslpasswd2 -c username
If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README
NOTE: This port has been compiled with a default pwcheck_method of
auxprop. If you want to authenticate your user by /etc/passwd,
PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
set sasl_pwcheck_method to saslauthd after installing the
Cyrus-IMAPd 2.X port. You should also check the
/usr/local/lib/sasl2/*.conf files for the correct
pwcheck_method.
If you want to use GSSAPI mechanism, install
ports/security/cyrus-sasl2-gssapi.
If you want to use LDAP auxprop plugin, install
ports/security/cyrus-sasl2-ldapdb.
Message from perl5-5.20.3_8:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
#!/usr/local/bin/perl
or
#!/usr/bin/env perl
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
Message from squid-3.5.9_1:
o You can find the configuration files for this package in the
directory /usr/local/etc/squid.
o The default cache directory is /var/squid/cache/.
The default log directory is /var/log/squid/.
Note:
You must initialize new cache directories before you can start
squid. Do this by running "squid -z" as 'root' or 'squid'.
If your cache directories are already initialized (e.g. after an
upgrade of squid) you do not need to initialize them again.
0 When using DiskD storage scheme remember to read documentation:
http://wiki.squid-cache.org/Features/DiskDaemon
and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
work reliably without this. Last recomendations were:
kern.ipc.msgmnb=8192
kern.ipc.msgssz=64
kern.ipc.msgtql=2048
o The default configuration will deny everyone but the local host and
local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
4291 for IPv6 access to the proxy service. Edit the "http_access
allow/deny" directives in /usr/local/etc/squid/squid.conf
to suit your needs.
To enable Squid, set squid_enable=yes in either
/etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
Please see /usr/local/etc/rc.d/squid for further details.
Note:
If you just updated your Squid installation from an earlier version,
make sure to check your Squid configuration against the 3.4 default
configuration file /usr/local/etc/squid/squid.conf.sample.
/usr/local/etc/squid/squid.conf.documented is a fully annotated
configuration file you can consult for further reference.
Additionally, you should check your configuration by calling
'squid -f /path/to/squid.conf -k parse' before starting Squid.
Cleaning up cache... done.
Success
Updated by Chris Buechler about 9 years ago
- Status changed from New to Resolved
this was fixed some time ago