Re: apache2-doc update enables disabled conf
On Saturday, July 10, 2021 10:26:03 PM CEST, David Wright wrote:
I can't yet understand what you have done here.
all i did was an apt-get -V dist-upgrade
AIUI a2disconf
removes symlinks in /etc/apache2/conf-enabled/ that were previously
created there by a2enconf.
that's correct
OTOH, apache2-doc.conf is a pkg-provided conffile in
/etc/apache2/conf-available/. During an upgrade, it will be
automatically upgraded if it hasn't been altered. If you've
altered it, then there's usually a dialogue presented about
what to do¹.
afaik this applies only to 'real' config files, like the ones like
/etc/apache/apache2.conf. apache2 configuration files in /etc/conf-* are
probably considered different.
i never altered this config file (or any other of those)! why should i? if
i need this file to be changed, i disable it with a2disconf (or remove the
symlink in /etc/conf-enabled/ myself), copy the source in
/etc/apache2/conf-available/ and change the copy. i never touch original
package files if there is a way to circumvent it.
But in any case, that's nothing to do with
symlinks in /etc/apache2/conf-enabled/.
agreed.
A more specific description of the symptoms might help.
well, here is what '/var/log/apt/term.log' sais:
Log started: 2021-07-09 09:01:44
(Reading database ... ^M(Reading database ... 5%^M(Reading database ...
10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading
database ... 25%^M(Reading database ... 30%^M(Reading database ...
35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading
database ... 50%^M(Reading database ... 55%^M(Reading database ...
60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading
database ... 75%^M(Reading database ... 80%^M(Reading database ...
85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading
database ... 100%^M(Reading database ... 41615 files and directories
currently installed.)
Preparing to unpack .../apache2_2.4.38-3+deb10u5_amd64.deb ...
Unpacking apache2 (2.4.38-3+deb10u5) over (2.4.38-3+deb10u4) ...
Preparing to unpack .../apache2-bin_2.4.38-3+deb10u5_amd64.deb ...
Unpacking apache2-bin (2.4.38-3+deb10u5) over (2.4.38-3+deb10u4) ...
Preparing to unpack .../apache2-data_2.4.38-3+deb10u5_all.deb ...
Unpacking apache2-data (2.4.38-3+deb10u5) over (2.4.38-3+deb10u4) ...
Preparing to unpack .../apache2-utils_2.4.38-3+deb10u5_amd64.deb ...
Unpacking apache2-utils (2.4.38-3+deb10u5) over (2.4.38-3+deb10u4) ...
Preparing to unpack .../apache2-doc_2.4.38-3+deb10u5_all.deb ...
Unpacking apache2-doc (2.4.38-3+deb10u5) over (2.4.38-3+deb10u4) ...
Setting up apache2-bin (2.4.38-3+deb10u5) ...
Setting up apache2-doc (2.4.38-3+deb10u5) ...
Package apache2 is not configured yet. Will defer actions by package
apache2-doc.
Setting up apache2-data (2.4.38-3+deb10u5) ...
Setting up apache2-utils (2.4.38-3+deb10u5) ...
Setting up apache2 (2.4.38-3+deb10u5) ...
info: Executing deferred 'a2enconf apache2-doc' for package apache2-doc
Enabling conf apache2-doc.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u7) ...
Log ended: 2021-07-09 09:02:06
please recognize the lines that say:
info: Executing deferred 'a2enconf apache2-doc' for package apache2-doc
Enabling conf apache2-doc.
this tells me that apt-get enables the configuration file although i
disabled it on purpose.
fwiw: i think 'configuration files' in apache2 are not the same as the
configuration files of packages you probably thought of (and are right
about).
greetings...
Reply to: