Tag Info

New answers tagged

1

yum list installed has 930 lines while rpm -qa has 895 lines, what might be the difference ? This is likely just formatting differences. yum list will do a bunch of clever wrapping to your terminal size. What you probably want to do is use: # Run this on the master server yum-debug-dump # Run this on the new server, with the input from the above. ...


0

yum list installed gives me the output as below. pam_krb5.i386 2.2.14-22.el5 installed Now, rpm -qa has the below to say. pam_krb5-2.2.14-22.el5 Both the commands give me the same number of lines as output. I would go with rpm -qa list. Also, from this answer, I see the below piece of information. ...


1

I'm not entirely sure why the lists are different, but I do know that 'rpm -qa > installed.txt' is the correct way to find all of the installed packages. It will look for yum installed as well as rpm installed. In addition, the format of 'rpm -qa' output will work better with the yum install command that you are wanting to execute.


1

I'm fairly certain there aren't any distro builds of 4.6 for Fedora 20 (or 19, or 18, or 17). I am working on a project that I do not have permission to update to be comparable with 4.8 and need to be able to install gcc 4.6.3. If this is a C project, there's no difference between what 4.6 will compile and what 4.8 will compile unless you stipulate ...


1

try removing the current version then re-install the wanted version: yum remove gcc yum install gcc-4.6.3 Note: you may keep both the current version and 4.6.3 version if you wish, because the binaries for them would be different: /usr/bin/gcc-4.8 and /usr/bin/gcc-4.6.3 if yum did not work you have to use make: first install gcc-4.6.3.tar.gzfrom ...


1

MariaDB is the community-developed fork of MySQL: sudo yum install mariadb-server mariadb MySQL is the replacement for MariaDB, forked over concerns that Oracle may make MySQL a closed-source project.


0

It appears there is indeed no architecture option to use with yum search. When I need to search by architecture I find yum list to be valuable though package descriptions are not available. This is from the man page for yum: SPECIFYING PACKAGE NAMES A package can be referred to for install,update,list,remove etc with any of the following: name ...


0

For those getting errors, modify /etc.yum.repo.d/rhel.repo (in addition to changing, reposdir=/etc/yum.repos.d) and change baseurl to: baseurl=http://mirror.centos.org/centos/6/os/x86_64/ They are no longer supporting different versions of 6.x per the readme at: http://mirror.centos.org/centos/6.3


0

Assuming the clones had the same packages installed before you removed python, a sure-fire way to get the list of packages needed would be to compare rpm -qa from each clone. # on clone 1: rpm -qa | sort > clone1.txt # on clone 2: rpm -qa | sort > clone2.txt Get clone1.txt and clone2.txt on the same computer. Then run comm -13 clone1.txt ...


1

You may have /var/log/rpmpkgs which has a list of all the RPM packages installed. (in RHEL 6 that list is generated by the package rpm-cron) If you have the list of packages you may look at /var/log/yum.log to see what packages were uninstalled.


1

Actually, you can undo a yum command. On the computer with python removed, try running yum history: yum history Loaded plugins: langpacks, refresh-packagekit ID | Command line | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 284 | yum remove python | ...


0

It looks like you need to fix your repos, I would do as Tejas suggested and disable the epel repo that is causing the problem. But to work around the problem, first make sure you want to remove ImageMagick even though other packages lists it as a dependency (ImageMagick-perl-6.5.4.7-7.el6_5.x86_64 and ImageMagick-devel-6.5.4.7-7.el6_5.x86_64). If you know ...


0

I recommend you to check network connection from virtual machine to the Internet and DNS settings. Possibly yum is unable to connect repo servers. strace is a separate package. You can install it after yum issue will be resolved.


1

The solution is to remove vzkernel-firmware package: rpm -e vzkernel-firmware and exclude it by adding the line marked in bold to openvz yum repo file /etc/yum.repos.d/openvz.repo: [openvz-kernel-rhel6] name=OpenVZ RHEL6-based kernel #baseurl=http://download.openvz.org/kernel/branches/rhel6-2.6.32/current/ ...


0

Yum has this installonlypkg:s directive, what it does is rather than upgrading a package, it does an install, so that two different versions of the same package may be installed simultanously. This is good for kernel packages, which typically is the default setting, so it can allow you to fall back to the previous kernel, in case there was errors with the ...



Top 50 recent answers are included