Здесь VPS на BrainyCP за 3$ в месяц, а здесь 50GB шаред-хостинг на BrainyCP за 1.9$ в месяц
Защита сервера от взлома, антивирус, файрвол, SSL-сертификаты и прочие вопросы, связанные с безопасностью данных.
-
kazazuz
- Сообщения: 9
- Зарегистрирован: Вт янв 09, 2024 7:34 pm
Сообщение
kazazuz » Пт ноя 22, 2024 10:24 pm
Здравствуйте, помогите пожалуйста, clamAv в панели работает, базы обновляются, с консоли при попытки установить git или что то другое, вылетает ошибка.
Код: Выделить всё
sudo apt-get install git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
clamav : Depends: clamav-lib (= 0.103.13.2-0brainy0.22.04) but it is not going to be installed
clamav-daemon : Depends: clamav-lib (= 0.103.13.2-0brainy0.22.04) but it is not going to be installed
clamd : Depends: clamav-lib (= 0.103.13.2-0brainy0.22.04) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Код: Выделить всё
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libclamav9 libssl1.0.0
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
clamav-lib
The following NEW packages will be installed:
clamav-lib
0 upgraded, 1 newly installed, 0 to remove and 315 not upgraded.
6 not fully installed or removed.
Need to get 0 B/894 kB of archives.
After this operation, 2,524 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 103994 files and directories currently installed.)
Preparing to unpack .../clamav-lib_0.103.13.2-0brainy0.22.04_amd64.deb ...
Unpacking clamav-lib (0.103.13.2-0brainy0.22.04) ...
dpkg: error processing archive /var/cache/apt/archives/clamav-lib_0.103.13.2-0brainy0.22.04_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libclamav.so.9.0.5', which is also in package libclamav9:amd64 0.103.11+dfsg-0ubuntu0.22.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/clamav-lib_0.103.13.2-0brainy0.22.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Telegram: @kazazuz
-
kazazuz
- Сообщения: 9
- Зарегистрирован: Вт янв 09, 2024 7:34 pm
Сообщение
kazazuz » Сб ноя 23, 2024 12:26 am
sbury писал(а): ↑Пт ноя 22, 2024 11:24 pm
Покажите вывод
Код: Выделить всё
cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Код: Выделить всё
dpkg -l | grep clam
iU clamav 0.103.13.2-0brainy0.22.04 amd64 Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of
rc clamav-base 0.103.11+dfsg-0ubuntu0.22.04.1 all anti-virus utility for Unix - base package
iU clamav-daemon 0.103.13.2-0brainy0.22.04 amd64 The Clam AntiVirus Daemon
iU clamav-db 0.103.13.2-0brainy0.22.04 amd64 The actual virus database for clamav
rc clamav-freshclam 0.103.11+dfsg-0ubuntu0.22.04.1 amd64 anti-virus utility for Unix - virus database update utility
iU clamd 0.103.13.2-0brainy0.22.04 amd64 The Clam AntiVirus Daemon
ii libclamav9:amd64 0.103.11+dfsg-0ubuntu0.22.04.1 amd64 anti-virus utility for Unix - library
Telegram: @kazazuz
-
sbury
- Сообщения: 1514
- Зарегистрирован: Вт фев 06, 2018 7:51 am
Сообщение
sbury » Сб ноя 23, 2024 2:32 am
выполнить в консоле
Код: Выделить всё
apt-get update
apt-get remove --purge libclamav9 clamav-freshclam clamav-base
Переустановить ClamAV в панеле в Менеджере приложений
-
kazazuz
- Сообщения: 9
- Зарегистрирован: Вт янв 09, 2024 7:34 pm
Сообщение
kazazuz » Сб ноя 23, 2024 12:09 pm
sbury писал(а): ↑Сб ноя 23, 2024 2:32 am
выполнить в консоле
Код: Выделить всё
apt-get update
apt-get remove --purge libclamav9 clamav-freshclam clamav-base
Переустановить ClamAV в панеле в Менеджере приложений
Та же самая ошибка, любое действие приводит к ней.
Код: Выделить всё
sudo apt-get remove --purge libclamav9 clamav-freshclam clamav-base
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
clamav : Depends: clamav-lib (= 0.103.13.2-0brainy0.22.04) but it is not going to be installed
clamav-daemon : Depends: clamav-lib (= 0.103.13.2-0brainy0.22.04) but it is not going to be installed
clamd : Depends: clamav-lib (= 0.103.13.2-0brainy0.22.04) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Telegram: @kazazuz
-
sbury
- Сообщения: 1514
- Зарегистрирован: Вт фев 06, 2018 7:51 am
Сообщение
sbury » Сб ноя 23, 2024 7:51 pm
Код: Выделить всё
apt-get remove --purge libclamav9 clamav-freshclam clamav-base clamav clamav-daemon clamd clamav-db
и покажите ее вывод
-
kazazuz
- Сообщения: 9
- Зарегистрирован: Вт янв 09, 2024 7:34 pm
Сообщение
kazazuz » Сб ноя 23, 2024 8:07 pm
sbury писал(а): ↑Сб ноя 23, 2024 7:51 pm
Код: Выделить всё
apt-get remove --purge libclamav9 clamav-freshclam clamav-base clamav clamav-daemon clamd clamav-db
и покажите ее вывод
Код: Выделить всё
apt-get remove --purge libclamav9 clamav-freshclam clamav-base c lamav clamav-daemon clamd clamav-db
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libmspack0 libprelude28 libssl1.0.0 libtfm1 prelude-utils
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
clamav* clamav-base* clamav-daemon* clamav-db* clamav-freshclam* clamd*
libclamav9*
0 upgraded, 0 newly installed, 7 to remove and 314 not upgraded.
6 not fully installed or removed.
After this operation, 40.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 103994 files and directories currently installed.)
Removing libclamav9:amd64 (0.103.11+dfsg-0ubuntu0.22.04.1) ...
Removing clamd (0.103.13.2-0brainy0.22.04) ...
Removing clamav-daemon (0.103.13.2-0brainy0.22.04) ...
Removing clamav (0.103.13.2-0brainy0.22.04) ...
Removing clamav-db (0.103.13.2-0brainy0.22.04) ...
Setting up libprelude28:amd64 (5.2.0-5build3) ...
Setting up prelude-utils (5.2.0-5build3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
(Reading database ... 103934 files and directories currently installed.)
Purging configuration files for clamav-db (0.103.13.2-0brainy0.22.04) ...
Purging configuration files for clamav (0.103.13.2-0brainy0.22.04) ...
Purging configuration files for clamd (0.103.13.2-0brainy0.22.04) ...
Purging configuration files for clamav-freshclam (0.103.11+dfsg-0ubuntu0.22.04.1 ) ...
Purging configuration files for clamav-base (0.103.11+dfsg-0ubuntu0.22.04.1) ...
dpkg: warning: while removing clamav-base, directory '/var/lib/clamav' not empty so not removed
Telegram: @kazazuz
-
kazazuz
- Сообщения: 9
- Зарегистрирован: Вт янв 09, 2024 7:34 pm
Сообщение
kazazuz » Сб ноя 23, 2024 8:39 pm
sbury писал(а): ↑Сб ноя 23, 2024 8:28 pm
еще раз вывод этого
Ничего не выводит
Telegram: @kazazuz
-
sbury
- Сообщения: 1514
- Зарегистрирован: Вт фев 06, 2018 7:51 am
Сообщение
sbury » Сб ноя 23, 2024 8:52 pm
Переставить ClamAV в Менеджере приложений