The list of installed packages in the web gui does not match the list in the system itself

Faced with a strange situation. The list of installed packages in the web gui does not match the list in the system itself

rpm -qa | grep nethserver

nethserver-release-7-5.ns7.noarch
nethserver-httpd-admin-2.0.14-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-collectd-3.0.6-1.ns7.noarch
nethserver-lang-en-1.2.7-1.ns7.noarch
nethserver-mail2-common-2.0.0-1.ns7.noarch
nethserver-backup-data-1.3.2-1.ns7.noarch
nethserver-net-snmp-1.1.0-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-proxypass-3.1.4-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-lsm-1.2.3-1.ns7.noarch
nethserver-openssh-1.2.1-1.ns7.noarch
nethserver-firewall-base-3.3.1-1.ns7.noarch
nethserver-vsftpd-1.1.0-1.ns7.noarch
nethserver-backup-config-2.0.4-1.ns7.noarch
nethserver-lib-2.2.6-1.ns7.noarch
nethserver-nut-1.3.1-1.ns7.noarch
nethserver-ntopng-2.1.0-1.ns7.noarch
nethserver-diagtools-1.0.1-1.ns7.noarch
nethserver-duc-1.4.3-1.ns7.noarch
nethserver-nethforge-release-7-0.3.ns7.noarch
nethserver-base-3.1.2-1.ns7.noarch
nethserver-phonehome-1.3.0-1.ns7.noarch
nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch
nethserver-antivirus-1.2.1-1.ns7.noarch
nethserver-mail-smarthost-1.0.0-1.ns7.noarch
nethserver-openvpn-1.6.8-1.ns7.noarch
nethserver-sssd-1.3.7-1.ns7.noarch
nethserver-suricata-1.1.1-1.ns7.noarch
nethserver-pulledpork-2.1.2-1.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-ndpi-1.1.1-1.ns7.noarch
nethserver-dnsmasq-1.6.6-1.ns7.noarch
nethserver-lang-ru-1.2.7-1.ns7.noarch
nethserver-cgp-2.1.3-1.ns7.noarch
nethserver-httpd-3.1.4-1.ns7.noarch
nethserver-mysql-1.1.3-1.ns7.noarch
nethserver-restore-data-1.2.3-1.ns7.noarch
nethserver-virtualhosts-1.0.5-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
nethserver-letsencrypt-1.1.4-1.ns7.noarch

Hi @kelevra,

this is not a bug, the Software Center is just a summary of modules where it makes sense to install/uninstall. Not every nethserver-* package is viewable in software center but any software center entry is mappable to some packages(except of base and if you use external repos)
You don’t need to install/uninstall nethserver-base as it’s providing the base for anything else and includes some other packages…
You don’t need to install/uninstall nethserver-rh-php56-php-fpm as it’s required by other packages when needed.

The goal is to simplify package management.

Зачем мне предлагают установить то, что уже установлено!

And he disappeared from the gui

31-12-12-57

nethserver-suricata-1.1.1- 1.ns7.noarch
I deleted, and she again here and works!!!

The software displays the list of yum groups, not yum packages.

1 Like

How do I delete suricata then? In the web gui ?

Yes, or using yum removegroup from the command line

The fact of the matter is that suricata I have marked in the web gui as uninstalled! But in fact she stands and blocks the packets(turned it off). That’s the error that I was prompted to install what is already installed and can’t uninstall because the system thinks that these packages are not.

You are right, if you remove IPS from Software Center, the nethserver-* packages are removed but the suricata package is still there. To solve this you may do a yum autoremove to remove all packages not used anymore.

Как просто удалить nethserver-suricata, yum purge nethserver-suricata не затронет нужные пакеты? Сделал yum autoremove, но suricata не удалилась, но теперь она не отображается не в установленных пакетах, не в досупных для установки в web gui. Чума.

I tried it and Intrusion Prevention System was not installed and available to install in software center after yum autoremove suricata.

What was the output (errors), why was suricata not deleted?

The process has hung, after a reboot tried again and everything went away. yum autoremove suricata & yum autoremove. Everything was removed and cleaned. And how to painlessly clean traces of previously installed programs?

1 Like

Glad it works now! Usually yum does good work here, changed config files are saved as *.rpmsave. That’s the reason some dirs are still here AFAIK.

To find out which files are placed by which package you can do:

yum install yum-utils
repoquery -l suricata

To find packages by file:

yum whatprovides '/usr/share/nethesis/NethServer/Template/IPS.php'

1 Like