Hello,
I issued
# yum update
and received below error. Any idea?
# yum update
Loaded plugins: fastestmirror, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
* cpanel-addons-production-feed: 204.10.37.146
* base: mirrors.oit.uci.edu
* extras: centos-distro.1gservers.com
* updates: centos-distro.1gservers.com
Resolving Dependencies
--> Running transaction check
---> Package ORBit2.x86_64 0:2.14.17-6.el6_8 will be updated
---> Package ORBit2.x86_64 0:2.14.17-7.el6 will be an update
---> Package bind.x86_64 32:9.8.2-0.62.rc1.el6_9.5 will be updated
---> Package bind.x86_64 32:9.8.2-0.68.rc1.el6_10.1 will be an update
---> Package bind-devel.x86_64 32:9.8.2-0.62.rc1.el6_9.5 will be updated
---> Package bind-devel.x86_64 32:9.8.2-0.68.rc1.el6_10.1 will be an update
---> Package bind-libs.x86_64 32:9.8.2-0.62.rc1.el6_9.5 will be updated
---> Package bind-libs.x86_64 32:9.8.2-0.68.rc1.el6_10.1 will be an update
---> Package bind-utils.x86_64 32:9.8.2-0.62.rc1.el6_9.5 will be updated
---> Package bind-utils.x86_64 32:9.8.2-0.68.rc1.el6_10.1 will be an update
---> Package ca-certificates.noarch 0:2017.2.14-65.0.1.el6_9 will be updated
---> Package ca-certificates.noarch 0:2018.2.22-65.1.el6 will be an update
---> Package centos-release.x86_64 0:6-9.el6.12.3 will be updated
---> Package centos-release.x86_64 0:6-10.el6.centos.12.3 will be an update
---> Package cpanel-dovecot-solr.noarch 0:6.6.2-5.1 will be updated
---> Package cpanel-dovecot-solr.noarch 0:6.6.2-8.1 will be an update
--> Processing Dependency: cpanel-dovecot-solr-server = 6.6.2-8.1 for package: cpanel-dovecot-solr-6.6.2-8.1.noarch
--> Processing Dependency: cpanel-dovecot-solr-docs = 6.6.2-8.1 for package: cpanel-dovecot-solr-6.6.2-8.1.noarch
--> Processing Dependency: cpanel-dovecot-solr-contrib-extraction = 6.6.2-8.1 for package: cpanel-dovecot-solr-6.6.2-8.1.noarch
--> Processing Dependency: cpanel-dovecot-solr-contrib = 6.6.2-8.1 for package: cpanel-dovecot-solr-6.6.2-8.1.noarch
--> Processing Dependency: cpanel-dovecot-solr-server for package: cpanel-dovecot-solr-6.6.2-8.1.noarch
--> Processing Dependency: cpanel-dovecot-solr-server for package: cpanel-dovecot-solr-6.6.2-8.1.noarch
---> Package cpanel-wordpress-instance-manager-plugin.noarch 0:1.1.6-1.1.1.cpanel will be updated
---> Package cpanel-wordpress-instance-manager-plugin.noarch 0:1.1.6-2.2.1.cpanel will be updated
---> Package cpanel-wordpress-instance-manager-plugin.noarch 0:2.0.0-1.1.1.cpanel will be an update
---> Package cups-libs.x86_64 1:1.4.2-78.el6_9 will be updated
---> Package cups-libs.x86_64 1:1.4.2-79.el6 will be an update
---> Package dbus.x86_64 1:1.2.24-8.el6_6 will be updated
---> Package dbus.x86_64 1:1.2.24-9.el6 will be an update
---> Package dbus-libs.x86_64 1:1.2.24-8.el6_6 will be updated
---> Package dbus-libs.x86_64 1:1.2.24-9.el6 will be an update
---> Package dhclient.x86_64 12:4.1.1-53.P1.el6.centos.4 will be updated
---> Package dhclient.x86_64 12:4.1.1-63.P1.el6.centos will be an update
---> Package dhcp-common.x86_64 12:4.1.1-53.P1.el6.centos.4 will be updated
---> Package dhcp-common.x86_64 12:4.1.1-63.P1.el6.centos will be an update
---> Package glib2.i686 0:2.28.8-9.el6 will be updated
---> Package glib2.x86_64 0:2.28.8-9.el6 will be updated
---> Package glib2.i686 0:2.28.8-10.el6 will be an update
---> Package glib2.x86_64 0:2.28.8-10.el6 will be an update
---> Package gmp.x86_64 0:4.3.1-12.el6 will be updated
---> Package gmp.x86_64 0:4.3.1-13.el6 will be an update
---> Package gnupg2.x86_64 0:2.0.14-8.el6 will be updated
---> Package gnupg2.x86_64 0:2.0.14-9.el6_10 will be an update
---> Package gnutls.x86_64 0:2.12.23-21.el6 will be updated
---> Package gnutls.x86_64 0:2.12.23-22.el6 will be an update
---> Package hwdata.noarch 0:0.233-18.1.el6 will be updated
---> Package hwdata.noarch 0:0.233-20.1.el6 will be an update
---> Package initscripts.x86_64 0:9.03.58-1.el6.centos.2 will be updated
---> Package initscripts.x86_64 0:9.03.61-1.el6.centos will be an update
---> Package iproute.x86_64 0:2.6.32-54.el6 will be updated
---> Package iproute.x86_64 0:2.6.32-57.el6 will be an update
---> Package iptables.x86_64 0:1.4.7-16.el6 will be updated
---> Package iptables.x86_64 0:1.4.7-19.el6 will be an update
---> Package iptables-ipv6.x86_64 0:1.4.7-16.el6 will be updated
---> Package iptables-ipv6.x86_64 0:1.4.7-19.el6 will be an update
---> Package jasper-libs.x86_64 0:1.900.1-21.el6_9 will be updated
---> Package jasper-libs.x86_64 0:1.900.1-22.el6 will be an update
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-3.b14.el6_9 will be updated
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.171-3.b10.el6_9 will be updated
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.171-8.b10.el6_9 will be updated
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.191.b12-0.el6_10 will be an update
---> Package kernel-devel.x86_64 0:2.6.32-754.6.3.el6 will be installed
---> Package kernel-headers.x86_64 0:2.6.32-696.30.1.el6 will be updated
---> Package kernel-headers.x86_64 0:2.6.32-754.6.3.el6 will be an update
---> Package libgcj.x86_64 0:4.4.7-18.el6_9.2 will be updated
---> Package libgcj.x86_64 0:4.4.7-23.el6 will be an update
---> Package libnih.x86_64 0:1.0.1-7.el6 will be updated
---> Package libnih.x86_64 0:1.0.1-8.el6 will be an update
---> Package libtirpc.x86_64 0:0.2.1-13.el6_9 will be updated
---> Package libtirpc.x86_64 0:0.2.1-15.el6 will be an update
---> Package mailx.x86_64 0:12.4-8.el6_6 will be updated
---> Package mailx.x86_64 0:12.4-10.el6_10 will be an update
---> Package nspr.x86_64 0:4.13.1-1.el6 will be updated
---> Package nspr.x86_64 0:4.19.0-1.el6 will be an update
---> Package nss.x86_64 0:3.28.4-4.el6_9 will be updated
---> Package nss.x86_64 0:3.36.0-9.el6_10 will be an update
---> Package nss-sysinit.x86_64 0:3.28.4-4.el6_9 will be updated
---> Package nss-sysinit.x86_64 0:3.36.0-9.el6_10 will be an update
---> Package nss-tools.x86_64 0:3.28.4-4.el6_9 will be updated
---> Package nss-tools.x86_64 0:3.36.0-9.el6_10 will be an update
---> Package nss-util.x86_64 0:3.28.4-1.el6_9 will be updated
---> Package nss-util.x86_64 0:3.36.0-1.el6 will be an update
---> Package rpcbind.x86_64 0:0.2.0-13.el6_9.1 will be updated
---> Package rpcbind.x86_64 0:0.2.0-16.el6 will be an update
---> Package rsyslog.x86_64 0:5.8.10-10.el6_6 will be updated
---> Package rsyslog.x86_64 0:5.8.10-12.el6 will be an update
---> Package samba.x86_64 0:3.6.23-46el6_9 will be updated
---> Package samba.x86_64 0:3.6.23-51.el6 will be an update
---> Package samba-client.x86_64 0:3.6.23-46el6_9 will be updated
---> Package samba-client.x86_64 0:3.6.23-51.el6 will be an update
---> Package samba-common.x86_64 0:3.6.23-46el6_9 will be updated
---> Package samba-common.x86_64 0:3.6.23-51.el6 will be an update
---> Package samba-winbind.x86_64 0:3.6.23-46el6_9 will be updated
---> Package samba-winbind.x86_64 0:3.6.23-51.el6 will be an update
---> Package samba-winbind-clients.x86_64 0:3.6.23-46el6_9 will be updated
---> Package samba-winbind-clients.x86_64 0:3.6.23-51.el6 will be an update
---> Package tzdata.noarch 0:2018e-3.el6 will be updated
---> Package tzdata.noarch 0:2018f-1.el6 will be an update
---> Package tzdata-java.noarch 0:2018e-3.el6 will be updated
---> Package tzdata-java.noarch 0:2018f-1.el6 will be an update
---> Package upstart.x86_64 0:0.6.5-16.el6 will be updated
---> Package upstart.x86_64 0:0.6.5-17.el6 will be an update
---> Package wp-cli.noarch 0:1.5.1-2.2.1.cpanel will be updated
---> Package wp-cli.noarch 0:1.5.1-2.2.2.cpanel will be an update
---> Package yum.noarch 0:3.2.29-81.el6.centos will be updated
---> Package yum.noarch 0:3.2.29-81.el6.centos.0.1 will be an update
---> Package yum-plugin-fastestmirror.noarch 0:1.1.30-40.el6 will be updated
---> Package yum-plugin-fastestmirror.noarch 0:1.1.30-42.el6_10 will be an update
---> Package yum-utils.noarch 0:1.1.30-40.el6 will be updated
---> Package yum-utils.noarch 0:1.1.30-42.el6_10 will be an update
---> Package zsh.x86_64 0:4.3.11-4.el6.centos.2 will be updated
---> Package zsh.x86_64 0:4.3.11-9.el6_10 will be an update
--> Running transaction check
---> Package cpanel-dovecot-solr-contrib.noarch 0:6.6.2-8.1 will be installed
---> Package cpanel-dovecot-solr-contrib-extraction.noarch 0:6.6.2-8.1 will be installed
---> Package cpanel-dovecot-solr-docs.noarch 0:6.6.2-8.1 will be installed
---> Package cpanel-dovecot-solr-server.noarch 0:6.6.2-8.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
kernel-devel x86_64 2.6.32-754.6.3.el6 updates 11 M
Updating:
ORBit2 x86_64 2.14.17-7.el6 base 172 k
bind x86_64 32:9.8.2-0.68.rc1.el6_10.1 updates 4.0 M
bind-devel x86_64 32:9.8.2-0.68.rc1.el6_10.1 updates 386 k
bind-libs x86_64 32:9.8.2-0.68.rc1.el6_10.1 updates 892 k
bind-utils x86_64 32:9.8.2-0.68.rc1.el6_10.1 updates 189 k
ca-certificates noarch 2018.2.22-65.1.el6 base 930 k
centos-release x86_64 6-10.el6.centos.12.3 base 22 k
cpanel-dovecot-solr noarch 6.6.2-8.1 cpanel-plugins 21 M
cpanel-wordpress-instance-manager-plugin noarch 2.0.0-1.1.1.cpanel cpanel-addons-production-feed 165 k
cups-libs x86_64 1:1.4.2-79.el6 base 323 k
dbus x86_64 1:1.2.24-9.el6 base 211 k
dbus-libs x86_64 1:1.2.24-9.el6 base 127 k
dhclient x86_64 12:4.1.1-63.P1.el6.centos updates 323 k
dhcp-common x86_64 12:4.1.1-63.P1.el6.centos updates 145 k
glib2 i686 2.28.8-10.el6 base 1.7 M
glib2 x86_64 2.28.8-10.el6 base 1.7 M
gmp x86_64 4.3.1-13.el6 base 207 k
gnupg2 x86_64 2.0.14-9.el6_10 updates 1.6 M
gnutls x86_64 2.12.23-22.el6 base 389 k
hwdata noarch 0.233-20.1.el6 base 1.4 M
initscripts x86_64 9.03.61-1.el6.centos base 949 k
iproute x86_64 2.6.32-57.el6 base 386 k
iptables x86_64 1.4.7-19.el6 base 255 k
iptables-ipv6 x86_64 1.4.7-19.el6 base 103 k
jasper-libs x86_64 1.900.1-22.el6 base 139 k
java-1.8.0-openjdk-headless x86_64 1:1.8.0.191.b12-0.el6_10 updates 32 M
kernel-headers x86_64 2.6.32-754.6.3.el6 updates 4.5 M
libgcj x86_64 4.4.7-23.el6 base 19 M
libnih x86_64 1.0.1-8.el6 base 138 k
libtirpc x86_64 0.2.1-15.el6 base 82 k
mailx x86_64 12.4-10.el6_10 updates 235 k
nspr x86_64 4.19.0-1.el6 base 114 k
nss x86_64 3.36.0-9.el6_10 updates 865 k
nss-sysinit x86_64 3.36.0-9.el6_10 updates 53 k
nss-tools x86_64 3.36.0-9.el6_10 updates 460 k
nss-util x86_64 3.36.0-1.el6 base 72 k
rpcbind x86_64 0.2.0-16.el6 base 51 k
rsyslog x86_64 5.8.10-12.el6 base 650 k
samba x86_64 3.6.23-51.el6 base 5.1 M
samba-client x86_64 3.6.23-51.el6 base 11 M
samba-common x86_64 3.6.23-51.el6 base 10 M
samba-winbind x86_64 3.6.23-51.el6 base 2.2 M
samba-winbind-clients x86_64 3.6.23-51.el6 base 2.0 M
tzdata noarch 2018f-1.el6 updates 498 k
tzdata-java noarch 2018f-1.el6 updates 186 k
upstart x86_64 0.6.5-17.el6 base 177 k
wp-cli noarch 1.5.1-2.2.2.cpanel cpanel-addons-production-feed 895 k
yum noarch 3.2.29-81.el6.centos.0.1 updates 1.0 M
yum-plugin-fastestmirror noarch 1.1.30-42.el6_10 updates 33 k
yum-utils noarch 1.1.30-42.el6_10 updates 114 k
zsh x86_64 4.3.11-9.el6_10 updates 2.2 M
Installing for dependencies:
cpanel-dovecot-solr-contrib noarch 6.6.2-8.1 cpanel-plugins 30 M
cpanel-dovecot-solr-contrib-extraction noarch 6.6.2-8.1 cpanel-plugins 33 M
cpanel-dovecot-solr-docs noarch 6.6.2-8.1 cpanel-plugins 4.3 M
cpanel-dovecot-solr-server noarch 6.6.2-8.1 cpanel-plugins 51 M
Transaction Summary
========================================================================================================================================================================
Install 5 Package(s)
Upgrade 51 Package(s)
Total size: 260 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
/usr/lib/python2.6/site-packages/yum/history.py:763: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if checksum == sql_checksum:
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 298, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 227, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 588, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1537, in runTransaction
self.skipped_packages, rpmdb_problems, cmdline)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 943, in beg
pid = self.pkg2pid(txmbr.po)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 800, in pkg2pid
return self._ipkg2pid(po, create)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 794, in _ipkg2pid
return self._pkgtup2pid(po.pkgtup, csum, create)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 777, in _pkgtup2pid
checksum))
File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 168, in executeSQLQmark
return cursor.execute(query, params)
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Some system information:
# cat /etc/redhat-release
CentOS release 6.9 (Final)
# yum --version
3.2.29
Installed: rpm-4.8.0-59.el6.x86_64 at 2018-08-03 01:01
Built : CentOS BuildSystem <http://bugs.centos.org> at 2018-06-19 15:56
Committed: Panu Matilainen <pmatilai@redhat.com> at 2018-03-26
Installed: yum-3.2.29-81.el6.centos.noarch at 2017-04-06 06:02
Built : CentOS BuildSystem <http://bugs.centos.org> at 2017-03-22 05:32
Committed: Johnny Hughes <johnny@centos.org> at 2017-03-21
Installed: yum-plugin-fastestmirror-1.1.30-40.el6.noarch at 2017-04-06 06:02
Built : CentOS BuildSystem <http://bugs.centos.org> at 2017-03-22 04:49
Committed: Valentina Mukhamedzhanova <vmukhame@redhat.com> at 2016-11-25
Regards,