I did a netinstall of a CentOS desktop. All went rather well, actually.
I added CentOS Plus repo via the GUI.
I added RPMforge repo via the Wiki article.
I added flash-plugin and java plugin from articles, also.
The flash-plugin had to be installed by the Gnome GUI because yum failed. In fact, all yum commands fail.
I know I have firefox installed via rpm command output:
[marti@pesedjet2 ~]$ rpm -qa firefox
firefox-3.6.9-2.el6.centos.x86_64
(Well, I also know I have firefox because I am using it right now.)
Here is yum:
[marti@pesedjet2 ~]$ yum search firefox
Loaded plugins: fastestmirror, refresh-packagekit
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
In the gpk app, looking at System > Software Sources, I have the following checked:
CentOS 6 - Base
CentOS 6 - Extras
CentOS 6 - Plus
CentOS 6 - Updates
RHEL 6 - RPMforge.net
There is one calledCentOS 6 - Media, and it is NOT checked. But since the word media is in the error message, I think they relate. (I am far from being any sort of sys admin or troubleshooter. I need to switch to another long term distro because of the looming Ubuntu Unity desktop.) Any pointers would be appreciated.
I won't have too great a need to start downloading many apps; I am pretty much just a web, email, word proc kinda user. Maybe the GRAMPS genealogical database.....
Thank you.
Marti
[RESOLVED] Post new install: rpm works, yum does not
Re: Post new install: rpm works, yum does not
Edit the file /etc/yum.repos.d/CentOS-Media.repo and make sure that the line enabled = says 0
Re: Post new install: rpm works, yum does not
That worked!
I forgot to say I tried to check-off the Media repo in the GUI. It prompted for my root password but would never stay checked-off.
FYI and FWIW, too, I guess, I just tried:
[marti@pesedjet2 yum.repos.d]$ yum search firefox
Loaded plugins: fastestmirror, refresh-packagekit
rpmforge 3902/3902
=============================== Matched: firefox ===============================
firefox.x86_64 : Mozilla Firefox Web browser
hunspell-oc.noarch : Occitan hunspell dictionaries
hunspell-si.noarch : Sinhala hunspell dictionaries
jsl.x86_64 : Check JavaScript code for common mistakes
rubygem-less.noarch : Dynamic stylesheet support for Ruby
[marti@pesedjet2 yum.repos.d]$
Thank you, again, and kudos to you. I do not seem to have the privileges to do so, but this can be set to RESOLVED.
Marti
I forgot to say I tried to check-off the Media repo in the GUI. It prompted for my root password but would never stay checked-off.
FYI and FWIW, too, I guess, I just tried:
[marti@pesedjet2 yum.repos.d]$ yum search firefox
Loaded plugins: fastestmirror, refresh-packagekit
rpmforge 3902/3902
=============================== Matched: firefox ===============================
firefox.x86_64 : Mozilla Firefox Web browser
hunspell-oc.noarch : Occitan hunspell dictionaries
hunspell-si.noarch : Sinhala hunspell dictionaries
jsl.x86_64 : Check JavaScript code for common mistakes
rubygem-less.noarch : Dynamic stylesheet support for Ruby
[marti@pesedjet2 yum.repos.d]$
Thank you, again, and kudos to you. I do not seem to have the privileges to do so, but this can be set to RESOLVED.
Marti
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
[RESOLVED] Post new install: rpm works, yum does not
Thank you for reporting back.
For posterity, and as requested, this thread is marked [RESOLVED].
For posterity, and as requested, this thread is marked [RESOLVED].