unistall docker on centos
Hi,
How can I unistall docker on centos? I try to use sudo yum remove docker-engine.x86_64 but I cant remove it. Below is my log. Thanks in advance. $ sudo yum remove docker-engine.x86_64 Loaded plugins: fastestmirror, security Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package docker-engine.x86_64 0:1.7.1-1.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================== ================================================== Package Arch Version Repository Size ==================================================================================================== ================================================== Removing: docker-engine x86_64 1.7.1-1.el6 @/ 19 M Transaction Summary ==================================================================================================== ================================================== Remove 1 Package(s) Installed size: 19 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction error reading information on service docker: Invalid argument error: %preun(docker-engine-1.7.1-1.el6.x86_64) scriptlet failed, exit status 1 Error in PREUN scriptlet in rpm package docker-engine docker-engine-1.7.1-1.el6.x86_64 was supposed to be removed but is not! Verifying : docker-engine-1.7.1-1.el6.x86_64 1/1 Failed: docker-engine.x86_64 0:1.7.1-1.el6 Complete! |
looks like something damaged. Try to install first and uninstall again. Did you install another version too?
|
Hi,
When I try to install it this will pop up. #sudo yum install docker-engine Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.sonic.net * epel: mirror.sfo12.us.leaseweb.net * extras: mirror.web-ster.com * updates: centos.sonn.com Package docker-engine-1.7.1-1.el6.x86_64 already installed and latest version Nothing to do |
yum reinstall package
|
Hi,
It is ok now.. Thanks a lot pan64 |
Quote:
Glad you were able to get this resolved. If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks! :) Regards... |
All times are GMT -5. The time now is 12:47 PM. |