[Koha-bugs] [Bug 32791] Log4perl configuration files need a tool for updating on package upgrade
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 13 03:11:40 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32791
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |In Discussion
--- Comment #15 from David Cook <dcook at prosentient.com.au> ---
I suppose koha-create could use "ucfr" to register the log4perl.conf file in
the "ucf" registry. (I've done a little test and it looks like if there's no
data in the hashfile and cache, it just compares the installed file versus the
new file for "ucf")
Then koha-remove could use "ucf" and "ucfr" to remove the file from the ucf
cache, hashfile, and registry.
It looks like "apt-get remove koha-common" doesn't touch "/etc/koha/sites". It
leaves behind /var/lib/dpkg/info/koha-common.list and
/var/lib/dpkg/info/koha-common.postrm
Interestingly, when I do "apt-get purge koha-common", I get the following
errors:
dpkg: warning: while removing koha-common, directory '/var/spool/koha' not
empty so not removed
dpkg: warning: while removing koha-common, directory '/var/log/koha' not empty
so not removed
dpkg: warning: while removing koha-common, directory '/var/lock/koha' not empty
so not removed
dpkg: warning: while removing koha-common, directory '/var/lib/koha' not empty
so not removed
dpkg: warning: while removing koha-common, directory '/var/cache/koha' not
empty so not removed
dpkg: warning: while removing koha-common, directory '/etc/koha/sites' not
empty so not removed
So it looks like koha-common already has a purge problem...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list