This post is more than 5 years old
1 Message
0
79466
Yum package manager not working in Red Hat Enterprise Linux 6.2
Hello,
Dell installed Red Hat Enterprise Linux 6.2 on my Dell Precision T7600 workstation, but I cannot make the YUM package manager work. For example, if I run "sudo yum install gimp" the result is
"Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
http://linux.dropbox.com/fedora/6Workstation/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again"
The files in the yum.repos.d are as follows:
------------------
(a) dropbox.repo
[Dropbox]
name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/$releasever/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc
------------------
(b) redhat.repo
#
# Certificate-Based Repositories
# Managed by (rhsm) subscription-manager
#
------------------
(c) rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
------------------
Please tell me how I can make yum work.
crashradtke
1 Message
0
September 28th, 2014 11:00
The issue here (for anyone that may come across this in the future) is that you added a REPO intended for Fedora. The URL contains a YUM variable $releasever which in your case is 6Workstation. Likely the fedora REPO will not have a directory for RHEL or CentOS.
To resolve this:
* remove the Dropbox REPO
* add "enabled=0" to the Dropbox REPO
or
# yum --disablerepo=Dropbox install gimp
Sam Jessup
2 Posts
0
November 1st, 2013 00:00
No one has replied to you, How sad. Ok I also had the same problem contact the linux support desk, Through Pro Support. I believe this is a driver problem, But they can explain it better and get it fixed too.
gkasap
8 Posts
0
November 14th, 2013 06:00
Hello,
it seems that the problem is with the DropBox repository.
Have you tried to verify that the URL for DropBox is correct? If not you should fix it. (I'm behind a proxy server which doesn't allow access to dropbox, so I can not verify it).
In addition. If you are also behind a proxy, then you should define this proxy in "/etc/yum.conf" file (add the following command):
proxy=http://your.proxy:port/
Finally, if the problem is on the DropBox and you cannot find the correct URL, then I suggest to disable it (as gimp is located in the
RHEL repository). In order to disable it, edit the "dropbox.repo" file and add the following line:
enabled=0
No restart needed, just hit the "yum" command and it will work with the new settings.
Hope that helps.
Regards,
gkasap