LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-24-2016, 02:40 PM   #1
jusavard
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
Weird duplicate with yum


Hi,
So my gitlab update went wrong. I did a "yum history undo". However I still see this :

Code:
[root@server1 ~]# yum list | grep gitlab
gitlab-ce.x86_64                        7.12.0~omnibus-1            @gitlab_gitlab-ce
gitlab-ce.x86_64                        8.13.0-ce.0.el6             gitlab_gitlab-ce
I don't want to keep 8.13.0-ce.0.el6 and I'm trying to remove it however it seems to be there and not at the same time...
See :

Code:
[root@server1 ~]# rpm -qa | grep -i gitl
gitlab-ce-7.12.0~omnibus-1.x86_64

[root@server1 ~]# yum-complete-transaction
Loaded plugins: product-id
gitlab_gitlab-ce/signature                                                                              |  836 B     00:00
gitlab_gitlab-ce/signature                                                                              | 1.0 kB     00:00 ...
gitlab_gitlab-ce-source/signature                                                                       |  836 B     00:00
gitlab_gitlab-ce-source/signature                                                                       |  951 B     00:00 ...
No unfinished transactions left.

[root@server1 ~]# package-cleanup --dupes
Loaded plugins: product-id

[root@server1 ~]# yum erase gitlab-ce.86_64.8.13.0-ce.0.el6
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Remove Process
No Match for argument: gitlab-ce.86_64.8.13.0-ce.0.el6
No Packages marked for removal

[root@server1 ~]# yum erase gitlab-ce-8.13.0-ce.0.el6.x86_64
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Remove Process
No Match for argument: gitlab-ce-8.13.0-ce.0.el6.x86_64
Package(s) gitlab-ce-8.13.0-ce.0.el6.x86_64 available, but not installed.
No Packages marked for removal
And trying to simply remove it will remove gitlab 7.12 not 8.13

Code:
[root@server1 ~]# yum remove gitlab-ce
Loaded plugins: product-id, security, subscription-manager
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package gitlab-ce.x86_64 0:7.12.0~omnibus-1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================
 Package                    Arch                    Version                           Repository                          Size
===============================================================================================================================
Removing:
 gitlab-ce                  x86_64                  7.12.0~omnibus-1                  @gitlab_gitlab-ce                  932 M

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

Installed size: 932 M
Is this ok [y/N]: n
Exiting on user Command
There must be a way to clean it in yum ...
 
Old 10-24-2016, 03:26 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
reread what you posted

you asked yum to list ALL files in the repos for that
then you used rpm to get WHAT WAS INSTALLED
 
  


Reply



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
[SOLVED] Upgrading to Centos 6.4, yum duplicate problem soohyun2222 Red Hat 4 07-11-2013 01:11 PM
yum install PHP: yum tries to install duplicate httpd beebopbogo Linux - Software 1 05-26-2009 02:08 AM
Yum installs duplicate packages cuco76 Linux - Software 1 10-14-2007 03:37 PM
yum plays weird.. SofNine Fedora 3 05-11-2006 05:23 PM
weird yum problem vegetassj2 Linux - Software 1 02-20-2005 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:38 AM.

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
Open Source Consulting | Domain Registration