LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-01-2014, 08:03 PM   #1
linuxzelda
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Rep: Reputation: Disabled
Smile CentOS Add/Remove Software List Empty


Hello everyone,

I've used Ubunutu in the past, as well as Linux Mint 15 on my desktop. However, I'm using CentOS on my Vaio laptop.

When I click on add remove software, nothing comes up. When I click on "all packages" I get a message saying "no results found." The same thing happens when I click package collections, newest packages, and selected packages.

So if anyone can explain what I need to do to start being able to download and install new software, that would be great.

Thanks in advance.

Linuxzelda
 
Old 06-02-2014, 07:25 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Go into the cmd line and into root then
Code:
yum repolist

cd /etc/yum.repos.d
ls -l
 
Old 06-02-2014, 02:45 PM   #3
linuxzelda
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you Chris.

Now not to sound totally ignorant, but how do I go into the root?
 
Old 06-02-2014, 03:06 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
on Cent the gui is mostly USELESS

open a terminal and become root ( su - )
Code:
su -
----------- type in your root password when asked for --------------
yum update 

-------------- or --------------

yum repolist all
 
Old 06-02-2014, 09:11 PM   #5
linuxzelda
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for getting back to me on this. However, I'm getting the following error message in the terminal:

[Lisa@localhost ~]$ su -
Password:
[root@localhost ~]# yum repolist all
Segmentation fault
[root@localhost ~]# yum repolist
Segmentation fault
[root@localhost ~]# cd /etc/yum.repos.d
[root@localhost yum.repos.d]# ls -l
total 20
-rw-r--r--. 1 root root 1926 Nov 30 2013 CentOS-Base.repo
-rw-r--r--. 1 root root 638 Nov 30 2013 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 630 Jun 1 02:38 CentOS-Media.repo
-rw-r--r--. 1 root root 4528 Nov 30 2013 CentOS-Vault.repo
[root@localhost yum.repos.d]# ^C
[root@localhost yum.repos.d]#

What does segmentation fault mean?

Thanks.
 
Old 06-02-2014, 09:23 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
If yum is segfaulting, something is VERY wrong with your system and it may well have gotten corrupted. What version of CentOS are you running? If you run "rpm -qa", does it return a list of software you have installed?
 
Old 06-02-2014, 09:47 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
CentOS-Vault.repo
that right there is a VERY BIG problem
the Vault is the historical archive for OLD and unsupported versions of cent

do NOT !!! install anything from there
-- unless you have NO choice -- like " your boss orders you to "


CentOS-Media.repo
that is the install dvd and should NOT!!!! be there
REMOVE IT ASAP!!!!!!!


but that "seg-fault" is a problem
a very big one

there are a few reasons for a segmentation fault
you installed OLD and out of date software from "The Vault" is a VERY likely possibility

it is like a Jigsaw puzzle
the picture matches but the TABS DO NOT for a part of the puzzle .

it is likely much easier to reinstall CentOS 6.5
 
Old 06-02-2014, 10:02 PM   #8
linuxzelda
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks again for the replies.

Like I said before, my laptop is very old. It's a Vaio PCG-K33. I'm running CentOS 6.5.

How do I remove CentOS-Media,repo?
 
Old 06-03-2014, 12:16 AM   #9
linuxzelda
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hello again,

I re-instatalled CentOS, and now the the add/remove software is no longer empty.
 
Old 06-03-2014, 05:49 AM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Well, that would fix it.
Your yum cmd (or a library) was corrupt.

BTW, no need to delete any Centos repos, just check that enabled=0 in the CentOS-Media.repo, CentOS-Vault.repo & CentOS-Debuginfo.repo files.
You're unlikely to need to use them in normal usage, but if you lose your internet cxn, the CentOS-Media.repo might come in useful.
 
Old 06-03-2014, 09:43 AM   #11
linuxzelda
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks again everyone.

Now one more question. When I click on add/remove software, I just see names of packages, rather than software, such as Google Chrome, or the Adobe Flash plugin. When I click on "application" in the left hand column, nothing comes up. So if I want to install software, is typing su -c 'yum install software name' my only option? I already installed Gimp, Libre Office, and Totem media player using that command. But is there no other way to do so through a graphical user interface?

Thanks.
 
Old 06-03-2014, 02:34 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
CentOS 6 uses the RedHat documentation
https://access.redhat.com/site/docum...erprise_Linux/

Now these docs ASSUME !!! you ARE a redhat system administrator or have like experience

There is a CentOS wiki
it is mostly for the older legacy CentOS 5 , but with some pages for CentOS 6
http://wiki.centos.org/

Cent is a rebuild of RedHat as a result it assumes that you KNOW how to use and administrate a redhat system

there are a TON of guides for Fedora BUT!!!! you have to PORT them for use on rhel/cent/sl
like this one
http://www.mjmwired.net/resources/mjm-fedora-f19.html
BUT YOU HAVE TO PORT IT FOR USE ON CENT !!!
 
Old 06-04-2014, 07:19 AM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
As John_VV says, RHEL docco works for Centos, so see his links.
See also www.linuxtopia.org


Re your GUI issue; oddly, I seem to have 2 entries marked 'Applications' which are drop down menus (click the '>' ptr).
They did take a while to provide a list...
This is because it takes a few seconds to run through your repos files, then go and fetch the lists from the remote servers.
It's possible you didn't wait long enough... its also just possible that you don't have repos enabled.

Highly recommend you open a cmd terminal & login as root
Code:
su -
Then
Code:
yum repolist
to see what repos (if any) are enabled.
Then try the GUI again if you prefer GUI.

yum cli search cmds include
Code:
yum search '*name*'
yum info '*name*'
yum provides '*name*'

### and also
yum grouplist
http://linux.die.net/man/8/yum

NB: if you want to install a group, ensure you put quote marks around it if the group name has spaces eg
Code:
yum groupinstall 'Desktop Platform'
 
  


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 6.2 - Empty Add/Remove Software list Panupat Linux - Software 6 02-03-2012 12:38 PM
Add/Remove software problem in CentOS 5. gardenair Linux - Newbie 14 07-07-2011 07:16 AM
Add/Remove Software empty klyzki Fedora 3 08-18-2009 05:20 PM
CentOS 5 Add-Remove Software is not Opening mukundmurari Linux - Software 1 10-21-2007 04:04 AM
Add/Remove Software List (GUI) Cabeza de Huevo Linux - Software 3 12-26-2006 12:00 AM


All times are GMT -5. The time now is 10:46 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