Sponsored Content
Full Discussion: Yum update error
Operating Systems Linux Fedora Yum update error Post 303025556 by feroccimx on Monday 5th of November 2018 12:07:33 PM
Old 11-05-2018
After doing one by one package update, I isolate issue to
Code:
cups-libs

Code:
# 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 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
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                  Arch                                  Version                                       Repository                           Size
========================================================================================================================================================================
Updating:
 cups-libs                                x86_64                                1:1.4.2-79.el6                                base                                323 k

Transaction Summary
========================================================================================================================================================================
Upgrade       1 Package(s)

Total size: 323 k
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.

I think my system could live without it.

Thank you Neo!
 

10 More Discussions You Might Find Interesting

1. Linux

update packages with yum

Hello Is there a way to update a package to a specific version with yum? So, I have version 1 of package A installed. Versions 2 and 3 are available, but I only want to upgrade to version 2. Any assistance would be appreciated. Thanks! (1 Reply)
Discussion started by: garskoci
1 Replies

2. Red Hat

Yum Update

I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies

3. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

4. Linux

Yum update/install script

Any one know of a way to do a yum -install and draw the argument of what to install from a text file? I have a huge list of rpms that I have to install on a bunch of machines and I would like to run one script that goes to each machine and installs all rpms in the list I have. (2 Replies)
Discussion started by: rd42
2 Replies

5. Red Hat

Yum Update and Kernels

I have a server running CentOS 5 and when yum update is run and a new kernel is installed and there are more then 3 kernels installed the oldest ones are removed. Anyway to achieve this with CentOS 4? Matt (1 Reply)
Discussion started by: lforum
1 Replies

6. Shell Programming and Scripting

Yum update using expect

Hi, I have an expect script which connects to whatever Ip is passed to it. It performs a variety of tasks, all of which it completes fine except for the yum updates. For some reason it sends commands early, during the yum update. Any ideas? Thanks. (2 Replies)
Discussion started by: meor
2 Replies

7. Red Hat

Specify version in yum update

Hello All, I am trying to upgrade redhat from 5.6 to 5.8. When i use Code: yum update -y it installs 5.9 I dont want 5.9, instead i would like to upgrade to 5.8 is there anyway to specify a version when you are doing Code: yum update (4 Replies)
Discussion started by: adam25ca
4 Replies

8. Red Hat

Cant update yum what so ever [Errno 14] HTTP Error 404 - Not Found

Hello!!! I am so frustrated I'm about to snap!!! I cant hear any sound in Firefox or re-install Chrome. Every time I try to do anything with YUM inside my terminal (like update or install) I keep getting this error:failure: repodata/repomd.xml from virtualbox: No more mirrors to try. I... (2 Replies)
Discussion started by: ApacheOmega
2 Replies

9. Red Hat

Unable to perform yum update

Hi, I run RHEL 5.2 as a server in my lab. Now the issue I am facing is that I am unable to update my machine using yum update. It shows an error of missing dependencies though dependencies are already installed. Please help me to do that. Error screen shot is also attached. (9 Replies)
Discussion started by: Ankur Goyal
9 Replies

10. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
yum-updatesd.conf(5)					  yum-updatesd configuration file				      yum-updatesd.conf(5)

NAME
yum-updatesd.conf - Configuration file for yum-updatesd(8). DESCRIPTION
yum-updatesd uses a configuration file at /etc/yum/yum-updatesd.conf. Additional configuration information is read from the main yum.conf (5) configuration file. PARAMETERS
There is one section in the yum-updatesd configuration file, main, which defines all of the global configuration options. [main] OPTIONS The [main] section must exist for yum-updatesd to do anything. It consists of the following options: run_interval Number of seconds to wait between checks for available updates. updaterefresh Minimum number of seconds between update information refreshes to avoid hitting the server too often. emit_via List of ways to emit update notification. Valid values are `email', `dbus' and `syslog'. do_update Boolean option to decide whether or not updates should be automatically applied. Defaults to False. do_download_deps Boolean option to decide whether or not updates should be automatically downloaded. Defaults to False. do_download_deps Boolean option to automatically download dependencies of packages which need updating as well. Defaults to False. MAIL OPTIONS
email_to List of email addresses to send update notification to. Defaults to `root@localhost'. email_from Email address for update notifications to be from. Defaults to `yum-updatesd@localhost'. SYSLOG OPTIONS
syslog_facility What syslog facility should be used. Defaults to `DAEMON'. syslog_level Level of syslog messages. Defaults to `WARN'. FILES
/etc/yum/yum-updatesd.conf SEE ALSO
yum-updatesd(8) yum.conf(5) Jeremy Katz yum-updatesd.conf(5)
All times are GMT -4. The time now is 07:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy