Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-16-2013, 01:02 AM   #1
Registered: Oct 2012
Posts: 96

Rep: Reputation: Disabled
yum cache packages doesnt have .rpm

hi guys,
i have /etc/yum.conf keepcache=1,
and then i run yum clean all.
then i install several rpm using
#yum install aa bb cc dd ee
and it install along with other dependencies
but when i go to /var/cache/yum/x/packages
it doesnt have any files inside

have i done something wrong? please advise
Old 12-16-2013, 03:45 AM   #2
Senior Member
Registered: Apr 2010
Posts: 1,311

Rep: Reputation: 223Reputation: 223Reputation: 223
type command below, does it show any installed repos?

yum repolist all
Old 12-16-2013, 04:14 AM   #3
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 525

Rep: Reputation: 141Reputation: 141
Originally Posted by slowerogue View Post
but when i go to /var/cache/yum/x/packages it doesnt have any files inside
Directory packages should be in its respective repository name directory. Your packages directory seems misplaced. For example, in my case..

# yum repolist
repo id		repo name		status
rhel64		Local Repo		3,720
repolist: 3,720

# yum install finger

# ll /var/cache/yum/x86_64/6Server/rhel64/packages/
-rw-r--r--. 1 root root 22K Aug 17  2010 finger-0.17-39.el6.x86_64.rpm
Old 12-18-2013, 01:06 AM   #4
Registered: Oct 2012
Posts: 96

Original Poster
Rep: Reputation: Disabled
hi guys,
these are my result
[root@localhost ~]# cat /etc/yum.conf

[root@localhost ~]# yum install finger -y
Loaded plugins: downloadonly, product-id, refresh-packagekit, security,
: subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Repository rhel-source-beta is listed more than once in the configuration
lr | 4.0 kB 00:00 ...
lr/primary_db | 3.1 MB 00:00 ...
lrHA | 4.0 kB 00:00 ...
lrHA/primary_db | 43 kB 00:00 ...
Running Transaction
Installing : finger-0.17-39.el6.x86_64 1/1
Installed products updated.
Verifying : finger-0.17-39.el6.x86_64 1/1

finger.x86_64 0:0.17-39.el6


[root@localhost ~]# ll /var/cache/yum/localrepo/lr/packages/
total 0
but i use this to solve my problem
#yumdownloader --resolve --destdir=/bnmrpm/ xxx.rpm

Last edited by slowerogue; 12-18-2013 at 01:08 AM.


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
How to force yum and rpm install only current archetecture match packages Rodnower Linux - Software 8 08-14-2010 12:29 PM
Difference of using RPM and YUM in updating packages dwong05 Linux - Newbie 4 04-12-2009 08:19 PM
Yum update conflicts when there is both i386 and x86_64 rpm packages installed. zimon Fedora 2 10-09-2008 06:30 AM
How does yum (or rpm or other pm) update/upgrade in use packages engineman Linux - Software 2 09-26-2007 12:06 PM
Can rpm/yum uninstall conflicting packages automatically? Akhran Red Hat 1 04-09-2007 01:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 PM.

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