LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-28-2015, 12:33 AM   #1
poznir
LQ Newbie
 
Registered: May 2015
Posts: 6

Rep: Reputation: Disabled
redhat 6, yum install missing packages


Hi im using redhat 6.6 (at work)
when trying to install for example:
sudo yum install gitg
I get a message that no such package

My friend has redhat 6.6 too
And has gitg installed, yum info gitg
Tells that it came from one of the repos i have too..

In fact we campred the repos using yum repolist

We have the same repos!

So how is it possible i cant find packages he has?

Thanks
 
Old 05-28-2015, 01:33 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what software repos are installed ?
please post the output of
Code:
su -
yum repolist all
this will inform us as to the status
if it is turned ON
or if it is OFF


and you REALLY should check if the name is correct with a search
Code:
su -
yum search gitg
 
Old 05-28-2015, 02:34 AM   #3
poznir
LQ Newbie
 
Registered: May 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
my repolist is:

repo id repo name status
RHEL-6-x86_64-rational-linux Open Client for Linux RHEL 6 x86_64 - Rational enabled: 11
RHEL-66-x86_64 Open Client for Linux RHEL 6.6 x86_64 enabled: 7,355
RHEL-66-x86_64-early-adopter Open Client for Linux RHEL 6.6 x86_64 Early Adopter enabled: 10
RHEL-66-x86_64-ibm-updates Open Client for Linux RHEL 6.6 x86_64 --- Updates enabled: 205
RHEL-66-x86_64-updates Open Client for Linux RHEL 6.6 x86_64 Updates enabled: 542
RHEL6-x86_64-____-upgrade Open Client for Linux RHEL 6 x86_64 --- Updates enabled: 31
epel Extra Packages for Enterprise Linux 6 - x86_64 enabled: 11,523+49
epel-debuginfo Extra Packages for Enterprise Linux 6 - x86_64 - Debug disabled
epel-source Extra Packages for Enterprise Linux 6 - x86_64 - Source disabled
occ-auto Packages Built and Maintained by the Open Client Community enabled: 327+7
repolist: 20,004

when i run: yum search gitg i get:

Warning: No matches found for: gitg
No Matches found


when my friend (other computer with redhat 6.6) run yum info gitg (he has it installed) this is the info:

Installed Packages
Name : gitg
Arch : x86_64
Version : 0.0.6
Release : 3.el6
Size : 704 k
Repo : installed
From repo : occ-auto
Summary : GTK+ graphical interface for the git revision control system
URL : http://trac.novowork.com/gitg
License : GPLv2+
Description : gitg is a GitX clone for GNOME/gtk+. It aims at being a small,
: fast and convenient tool to visualize git history and actions that
: benefit from a graphical presentation.
 
Old 05-28-2015, 05:30 AM   #4
poznir
LQ Newbie
 
Registered: May 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
my repolist is:

repo id repo name status
RHEL-6-x86_64-rational-linux Open Client for Linux RHEL 6 x86_64 - Rational enabled: 11
RHEL-66-x86_64 Open Client for Linux RHEL 6.6 x86_64 enabled: 7,355
RHEL-66-x86_64-early-adopter Open Client for Linux RHEL 6.6 x86_64 Early Adopter enabled: 10
RHEL-66-x86_64-ibm-updates Open Client for Linux RHEL 6.6 x86_64 --- Updates enabled: 205
RHEL-66-x86_64-updates Open Client for Linux RHEL 6.6 x86_64 Updates enabled: 542
RHEL6-x86_64-____-upgrade Open Client for Linux RHEL 6 x86_64 --- Updates enabled: 31
epel Extra Packages for Enterprise Linux 6 - x86_64 enabled: 11,523+49
epel-debuginfo Extra Packages for Enterprise Linux 6 - x86_64 - Debug disabled
epel-source Extra Packages for Enterprise Linux 6 - x86_64 - Source disabled
occ-auto Packages Built and Maintained by the Open Client Community enabled: 327+7
repolist: 20,004

when i run: yum search gitg i get:

Warning: No matches found for: gitg
No Matches found


when my friend (other computer with redhat 6.6) run yum info gitg (he has it installed) this is the info:

Installed Packages
Name : gitg
Arch : x86_64
Version : 0.0.6
Release : 3.el6
Size : 704 k
Repo : installed
From repo : occ-auto
Summary : GTK+ graphical interface for the git revision control system
URL : http://trac.novowork.com/gitg
License : GPLv2+
Description : gitg is a GitX clone for GNOME/gtk+. It aims at being a small,
: fast and convenient tool to visualize git history and actions that
: benefit from a graphical presentation.
 
Old 05-28-2015, 01:07 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you might want to compare the data in the "occ-auto.repo"( or a name like that) file on your computer and your friends .
make sure that they use the same location and are for the same version of RHEL

/etc/yum.repo.d/occ-auto.repo
 
Old 05-28-2015, 01:17 PM   #6
poznir
LQ Newbie
 
Registered: May 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok ill check and post the results
 
Old 05-31-2015, 03:11 AM   #7
poznir
LQ Newbie
 
Registered: May 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi again,
for both of the computers occ doesn't exists in /etc/yum.repos.d/
the repos list in '/etc/yum.repos.d/' contains only 2 files:

epel.repo openclient-community.repo

whats does it means?
 
Old 05-31-2015, 12:50 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
??? what ???
Did you READ !!! what you posted ????
Quote:
for both of the computers occ doesn't exists in /etc/yum.repos.d/
then you contradict yourself with a list THAT LISTS IT!!!!!!
Quote:
openclient-community.repo
 
Old 06-01-2015, 02:53 AM   #9
poznir
LQ Newbie
 
Registered: May 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
sorry you are right..
searched for the short name ("occ-auto.repo") not the long name,
anyway, it still doesn't explain why it's not working for me
 
Old 06-01-2015, 11:34 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you read the text in the file ?
Then compare it to your friends ?

i am betting they are different


also when was the last time you ran a update and rebuilt the rpm database

Code:
su -
yum clean all 
rpm --rebuilddb
yum update
 
  


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
CentOS/RedHat: How to list all packages I installed via yum? sysbox Linux - Newbie 7 10-03-2013 02:21 PM
[SOLVED] Can't use yum to install packages. jimtony Fedora 5 01-11-2012 09:18 PM
How to clear missing dependency error at the time of installing packages using yum karthickk02 Linux - Newbie 3 09-17-2010 07:08 AM
Yum can't install packages mickeyboa Fedora 1 12-06-2009 12:38 PM
Using Yum To Install Packages Arty Ziff Linux - Newbie 4 12-30-2008 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:19 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
Open Source Consulting | Domain Registration