 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

22nd February 2009, 07:14 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
|
Listing installed applications by category
Code:
[root@localhost ~]# rpm -qa
The above commands gives a list of all the applications installed on the system but is there a way/command they can be listed alphabetically or as per date installed or the type of applications there are such as games, word processor etc?
If I type for example, just making an assumption here, please forgive me for lack of information on this...
Code:
[root@localhost ~]# rpm -qa | category games/wordprocessors/imageeditors
and then the ouput lists the application as per the category such as games etc.
Thanks.........
Last edited by tech291083; 22nd February 2009 at 07:25 AM.
|

22nd February 2009, 07:26 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
yum groupinfo <group-name>
List of all groups, available and installed (installed means: "required packages are present, recommended and optional packages are ignored for this query"):
yum grouplist
V
|

22nd February 2009, 07:33 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
Here what I get on my system, is it becuase I am still using Fedora 5? Thanks...
Code:
[root@localhost ~]# yum groupinfo
Options Error: Error parsing 'metadata_expire': invalid integer value
Code:
[root@localhost ~]# yum grouplist
Options Error: Error parsing 'metadata_expire': invalid integer value
|

22nd February 2009, 07:37 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
(1) First, fix the problem by editing (as root user) /etc/yum.conf, and enter a reasonable, LEGAL value for metadata_expire.
(2) Run yum grouplist next to find the names of all installed and available groups.
(3) Run yum groupinfo <group-name> (you MUST enter a valid group name) to get info on the group.
V
|

22nd February 2009, 08:30 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
Code:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
in /etc/yum.repos.d
Here is my yum.conf file, I cannot update or install new packages as my Fedora is version 5 which has reached its End Of Life date already. I did ask a question on this forum and was told that since I am using and old version of Fedora which has passed its EOL, I am no longer able to download or update. Please guide me. Do I need to change any thing in the above-mentioned file yum.conf? Thanks a lot sir....
|

22nd February 2009, 08:32 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
Your older version of YUM may not even accept or recognize the metadata_expire flag. If that flag produces errors, remove it.
V
|

22nd February 2009, 08:39 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
Thanks , I deleted the line with 'metadata_expire' and tried to do the following with an error, please guide me, thanks...
Code:
[root@localhost ~]# yum install php
Options Error: Error parsing 'plugins': invalid boolean value
usage: yum [options] < update | install | info | remove | list |
clean | provides | search | check-update | groupinstall |
groupupdate | grouplist | groupinfo | groupremove |
makecache | localinstall | erase | upgrade | whatprovides |
localupdate | resolvedep | shell | deplist >
options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
|

22nd February 2009, 08:44 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
Try using the '-t' (tolerate errors) switch:
Code:
options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
yum -t install php
V
|

22nd February 2009, 08:51 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
Code:
[root@localhost ~]# yum -t install php
Options Error: Error parsing 'plugins': invalid boolean value
still the same error, what to do? is it ok if I delete this line m etadata_expire=1800?
Do you think it is still possible to update and install packages on my Fedora 5 machines? Thanks..........
|

22nd February 2009, 02:47 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Age: 41
Posts: 226

|
|
Quote:
Originally Posted by tech291083
Code:
[root@localhost ~]# yum -t install php
Options Error: Error parsing 'plugins': invalid boolean value
still the same error, what to do? is it ok if I delete this line m etadata_expire=1800?
Do you think it is still possible to update and install packages on my Fedora 5 machines? Thanks..........
|
I wouldn't delete it, per se'. I'd comment it out
Code:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
#plugins=1
#metadata_expire=1800
maybe something like that.
Or make a backup, then delete those lines.
For further help, try this: http://fedoraproject.org/wiki/Docs/D..._Configuration
|

23rd February 2009, 04:25 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
|
Thanks guys, one more thing I need a little clarification about is whether it is still possible to update and install packages on my Fedora 5 machines? I was told by a few members on this very forum that Fedora 5 has reached its EOL and so I am officially not able to update or install any new or old packages. Is it true? This is the question that has been bothering me. Please do explain it to me as it is causing unncessary confusion in my mind. Thanks......
|

23rd February 2009, 04:28 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
You may still find a few repos open that still have FC5 packages - probably the Fedora Project repos at least. However, there will be no further/additional updates to any packages - whatever is already there, is there. And if you encounter problems with them, you're on your own to sort it out - no bug reports, no fixes for bugs or other software problems.
V
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 14:32 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|