Nethserver Updates failing due to missing package

When attempting to update Nethserver through the gui, I get this error: "The following command has failed: system-packages/update"
When I ran the command in the terminal, I get the error:
“status”: “failed”,
“message”: “[YumRPMCheckError] [u’ERROR with transaction check vs depsolve:’, ‘libv8.so.3()(64bit) is needed by (installed) mongodb-server-2.6.12-6.el7.x86_64’]”,
“steps”: -1,
“event”: null
I attempted to yum install the missing package manually and it could not be located. I’m concerned about running any more yum commands as I don’t want to trigger unwanted updates that could break Nethserver. Thanks, any insight would be appreciated.
I’m running Nethserver 7.9.2009.

Hi and welcome to NethServer Community,

Did you install mongodb-server manually? If you don’t need it, removing it should solve the issue.

Thanks for your reply; no, I’ve not installed any packages manually on the box in question.

Did you install NethServer on CentOS?

Could you share the output of following command to check the installed software:

rpm -qa "nethserver-*" | sort

Let’s check installed repos:

ls /etc/yum.repos.d/

You may try to remove mongodb-server (better have a backup or snapshot):

yum remove mongodb-server

I installed Nethserver using the official iso. It’s been so long I don’t remember what version it originally was.

rpm -qa “nethserver-*” | sort
nethserver-antivirus-1.5.1-1.ns7.noarch
nethserver-backup-config-2.5.2-1.ns7.noarch
nethserver-backup-data-1.7.6-1.ns7.noarch
nethserver-base-3.9.0-1.ns7.noarch
nethserver-cockpit-1.10.8-1.ns7.noarch
nethserver-cockpit-lib-1.10.8-1.ns7.noarch
nethserver-collectd-3.1.1-1.ns7.noarch
nethserver-dc-1.8.2-1.ns7.x86_64
nethserver-diagtools-1.0.3-1.ns7.noarch
nethserver-dnsmasq-1.7.2-1.ns7.noarch
nethserver-duc-1.7.0-1.ns7.noarch
nethserver-fail2ban-1.7.3-1.ns7.noarch
nethserver-firewall-base-3.18.1-1.ns7.noarch
nethserver-freepbx-14.2.10-1.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-3.12.2-1.ns7.noarch
nethserver-httpd-admin-2.7.0-1.ns7.noarch
nethserver-httpd-admin-service-2.7.0-1.ns7.noarch
nethserver-httpd-virtualhosts-3.12.2-1.ns7.noarch
nethserver-lang-cockpit-1.4.6-17.ns7.noarch
nethserver-lang-en-1.4.6-17.ns7.noarch
nethserver-lib-2.2.11-1.ns7.noarch
nethserver-lsm-1.2.4-1.ns7.noarch
nethserver-mail-common-2.31.4-1.ns7.noarch
nethserver-mail-disclaimer-2.31.4-1.ns7.noarch
nethserver-mail-filter-2.31.4-1.ns7.noarch
nethserver-mail-getmail-2.31.4-1.ns7.noarch
nethserver-mail-imapsync-2.31.4-1.ns7.noarch
nethserver-mail-server-2.31.4-1.ns7.noarch
nethserver-mail-smarthost-2.31.4-1.ns7.noarch
nethserver-mysql-1.1.5-1.ns7.noarch
nethserver-netdata-2.0.2-1.ns7.noarch
nethserver-nethforge-release-7-3.ns7.noarch
nethserver-nextcloud-1.19.1-1.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-openssh-1.8.0-1.ns7.noarch
nethserver-phonehome-1.4.0-1.ns7.noarch
nethserver-php-1.3.0-1.ns7.noarch
nethserver-release-7-19.ns7.noarch
nethserver-restore-data-2.0.7-1.ns7.noarch
nethserver-rh-mariadb105-1.0.0-1.ns7.noarch
nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch
nethserver-rh-php71-php-fpm-1.1.2-1.ns7.noarch
nethserver-rh-php72-php-fpm-1.1.1-1.ns7.noarch
nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch
nethserver-roundcubemail-1.5.1-1.ns7.noarch
nethserver-samba-4.6.0-1.ns7.noarch
nethserver-samba-audit-1.3.2-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-sssd-1.7.1-1.ns7.noarch
nethserver-subscription-3.6.8-1.ns7.noarch
nethserver-subscription-inventory-3.6.8-1.ns7.x86_64
nethserver-subscription-ui-3.6.8-1.ns7.noarch
nethserver-unbound-1.1.1-1.ns7.noarch
nethserver-unixODBC-1.0.0-1.ns7.noarch
nethserver-vsftpd-1.1.1-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch

ls /etc/yum.repos.d/
CentOS-Base.repo CentOS-SCLo-scl.repo.rpmnew epel.repo
CentOS-CR.repo CentOS-SCLo-scl-rh.repo epel-testing.repo
CentOS-Debuginfo.repo CentOS-SCLo-scl-rh.repo.rpmnew NethForge.repo
CentOS-fasttrack.repo CentOS-Sources.repo NethServer.repo
CentOS-Media.repo CentOS-Vault.repo subscription.repo
CentOS-SCLo-scl.repo CentOS-x86_64-kernel.repo

Is there any way to tell if mongodb is actually being used by anything other than removing it? It’s not something I installed manually so I have concerns about breaking the server if I remove it.

Mongodb-server isn’t used in NethServer base modules.

You may run

yum remove mongodb-server

just to check which packages are going to be removed. You are asked if you want to remove it.
You may post the output here so we can check if too much is removed.

Thanks, that resolved the issue. Mongodb-server was the only package that needed to be removed. I still have no idea how it got there but, now that it’s gone, updates are now working properly. :slight_smile:

2 Likes

One software I played around which needed mongo-db was UniFi Management of Ubiquiti. Wrote/update some hints and commands for install it on NethServer. Useless now, because…
Mongo-db version required is not provided by CentOS7 (actually, a dependency…)
and
UniFi major version switched to 6 quite some years ago…

1 Like

Also iirc mesh Central uses it

1 Like

MeshCentral uses rh-mongodb36 which is still available.