hello
When i follow neo 's instruction it does not give me the option to copy the BB code (it says BB code is disabled)
What am i doing wrong
Why don't you just copy and paste the error message within CODE-tags and post it directly? Is it that lengthy? Because, if it is not, simply put the following in your post:
[code]<your error message here....
.....
....
...and it ends here[/code]
Which will look like this:
I hope this helps.
bakunin
These 2 Users Gave Thanks to bakunin For This Post:
ok i am going to type this manually
This is red hat 7.2 on a Virtual machine I dont want to subscribe to Red Hat as this is a test box
I think the error messsage is pretty clear. A "repository" is a number of rpm-files with a small file containing a "table of contents" anyway, so it is not particularily important which repo you use as source. If you do not plan to keep the system for a longer period of time you might as well (this i assume because of the "test"-status) use the CentOS- or Fedora- repository and install the package from there or (perhaps even easier) download the rpm-files you want to install into a local directory and install from there. This has the advantage of you automaticaclly getting a list of additionally installed packages for free which you might need once you try to create a production-level system modeled after this test-system.
Thanks for your reply
i download all the packages from CentOS Repositories - pkgs.org
i have also tried the yum-config-manager --enable <name of repos> name of repos =elfutils-libelf-0.172-2.e17.i686.rpm
it does nothing no error message
What i am doing wrong
i have also tried the yum-config-manager --enable <name of repos> name of repos =elfutils-libelf-0.172-2.e17.i686.rpm
This is not the name of the repository, it is the name of the package. A "repository" is a place where several (many) packages are collected to install from there. If you do a yum repolist you will see a list of repositories. Look in the directory /etc/yum.repos.d and you will see some files named exactly like the list you got but with the ending "repo". These files are the definition files of the respective repo. Have a look at existing files to see the structure. You can even create a local repository by downloading rpm-files, putting them into a directory and creating a repository from that.
First you need to tell yum that you want to use a new repository: a repo-file for a local repository (/etc/yum.repo.d/local.repo) could look as simple as this:
Then put your rpms in /your/directory/with/rpms and run createrepo /your/directory/with/rpms.This is it. You may need to install the rpm-package with the createrepo utility first if you don't have it on your system. Now you can install the rpms from this directory using yum install ..... Notice that when you add, remove or change rpms from this directory you need to run createrepo again to update the repository information.
I hope this helps.
bakunin
Last edited by bakunin; 01-16-2019 at 09:06 AM..
These 2 Users Gave Thanks to bakunin For This Post:
i did create a file in /etc/yum.repo.d called local.repo and had the following code
This directory /tmp/rpm contains all the packages downloaded but after this exercise i tried to run createrepo and /tmp/rpm with root and there is an error "command not available "
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Dear All,
Dear Friends,
AM installing openldap , during that need to install migrationtools through yum install .
But when run the command " yum install migrationtools " its throughin below errors.
There is not folder migrationtool is creating as you can see below. Even i tried with... (0 Replies)
Hi all,
I am on Linux box where CPAN is not working for downloading any perl modules. When I try "perl -MCPAN -e shell" as root as well as a user, I get following error:
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl... (2 Replies)
I am using solaris 10
yum command not found
apt-get install command not found
rpm command not found
how to use yum and apt-get command in solaris
how to install dhcp, openldap-servers packages in solaris (4 Replies)
Hi guys,
thanks for you help on this issue.
I built a dvd repository on my server and when I try to install a package from it, I get this error
ftp://10.0.0.12/pub/Packages/httpd-2.2.15-26.el6.x86_64.rpm: PYCURL ERROR 9 - "Server denied you to change to the given directory"
I will... (2 Replies)
Hi,
working on CentOS 5.7 64 bit. I need to install syslog-ng. First I downloaded syslog-ng RPM. When I install I get many dependencies error messages.
rpm -ivh syslog-ng-3.3.3-1.mga2.x86_64.rpm
warning: syslog-ng-3.3.3-1.mga2.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID... (2 Replies)
Hello all
i install several application using yum in CentOS
now i like to see the installed application path's
where each component yum downloaded got installed
how can i do that ? (1 Reply)
Hi,
I installed Fedora 7 without GNOME and KDE from DVD. Using console is not convenient, so I would like to install KDE. I do some step like this:
----------------------------
1. I use local repository from DVD: /mnt/dvd
2. from command windown:
# yum groupinstall KDE
..................... (1 Reply)