Unable to check update due to a system error

So, interestingly I found the following:

And it appears to be a very similar error. I did some of the same checks:

# yum info python-dateutil
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.airenetworks.es
 * epel: mirror.airenetworks.es
 * extras: mirror.airenetworks.es
 * updates: mirror.airenetworks.es
Installed Packages
Name        : python-dateutil
Arch        : noarch
Version     : 1.5
Release     : 7.el7
Size        : 343 k
Repo        : installed
From repo   : anaconda
Summary     : Powerful extensions to the standard datetime module
URL         : http://labix.org/python-dateutil
License     : Python
Description : The dateutil module provides powerful extensions to the standard
            : datetime module available in Python 2.3+.

and checking LANG:

# echo $LANG
en_US.UTF-8

and when I look at /usr/lib/yum-plugins/changelog.py at line 215, I have the same ‘garbage’:

            if self._since_dto == dateutil_parser.parse('garbage', fuzzy=True):
                # 'since' was a package name, not a date
                extcmds.insert(0, since)

Finally, once I change ‘garbage’ to since, like @DarkYamik suggested, then everything loads and works fine.

So not sure what is the issue, maybe a bug in the python date-util package?

1 Like