LoginSignup
0
0

More than 5 years have passed since last update.

How to fix python2-dialog yum error

Last updated at Posted at 2017-10-10

yum update error in python2-dialog

# yum install python2-dialog

Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package python2-dialog.noarch 0:3.3.0-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch           Version               Repository    Size
================================================================================
Installing:
 python2-dialog         noarch         3.3.0-6.el7           epel          94 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 94 k
Installed size: 508 k
Is this ok [y/d/N]: y
Downloading packages:
python2-dialog-3.3.0-6.el7.noarch.rpm                      |  94 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-dialog-3.3.0-6.el7.noarch                            1/1 
Error unpacking rpm package python2-dialog-3.3.0-6.el7.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/python2_pythondialog-3.3.0-py2.7.egg-info: cpio: rename
  Verifying  : python2-dialog-3.3.0-6.el7.noarch                            1/1 

Failed:
  python2-dialog.noarch 0:3.3.0-6.el7                                           

Complete!

check pip

# pip list
certbot (0.18.1)
python2-pythondialog (3.3.0)

remove from pip, then yum update

# pip uninstall python2-pythondialog
Uninstalling python2-pythondialog-3.3.0:
  /usr/lib/python2.7/site-packages/dialog.py
  /usr/lib/python2.7/site-packages/dialog.pyc
  /usr/lib/python2.7/site-packages/python2_pythondialog-3.3.0-py2.7.egg-info
Proceed (y/n)? y
  Successfully uninstalled python2-pythondialog-3.3.0

# yum install python2-dialog
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package python2-dialog.noarch 0:3.3.0-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch           Version               Repository    Size
================================================================================
Installing:
 python2-dialog         noarch         3.3.0-6.el7           epel          94 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 94 k
Installed size: 508 k
Is this ok [y/d/N]: y
Downloading packages:
python2-dialog-3.3.0-6.el7.noarch.rpm                      |  94 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-dialog-3.3.0-6.el7.noarch                            1/1 
  Verifying  : python2-dialog-3.3.0-6.el7.noarch                            1/1 

Installed:
  python2-dialog.noarch 0:3.3.0-6.el7                                           

Complete!

:smile:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0