LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2016, 11:41 PM   #1
crltzn
LQ Newbie
 
Registered: Sep 2015
Posts: 8

Rep: Reputation: Disabled
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!
 
Old 03-14-2016, 05:10 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,527

Rep: Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439
looks like something damaged. Try to install first and uninstall again. Did you install another version too?
 
Old 03-14-2016, 06:20 AM   #3
crltzn
LQ Newbie
 
Registered: Sep 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-14-2016, 07:23 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,527

Rep: Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439Reputation: 2439
yum reinstall package
 
Old 03-14-2016, 07:39 AM   #5
crltzn
LQ Newbie
 
Registered: Sep 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi,

It is ok now.. Thanks a lot pan64
 
Old 03-14-2016, 11:57 AM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,726
Blog Entries: 3

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by crltzn View Post
It is ok now.. Thanks a lot pan64
Hi...

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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Goodbye Docker on CentOS. Hello Ubuntu! LXer Syndicated Linux News 0 01-17-2016 09:27 PM
Docker command completion on Centos 7? szboardstretcher Linux - Virtualization and Cloud 1 10-12-2014 02:51 AM
LXer: How to run Docker containers on CentOS or Fedora LXer Syndicated Linux News 0 05-08-2014 07:11 AM
[SOLVED] unistall dansguardian from centos Gil@LQ Linux - Software 3 07-23-2012 02:31 PM


All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration