Ned Slider wrote:
On 20/07/12 16:55, m.roth@5-cent.us wrote:
Jay Leafey wrote:
On 07/20/2012 10:32 AM, m.roth@5-cent.us wrote:
Now that he's up, which was my highest priority, I'm back to looking
around. I did a yum clean all, then yum --enablerepo=elrepo list
^^^^^^^^^^^^^^^^^^^^^
*nvidia*, and see
- elrepo: mirror.symnds.com
so this was what the mirrorlist came up with. That there's something
screwy there.
So I just pointed my browser there, and found elrepo there under
distributions/elrepo. Anyone got any ideas why it finds that it's there, but yum doesn't see the actual repo (and yes, the
kmod-nvidia packages are there)?
<snip> > Just a thought, have you tried flushing yum's metadata? I have run
across a couple of instances where yum seems to get a bit... retentive and won't retrieve new metadata for one or more repositories. I usually
run "yum clean metadata" or "yum clean all", then re-try the operation. Unless it is something *I* have boogered badly it usually works.
See emphasized line, above, from previous email. ^^^^^^^^
Please post the output from:
cat /etc/yum.repos.d/elrepo.repo
and
yum list *kmod-nvidia*
thanks.
Y'know, I appreciate any and all help, but I'm beginning to feel those trying to help haven't actually *read* my previous posts. Jay suggested I do a yum clean all, when I already said I'd done that; Ned's asking for what the repo looks like, when I posted the top bit and said the rest of the entries were the same....
Repeating my original post: ### Name: ELRepo.org Community Enterprise Linux Repository for el6 ### URL: http://elrepo.org/
[elrepo] name=ELRepo.org Community Enterprise Linux Repository - el6 baseurl=http://elrepo.org/linux/elrepo/el6/$basearch/ mirrorlist=http://elrepo.org/mirrors-elrepo.el6 enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org protect=0 includepkgs=kmod-nvidia
and the entries for elrepo-testing, elrepo-kernel, and elrepo-extras are the same.
PS - This query would really be better placed on the elrepo users
mailing lists rather than the general CentOS mailing lists.
But the real question not about elrepo, which clearly *has* kmod-nvidia, but why yum can't find the repo, and that is on target for this list.
mark
On Fri, Jul 20, 2012 at 03:48:43PM -0400, m.roth@5-cent.us wrote:
around. I did a yum clean all, then yum --enablerepo=elrepo list
FWIW, that probably didn't do what you thought.
On my machine I have EPEL configured, but disabled.
$ pwd /var/cache/yum/x86_64/6 $ yum --enablerepo=epel list > /dev/null $ du -hs * 8.0K base 20M epel 8.0K extras 21M local-base 56K local-extras 5.6M local-updates 0 timedhosts.txt 8.0K updates
We can see the cache has been populated.
$ yum clean all Loaded plugins: fastestmirror, priorities, security Cleaning repos: local-base local-extras local-updates Cleaning up Everything Cleaning up list of fastest mirrors $ du -hs * 8.0K base 20M epel 8.0K extras 8.0K local-base 8.0K local-extras 8.0K local-updates 8.0K updates
Wait, the epel directory still has data!
$ yum --enablerepo=epel clean all Loaded plugins: fastestmirror, priorities, security Determining fastest mirrors Cleaning repos: epel local-base local-extras local-updates Cleaning up Everything Cleaning up list of fastest mirrors $ du -hs * 8.0K base 8.0K epel 8.0K extras 8.0K local-base 8.0K local-extras 8.0K local-updates 8.0K updates
That's better.
So you might need to do "yum --enablerepo=elrepo clean all" to flush your cache.
On 20/07/12 21:09, Stephen Harris wrote:
On Fri, Jul 20, 2012 at 03:48:43PM -0400, m.roth@5-cent.us wrote:
around. I did a yum clean all, then yum --enablerepo=elrepo list
FWIW, that probably didn't do what you thought.
On my machine I have EPEL configured, but disabled.
*Exactly*
Which is *exactly* the reason I asked to see the .repo file and got a bunch of attitude in return :-)
Stephen Harris wrote:
On Fri, Jul 20, 2012 at 03:48:43PM -0400, m.roth@5-cent.us wrote:
around. I did a yum clean all, then yum --enablerepo=elrepo list
FWIW, that probably didn't do what you thought.
On my machine I have EPEL configured, but disabled.
Yeah. As you saw, I only want to enable it for kmod-nvidia, since I don't want to get anything else from there, resulting in conflicts with the usual repos. <snip>
So you might need to do "yum --enablerepo=elrepo clean all" to flush your cache.
Ok. Just did that, and see Cleaning repos: adobe-linux-i386 base cr dcb-CentOS-base dcb-CentOS-updates : dcb-rome elrepo epel extras rpmfusion-free-updates : rpmfusion-free-updates-testing rpmfusion-nonfree-updates : rpmfusion-nonfree-updates-testing updates
Then I do yum --enablerepo=elrepo list *nvidia* <...> * elrepo: mirror.symnds.com <...> elrepo | 1.9 kB 00:00 elrepo/primary_db | 420 kB 00:00 <...> And all I get is: Available Packages nvidia-x11-drv.x86_64 295.59-1.el6.elrepo elrepo
So I'm still where I was: I cannot figure out why I see nvidia-x11-drv, and not the kmod itself.
Oh, well, I was just showing my manager the problem, and his reaction is to ask whether it's worth wading through filelists.xml; he prefers I just d/l the package(s) to our local repo, which is what I guess I'll have to do, then write an automated script to rsync it every so often, maybe a cron job....
Thanks anyway.
mark
mark
On Fri, Jul 20, 2012 at 04:29:53PM -0400, m.roth@5-cent.us wrote:
Cleaning repos: adobe-linux-i386 base cr dcb-CentOS-base dcb-CentOS-updates : dcb-rome elrepo epel extras rpmfusion-free-updates : rpmfusion-free-updates-testing rpmfusion-nonfree-updates : rpmfusion-nonfree-updates-testing updates
Blimey, you have lots of repos enabled.
Try "--disablerepo=* --enablerepo=elrepo" so that you only have the one repo enabled when running the list command.
Stephen Harris wrote:
On Fri, Jul 20, 2012 at 04:29:53PM -0400, m.roth@5-cent.us wrote:
Cleaning repos: adobe-linux-i386 base cr dcb-CentOS-base dcb-CentOS-updates : dcb-rome elrepo epel extras rpmfusion-free-updates : rpmfusion-free-updates-testing rpmfusion-nonfree-updates : rpmfusion-nonfree-updates-testing updates
Blimey, you have lots of repos enabled.
We need some for packages not in the regular repos. Torque, for example, I think, isn't in the base (that's a packages for clustered computing).
Try "--disablerepo=* --enablerepo=elrepo" so that you only have the one repo enabled when running the list command.
No joy. Loading mirror speeds from cached hostfile * elrepo: mirror.symnds.com Installed Packages kmod-nvidia.x86_64 290.10-1.el6.elrepo @elrepo nvidia-x11-drv.x86_64 290.10-1.el6.elrepo @elrepo nvidia-x11-drv-32bit.x86_64 290.10-1.el6.elrepo @elrepo Available Packages kmod-nvidia.x86_64 295.59-1.el6.elrepo elrepo
And I know from going to the elrepo master site that the 295's are there.
mark
On Fri, Jul 20, 2012 at 04:44:07PM -0400, m.roth@5-cent.us wrote:
Available Packages kmod-nvidia.x86_64 295.59-1.el6.elrepo elrepo
And I know from going to the elrepo master site that the 295's are there.
Yes, and it showed up in your list...
Or am I missing something?
Stephen Harris wrote:
On Fri, Jul 20, 2012 at 04:44:07PM -0400, m.roth@5-cent.us wrote:
Available Packages kmod-nvidia.x86_64 295.59-1.el6.elrepo elrepo
And I know from going to the elrepo master site that the 295's are there.
Yes, and it showed up in your list...
Or am I missing something?
Think so. That was from my machine, where it's installed months ago. On the user's machine, all that shows, regardless of whether I disable all other repos and enable only elrepo, or if I use all and enable elrepo, all I see under available packages is nvidia-x11-drv. Sorry if I pasted in stuff to confuse.
mark
On Friday, July 20, 2012 05:30:14 PM m.roth@5-cent.us wrote:
Stephen Harris wrote:
On Fri, Jul 20, 2012 at 04:44:07PM -0400, m.roth@5-cent.us wrote:
Available Packages kmod-nvidia.x86_64 295.59-1.el6.elrepo
Yes, and it showed up in your list...
Or am I missing something?
Think so. That was from my machine, where it's installed months ago. On the user's machine, all that shows, regardless of whether I disable all other repos and enable only elrepo, or if I use all and enable elrepo, all I see under available packages is nvidia-x11-drv. Sorry if I pasted in stuff to confuse.
Whoa, Mark. Man, you must be tired. The fact that your machine with the 290 driver only sees the kmod-nvidia for 295 and does not see nvidia-x11-drv is a big clue.
You might want to double check the includepkgs= line on the machine you originally posted about (not this latest machine), and make sure that it isn't: includepkgs=nvidia-x11-drv
I can duplicate this behavior very easily, and can duplicate the reverse behavior as well, by manipulating the includepkgs= line. Here's an example run, from a RHEL 6.3 machine (same would apply to CentOS, just with a few differences in the yum output dealing with the RHN repos....):
First, I edit the elrepo.repo file:
[root@www ~]# vi /etc/yum.repos.d/elrepo.repo [root@www ~]# grep includepkgs /etc/yum.repos.d/elrepo.repo includepkgs=kmod-nvidia [root@www ~]#
Ok, only kmod-nvidia.....
[root@www ~]# yum --enablerepo=elrepo list *nvidia* Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. Unable to read consumer identity elrepo | 1.9 kB 00:00 Available Packages kmod-nvidia.i686 295.59-1.el6.elrepo elrepo [root@www ~]#
Which is exactly what I told it to do with the includepkgs directive, and duplicates what you posted above (re-read your post carefully to see that I'm not spinning you a line, here). Point of fact is that you can't just install the kmod without the X11 driver, as we'll see in a few command sequences below....
[root@www ~]# vi /etc/yum.repos.d/elrepo.repo [root@www ~]# grep includepkgs /etc/yum.repos.d/elrepo.repo #includepkgs=kmod-nvidia [root@www ~]#
Commented it out to double check.....
[root@www ~]# yum --enablerepo=elrepo list *nvidia* Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. Unable to read consumer identity elrepo | 1.9 kB 00:00 Available Packages kmod-nvidia.i686 295.59-1.el6.elrepo elrepo kmod-nvidia-173xx.i686 173.14.31-1.el6.elrepo elrepo kmod-nvidia-96xx.i686 96.43.20-1.el6.elrepo elrepo nvidia-x11-drv.i686 295.59-1.el6.elrepo elrepo nvidia-x11-drv-173xx.i686 173.14.31-1.el6.elrepo elrepo nvidia-x11-drv-96xx.i686 96.43.20-1.el6.elrepo elrepo [root@www ~]#
They're all there.....
[root@www ~]# vi /etc/yum.repos.d/elrepo.repo [root@www ~]# grep includepkgs /etc/yum.repos.d/elrepo.repo includepkgs=nvidia-x11-drv [root@www ~]#
Now just nvidia-x11-drv.....
[root@www ~]# yum --enablerepo=elrepo list *nvidia* Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. Unable to read consumer identity elrepo | 1.9 kB 00:00 Available Packages nvidia-x11-drv.i686 295.59-1.el6.elrepo elrepo [root@www ~]#
Which duplicates your original result that does not show the kmod.
[root@www ~]# vi /etc/yum.repos.d/elrepo.repo [root@www ~]# grep includepkgs /etc/yum.repos.d/elrepo.repo includepkgs=nvidia-x11-drv kmod-nvidia [root@www ~]#
Ok, now this is what you really want.....
[root@www ~]# yum --enablerepo=elrepo list *nvidia* Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. Unable to read consumer identity elrepo | 1.9 kB 00:00 Available Packages kmod-nvidia.i686 295.59-1.el6.elrepo elrepo nvidia-x11-drv.i686 295.59-1.el6.elrepo elrepo [root@www ~]#
Ok, so can I install just the kmod and nothing else? Let's see.....
[root@www ~]# vi /etc/yum.repos.d/elrepo.repo [root@www ~]# grep includepkgs /etc/yum.repos.d/elrepo.repo includepkgs=kmod-nvidia [root@www ~]# yum --enablerepo=elrepo install kmod-nvidia Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. Unable to read consumer identity elrepo | 1.9 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package kmod-nvidia.i686 0:295.59-1.el6.elrepo will be installed --> Processing Dependency: nvidia-x11-drv = 295.59-1.el6.elrepo for package: kmod-nvidia-295.59-1.el6.elrepo.i686 --> Finished Dependency Resolution Error: Package: kmod-nvidia-295.59-1.el6.elrepo.i686 (elrepo) Requires: nvidia-x11-drv = 295.59-1.el6.elrepo You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@www ~]#
Nope, so I go back to the includepkgs= line with both.....
[root@www ~]# vi /etc/yum.repos.d/elrepo.repo [root@www ~]# grep includepkgs /etc/yum.repos.d/elrepo.repo includepkgs=nvidia-x11-drv kmod-nvidia [root@www ~]# yum --enablerepo=elrepo install kmod-nvidia Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package kmod-nvidia.i686 0:295.59-1.el6.elrepo will be installed --> Processing Dependency: nvidia-x11-drv = 295.59-1.el6.elrepo for package: kmod-nvidia-295.59-1.el6.elrepo.i686 --> Running transaction check ---> Package nvidia-x11-drv.i686 0:295.59-1.el6.elrepo will be installed --> Finished Dependency Resolution
Dependencies Resolved
====================================================================================== Package Arch Version Repository Size ====================================================================================== Installing: kmod-nvidia i686 295.59-1.el6.elrepo elrepo 4.2 M Installing for dependencies: nvidia-x11-drv i686 295.59-1.el6.elrepo elrepo 21 M
Transaction Summary ====================================================================================== Install 2 Package(s)
Total download size: 26 M Installed size: 98 M Is this ok [y/N]: n Exiting on user Command [root@www ~]#
Works fine.
The includpkgs= line has to include all dependencies, as it really does do what the man page says it does. Try it without the includepkgs= line, or with it commented out, and see if you get different results.