update-rc.d: error: unable to read /etc/init.d/clamav-freshclam

Mario Marietto marietto2008 at gmail.com
Mon Jan 15 12:31:50 UTC 2024


if I had seen that the system wanted to install clamav,I would have said
no. Yesterday I saw that it wanted to upgrade it. It has already been
installed. Usually I see the packages that want to be installed. I don't
hide that I have suspected that it was a Canonical choice to "impose" to
final users the installation by default of clamav. A choice that looks like
the choice to "impose" to users to use snap by default (I saw wrote
"impose" and not impose,because yes,we could remove and tweak the system as
we want,but the newbies likely accept everything by default for the time
they need to learn how to tweak the system (if they are interested to play
with Linux) ; maybe this will never happen). I clearly see how Canonical
wants to resemble Windows more and more, making life easier for those who
install the packages or offering an antivirus to make them feel more
secure. Point is that all this is not asked to the user during installation.



On Mon, Jan 15, 2024 at 1:16 PM Ralf Mardorf via ubuntu-users <
ubuntu-users at lists.ubuntu.com> wrote:

> On Mon, 2024-01-15 at 10:48 +0100, Mario Marietto wrote:
> > Point here is that I never installed clamav.
>
> Hi,
>
> even if clamav should be a dependency of another package, so that it
> wasn't directly installed by you, by running "install clamav", you were
> the one who installed it, maybe by running an "upgrade".
> If an upgrade does list 1000 package, then you should check each of the
> 1000 packages. If you don't know what libfoo is good for, you need to
> learn what it is good for. This doesn't mean you need to understand each
> detail about each package, you just need to get an rough idea about what
> it is good for.
>
> If I would read that something on my machine tries to install a
> dependency for another package, that is described as "anti-virus utility
> for Unix - command-line interface", which for my taste translates to
> "snakeoil for Unix - command-line interface", I would answer "no" (not
> "yes") when the upgrade does ask, if it should install the packages.
>
> However try running
>
> sudo apt --purge remove clamav clamav-freshclam
> sudo apt update
> sudo apt full-upgrade
> sudo apt autoremove
>
> If you really never explicitly installed it, the above commands might
> not allow to uninstall clamav and to fix your install. If so, you might
> need to purge the package/s that depend/s on clamav, too.
>
> Regards,
> Ralf
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


-- 
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240115/1bec9de3/attachment.html>


More information about the ubuntu-users mailing list