Tag Info

New answers tagged

0

You need to register your system to RHN before you can download packages from Red Hat repositories.


0

They yum package is not installed by default in RHEL4, because it appeared later. You can installed it or use up2date command to install software.


0

Go to pkgs.org Find the yum rpm package for your rhel version and architecture (x86 or x86_64). Download the rpm package. Install with su -c 'rpm -i ~/Downloads/*.rpm' or with your graphical package manager.


3

After simple checks I've asked you in answer comment: [root@Backup yum.repos.d]# yum -bash: yum: command not found [root@Backup yum.repos.d]# which yum /usr/bin/which: no yum in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) [root@Backup yum.repos.d]# echo $PATH ...


2

If yum tells you that the latest packages are already installed, then it is so. What makes you think there are newer packages available?


3

It won't focus specifically on one package because it's using a regex to do the matching but I often use this: $ yum list available java\* java-1.4.2-gcj-compat.i386 1.4.2.0-40jpp.115 installed java-1.6.0-openjdk.i386 ...


1

Yes, it's too variable for there to be an automated way to look it up. Easiest way to find what package provides what file is to issue a yum whatprovides for instance to figure out what package you have to install to get the setcap command you can issue either a yum whatprovides */setcap or yum whatprovides /usr/sbin/setcap That will help you work around ...


2

Yes you'll need to do this manually. Also take note that some packages go by different names in Debian/Ubuntu vs. CentOS/RHEL/Fedora, so comparing them is going to be tricky. rpm & apt commands These sites include nice tables that show particular package management tasks and how to perform them using the corresponding commands on CentOS/RHEL/Fedora and ...


1

This type of issue is extensively covered in the CentOS wiki under the topic titled: Available Repositories for CentOS. In general you need to be very careful when mixing repositories such as EPEL, RPMForge, etc. Looking at your error message it looks like you're mixing 32-bit packages with 64-bit packages. For example Error: Package: ...


1

First off try: yum list --showduplicates xyz ...this will show all versions of the packages. If the package you want to upgrade to isn't in that list, something is wrong on the repos. side. To upgrade to it you should be able to do: yum upgrade xyz-1-11.rpm ...although the "yum install" should get to the same point, it's possible there is a bug/feature ...


2

In your alternate yum.conf you need to set reposdir to something else so it won't look in /etc/yum.repos.d. I put my repo definitions for reposync in /etc/reposync.repos.d so the line to add to the yum.conf you're using for reposync would look like this: reposdir=/etc/reposync.repos.d


0

You need to add the line: enabled=1 For example [my] name=My Repository baseurl=http://yum.my.com/yum/my/ gpgcheck=0 enable=1 My repo's .repo file [lamolabs] name=LamoLabs Repo baseurl=http://www.lamolabs.org/yum-repos/Fedora/14/$basearch ## gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY.lamolabs.org ...


0

In the yum-utils package there is a tool called yumdownloader. You can use it to download from repos without installing. All the standard switches like --disablerepo apply. See the man page for more into on it. I think you can download the RPM and then do what you want using RPM directly.


0

Have not come across any such option as of now. However if u want to install the package without upgrading I would recommend downloading a rpm of same version and then install it.


0

If you haven't registered your RHEL install to be able to use RedHat's repositories, you can download the rpm from an online repo and use: yum localinstall filename.rpm I prefer this to rpm -ivh because if you end up with a repo in the future, yum will already be aware of your package (vsftp in this case) and be able to update it if necessary withouy ...


0

To install using YUM Your RHEL should Register with RHN or You can setup Local Yum repository for the same. If you are installing from the CD-ROM: mount the CD-ROM: mount /dev/cdrom /mnt/ change to the RPMS directory in the CD-ROM: cd /mnt/RedHat/RPMS if you know the name of the package type ls packagename* (e.g. ls *vsftp*) to find the full package ...



Top 50 recent answers are included