[Pkg-cacti-maint] Bug#861858: cacti fails to create symlinks when upgrading from jessie to stretch
Paul Gevers
elbrus at debian.org
Thu May 4 19:52:59 UTC 2017
Package: cacti
Version: 0.8.8h+ds1-8
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Cacti version 0.8.8h+ds1-8 replaced the embedded jstree JavaScript with a
dependency on the (new) libjs-jquery-jstree package. Instead of having the
files in its own directory tree it now provides symlinks to the jstree
package. However, dpkg doesn't convert dirs to links or vice-versa
automatically and cacti didn't take care of it, so upgrading from anywhere
between 0.8.8a+dfsg-1 (inclusive) and 0.8.8h+ds1-8 (exclusive) to 0.8.8h+ds1-8
or later causes loss of the theme files (CSS and figures), preventing the
device tree to collapse. This includes the upgrade from Jessie to Stretch.
The new link is:
/usr/share/cacti/site/include/js/themes -> ../../../../javascript/jstree/themes
Original report found on the cacti forum in a complaint about the Ubuntu
upgrade (no https): http://forums.cacti.net/viewtopic.php?f=21&t=57313
- -- System Information:
Debian Release: 9.0
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'experimental'), (200, 'testing'), (50, 'experimental'), (50, 'testing'), (1, 'experimental')
Architecture: amd64
(x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cacti depends on:
ii dbconfig-mysql 2.0.8
ii debconf [debconf-2.0] 1.5.60
ii javascript-common 11
ii libapache2-mod-php 1:7.0+49
ii libapache2-mod-php7.0 [libapache2-mod-php] 7.0.16-3
ii libjs-jquery 3.1.1-2
ii libjs-jquery-cookie 11-3
ii libjs-jquery-jstree 3.3.3+dfsg1-1
ii libjs-jquery-ui 1.12.1+dfsg-4
ii libjs-jquery-ui-theme-ui-lightness 1.12.1+dfsg-1
ii libphp-adodb 5.20.9-1
pn perl:any <none>
ii php-cli 1:7.0+49
ii php-mbstring 1:7.0+49
ii php-mysql 1:7.0+49
ii php-snmp 1:7.0+49
ii php-xml 1:7.0+49
ii php7.0-cli [php-cli] 7.0.16-3
ii php7.0-mbstring [php-mbstring] 7.0.16-3
ii php7.0-mysql [php-mysqlnd] 7.0.16-3
ii php7.0-snmp [php-snmp] 7.0.16-3
ii php7.0-xml [php-xml] 7.0.16-3
ii rrdtool 1.6.0-1+b2
ii snmp 5.7.3+dfsg-1.7
ii ucf 3.0036
Versions of packages cacti recommends:
ii apache2 [httpd] 2.4.25-3
ii iputils-ping 3:20161105-1
ii logrotate 3.11.0-0.1
ii mariadb-server-10.1 [virtual-mysql-server] 10.1.22-3
Versions of packages cacti suggests:
ii moreutils 0.60-1
pn php-ldap <none>
- -- debconf information:
cacti/mysql/method: Unix socket
cacti/remote/port:
cacti/dbconfig-upgrade: true
cacti/database-type: mysql
cacti/remove-error: abort
cacti/purge: false
cacti/dbconfig-remove: true
* cacti/mysql/admin-user: root
cacti/remote/host: localhost
cacti/internal/reconfiguring: false
cacti/passwords-do-not-match:
cacti/upgrade-error: abort
cacti/dbconfig-reinstall: false
* cacti/webserver: apache2
cacti/db/dbname: cacti
cacti/install-error: abort
cacti/upgrade-backup: true
cacti/missing-db-package-error: abort
cacti/db/app-user: cacti at localhost
cacti/internal/skip-preseed: false
cacti/remote/newhost:
* cacti/dbconfig-install: true
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlkLhpQACgkQnFyZ6wW9
dQogmAgAqgIW/7qaAliVmeAYs7dY6emCArSNQZuuuk1Ss8TEviyZYCH6ItlCRg/d
HcIzbzuBYREM/n2s6rWJ0iIQyMdKrQiFVZTh5xSmDaomb7RcRyxNc/A1Zphv0XGY
56E0DSL5aYwVS1F5BQuR+2rj9JTHg/lM3aU56U9ppFwD2AoR+Wqr/1qY3UvX6xKM
S6/Zu0MTUeWta5xyHTgCbhAfm6Yi/JLETGHoRyZg8CZKh01KDL+adR9L+zxdtXKS
DXKFYCgmFsssBZ4xIYma4p2nN4Wdm5E4+kPJP+aeIWslZjr/G/xMY24GLm8p6nL1
rHffPNgIF1vaeyCrR3Ou+v98oz3J0A==
=Kzy1
-----END PGP SIGNATURE-----
More information about the Pkg-cacti-maint
mailing list