Manual upgrade error message

NethServer Version: 7.4.1708 (Final)
Module: bash yum

When I run a (partial) upgrade from the command line with “yum update” after the update I get this message :

Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 370, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 276, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 783, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1943, in runTransaction
    self.verifyTransaction(resultobject, vTcb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2103, in verifyTransaction
    self.plugins.run('postverifytrans')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/nethserver_events.py", line 164, in postverifytrans_hook
    nethserver_packages = read_package_list()
  File "/usr/lib/yum-plugins/nethserver_events.py", line 87, in read_package_list
    packages = topological_sort(touples)
  File "/usr/lib/yum-plugins/nethserver_events.py", line 141, in topological_sort
    traverse(st.keys(), list())
  File "/usr/lib/yum-plugins/nethserver_events.py", line 140, in traverse
    traverse(st[s].keys(), seen)
  File "/usr/lib/yum-plugins/nethserver_events.py", line 140, in traverse
    traverse(st[s].keys(), seen)
  File "/usr/lib/yum-plugins/nethserver_events.py", line 138, in traverse
    raise GraphError('contains cycle: ', seen)
nethserver_events.GraphError: ('contains cycle: ', ['nethserver-base', 'nethserver-lsm', 'nethserver-httpd', 'nethserver-mail-smarthost', 'nethserver-mail-server', 'nethserver-rh-php56-php-fpm', 'nethserver-hosts', 'nethserver-dnsmasq'])

Should I worry or is it normal behaviour when upgrading from command line?

yum clean all and yum update should fix
nethserver-hosts and nethserver-dnsmasq needs to be updated together or they introduce a circular dependency, but the second one has been released a bit too late.
Here the correct versions:
# rpm -q nethserver-hosts nethserver-dnsmasq nethserver-hosts-1.2.2-1.ns7.noarch nethserver-dnsmasq-1.6.6-1.ns7.noarch

2 Likes

Are the latest updates safe? I got a lill hesitant to update since latest major update :angel:
And I saw some recent updates are just released yesterday.

they’re tested, they should

2 Likes

Indeed, they seem ok, I’ll try a reboot tomorrow morning, before office hours.