Update system return error

Hi!

I’m updating system and have error. Running command from error message return:

echo ‘{“action”:“update”,“packages”:[]}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-packages/update | jq

{
“state”: “running”,
“steps”: -1,
“event”: “Initialization”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Resolving RPM dependencies”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Downloading Packages”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Check Package Signatures”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Running Test Transaction”
}
Traceback (most recent call last):
File “/usr/libexec/nethserver/pkgaction”, line 274, in
main()
File “/usr/libexec/nethserver/pkgaction”, line 265, in main
syslog.syslog(syslog.LOG_ERR, message)
TypeError: [priority,] message string
{
“status”: “failed”,
“message”: “[YumTestTransactionError] Ошибки проверки сценария: package colord-libs-1.3.4-2.el7.x86_64 is already installed\n package php-ldap-5.4.16-48.el7.x86_64 is already installed\n package pytalloc-2.1.16-1.el7.x86_64 is already installed\n package polkit-0.112-26.el7.x86_64 is already installed\n package gsettings-desktop-schemas-3.28.0-3.el7.x86_64 is already installed\n package gettext-0.19.8.1-3.el7.x86_64 is already installed\n package libcanberra-gtk2-0.30-9.el7.x86_64 is already installed\n package libqb-devel-1.0.1-9.el7.x86_64 is already installed\n package boost-system-1.53.0-28.el7.x86_64 is already installed\n package ndctl-65-5.el7.x86_64 is already installed\n package libreport-python-2.1.11-53.el7.centos.x86_64 is already installed\n package sysstat-10.1.5-19.el7.x86_64 is already installed\n package libreport-filesystem-2.1.11-53.el7.centos.x86_64 is already installed\n package libreport-gtk-2.1.11-53.el7.centos.x86_64 is already installed\n package rsync-3.1.2-10.el7.x86_64 is already installed\n package parted-3.1-32.el7.x86_64 is already installed\n package nautilus-extensions-3.26.3.1-7.el7.x86_64 is already installed\n package rpcbind-0.2.0-49.el7.x86_64 is already installed\n package conntrack-tools-1.4.4-7.el7.x86_64 is already installed\n package accountsservice-libs-0.6.50-7.el7.x86_64 is already installed\n package libtalloc-2.1.16-1.el7.x86_64 is already installed\n package python-fasteners-0.9.0-3.el7.noarch is already installed\n package system-config-printer-1.4.1-23.el7.x86_64 is already installed\n package libreport-cli-2.1.11-53.el7.centos.x86_64 is already installed\n package logrotate-3.8.6-19.el7.x86_64 is already installed\n package libreport-rhel-anaconda-bugzilla-2.1.11-53.el7.centos.x86_64 is already installed\n package boost-random-1.53.0-28.el7.x86_64 is already installed\n package kpatch-0.6.1-6.el7.noarch is already installed\n package libseccomp-2.3.1-4.el7.x86_64 is already installed\n package libselinux-utils-2.5-15.el7.x86_64 is already installed\n package cryptsetup-2.0.3-6.el7.x86_64 is already installed\n package ndctl-libs-65-5.el7.x86_64 is already installed\n package setroubleshoot-3.2.30-8.el7.x86_64 is already installed\n package libreport-centos-2.1.11-53.el7.centos.x86_64 is already installed\n package libacl-2.2.51-15.el7.x86_64 is already installed\n package libcap-2.22-11.el7.x86_64 is already installed\n package php-gd-5.4.16-48.el7.x86_64 is already installed\n package avahi-gobject-0.6.31-20.el7.x86_64 is already installed\n package libselinux-devel-2.5-15.el7.x86_64 is already installed\n package php-pspell-5.4.16-48.el7.x86_64 is already installed\n package libreport-2.1.11-53.el7.centos.x86_64 is already installed\n package php-mysql-5.4.16-48.el7.x86_64 is already installed\n package libtevent-0.9.39-1.el7.x86_64 is already installed\n package kmod-libs-20-28.el7.x86_64 is already installed\n package libcanberra-0.30-9.el7.x86_64 is already installed\n package avahi-ui-gtk3-0.6.31-20.el7.x86_64 is already installed\n package setup-2.8.71-11.el7.noarch is already installed\n package libtdb-1.3.18-1.el7.x86_64 is already installed\n package colord-1.3.4-2.el7.x86_64 is already installed\n package tdb-tools-1.3.18-1.el7.x86_64 is already installed\n package mercurial-2.6.2-11.el7.x86_64 is already installed\n package cryptsetup-libs-2.0.3-6.el7.x86_64 is already installed\n package python2-blockdev-2.18-5.el7.x86_64 is already installed\n package php-cli-5.4.16-48.el7.x86_64 is already installed\n package libcanberra-gtk3-0.30-9.el7.x86_64 is already installed\n package policycoreutils-2.5-34.el7.x86_64 is already installed\n package rng-tools-6.3.1-5.el7.x86_64 is already installed\n package php-intl-5.4.16-48.el7.x86_64 is already installed\n package boost-thread-1.53.0-28.el7.x86_64 is already installed\n package libblockdev-mdraid-2.18-5.el7.x86_64 is already installed\n package hplip-libs-3.15.9-5.el7.x86_64 is already installed\n package policycoreutils-python-2.5-34.el7.x86_64 is already installed\n package doxygen-1:1.8.5-4.el7.x86_64 is already installed\n package avahi-0.6.31-20.el7.x86_64 is already installed\n package system-config-printer-udev-1.4.1-23.el7.x86_64 is already installed\n package libblockdev-utils-2.18-5.el7.x86_64 is already installed\n package system-config-printer-libs-1.4.1-23.el7.noarch is already installed\n package libreport-plugin-rhtsupport-2.1.11-53.el7.centos.x86_64 is already installed\n package libblockdev-lvm-2.18-5.el7.x86_64 is already installed\n package php-pgsql-5.4.16-48.el7.x86_64 is already installed\n package php-pdo-5.4.16-48.el7.x86_64 is already installed\n package accountsservice-0.6.50-7.el7.x86_64 is already installed\n package libreport-plugin-reportuploader-2.1.11-53.el7.centos.x86_64 is already installed\n package yum-utils-1.1.31-54.el7_8.noarch is already installed\n package smartmontools-1:7.0-2.el7.x86_64 is already installed\n package yum-plugin-changelog-1.1.31-54.el7_8.noarch is already installed\n package libqb-1.0.1-9.el7.x86_64 is already installed\n package ledmon-0.92-1.el7.x86_64 is already installed\n package libblockdev-nvdimm-2.18-5.el7.x86_64 is already installed\n package numactl-libs-2.0.12-5.el7.x86_64 is already installed\n package taglib-1.8-8.20130218git.el7.x86_64 is already installed\n package libpcap-14:1.5.3-12.el7.x86_64 is already installed\n package libcacard-40:2.7.0-1.el7.x86_64 is already installed\n package setroubleshoot-server-3.2.30-8.el7.x86_64 is already installed\n package acl-2.2.51-15.el7.x86_64 is already installed\n package sg3_utils-1:1.37-19.el7.x86_64 is already installed\n package libudisks2-2.8.4-1.el7.x86_64 is already installed\n package libreport-plugin-mantisbt-2.1.11-53.el7.centos.x86_64 is already installed\n package perl-version-3:0.99.07-6.el7.x86_64 is already installed\n package hplip-common-3.15.9-5.el7.x86_64 is already installed\n package php-process-5.4.16-48.el7.x86_64 is already installed\n package libreport-anaconda-2.1.11-53.el7.centos.x86_64 is already installed\n package libblockdev-swap-2.18-5.el7.x86_64 is already installed\n package gettext-libs-0.19.8.1-3.el7.x86_64 is already installed\n package php-mbstring-5.4.16-48.el7.x86_64 is already installed\n package libreport-web-2.1.11-53.el7.centos.x86_64 is already installed\n package tracker-1.10.5-8.el7.x86_64 is already installed\n package boost-date-time-1.53.0-28.el7.x86_64 is already installed\n package bash-completion-1:2.1-8.el7.noarch is already installed\n package libosinfo-1.1.0-5.el7.x86_64 is already installed\n package udisks2-iscsi-2.8.4-1.el7.x86_64 is already installed\n package emacs-filesystem-1:24.3-23.el7.noarch is already installed\n package daxctl-libs-65-5.el7.x86_64 is already installed\n package avahi-libs-0.6.31-20.el7.x86_64 is already installed\n package python-tdb-1.3.18-1.el7.x86_64 is already installed\n package libblockdev-loop-2.18-5.el7.x86_64 is already installed\n package kmod-20-28.el7.x86_64 is already installed\n package nautilus-3.26.3.1-7.el7.x86_64 is already installed\n package libcap-devel-2.22-11.el7.x86_64 is already installed\n package avahi-glib-0.6.31-20.el7.x86_64 is already installed\n package libreport-plugin-bugzilla-2.1.11-53.el7.centos.x86_64 is already installed\n package shared-mime-info-1.8-5.el7.x86_64 is already installed\n package sendmail-milter-8.14.7-6.el7.x86_64 is already installed\n package libselinux-python-2.5-15.el7.x86_64 is already installed\n package atk-2.28.1-2.el7.x86_64 is already installed\n package udisks2-lvm2-2.8.4-1.el7.x86_64 is already installed\n package libwvstreams-4.6.1-12.el7_8.x86_64 is already installed\n package libblockdev-fs-2.18-5.el7.x86_64 is already installed\n package libnetfilter_cthelper-1.0.0-11.el7.x86_64 is already installed\n package php-xml-5.4.16-48.el7.x86_64 is already installed\n package boost-iostreams-1.53.0-28.el7.x86_64 is already installed\n package cryptsetup-python-2.0.3-6.el7.x86_64 is already installed\n package pam-1.1.8-23.el7.x86_64 is already installed\n package libreport-plugin-mailx-2.1.11-53.el7.centos.x86_64 is already installed\n package bash-4.2.46-34.el7.x86_64 is already installed\n package fwupd-1.0.8-5.el7.x86_64 is already installed\n package libselinux-2.5-15.el7.x86_64 is already installed\n package yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch is already installed\n package passwd-0.79-6.el7.x86_64 is already installed\n package postfix-2:2.10.1-9.el7.x86_64 is already installed\n package libblockdev-part-2.18-5.el7.x86_64 is already installed\n package libreport-plugin-ureport-2.1.11-53.el7.centos.x86_64 is already installed\n package udisks2-2.8.4-1.el7.x86_64 is already installed\n package libblockdev-2.18-5.el7.x86_64 is already installed\n package php-common-5.4.16-48.el7.x86_64 is already installed\n package libnetfilter_cttimeout-1.0.0-7.el7.x86_64 is already installed\n package python-urlgrabber-3.10-10.el7.noarch is already installed\n package perl-Socket-2.010-5.el7.x86_64 is already installed\n package sg3_utils-libs-1:1.37-19.el7.x86_64 is already installed\n package libblockdev-crypto-2.18-5.el7.x86_64 is already installed\n package libffi-3.0.13-19.el7.x86_64 is already installed\n”,
“steps”: -1,
“event”: null
}
{
“id”: “1628756222”,
“type”: “EventFailed”,
“message”: “See /var/log/messages”
}

@Enio

Hi

It would be helpful to know WHAT version you’re using: 7.9, 7.8 or whatever.
And also how were you updating: Cockpit, older NethGUI or COMMAND…
In any case, more information is always helpful!

My 2 cents
Andy

Version using 7.9.2009. Updating from Cockpit.

@support_team

Hi

May need some help here… :slight_smile:

@Enio

I’m a bit out of my depth here, we need to call in the update pros… :slight_smile:

My 2 cents
Andy

Do not concider my self to be an update pro , having played with packaging learned some stuff about it.

First the analysis of the problem as far can be judged form the given information:

Stands out: Looks like your system is trying to update packages which are already updated.

Cause: No Clue

What you can try:

In cockpit hit the button reload:

And try again

if that does not work you may go to the command line and basacly do the same thing there:

yum clean all
yum makecache
yum update

If that does not work post the relevant outcome of the above commands.

1 Like

I’m also not a pro at all… :slight_smile:

Just a try: maybe it helps to rebuild the rpm database.

rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum clean all
yum update
2 Likes

Yes, that is the next step and can confirm it’s a valid command.

1 Like

Been here, done that. Waited.
Then updated.

Please also check /var/log/messages to maybe find more information about the error.

I tried to update manually from the command line under Putty-SSH - manually updates get up.