New answers tagged

3

Fedora 20 is considered old, unsupported. According to the Fedora wiki, that applies also to Fedora 21. The timeline is explained in another part of the wiki: The Fedora Project releases a new version of Fedora approximately every 6 months and provides updated packages (maintenance) to these releases for approximately 13 months. This allows users to ...


2

As the accepted answer already says, you can use yum shell to run multiple commands at once, which is fine for interactive use. But if you want to invoke this command from a script, you can also run it against a file, eg yum shell translist.txt, where the file could contain, for example: remove squid install squid34 run Append the -y switch to assume yes ...


0

The solution I implemented was to add the repo at installation time using the following line within the kickstart: repo --name="PostgreSQL" --baseurl="http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/" and then to add in the POM.xml: <requires>pgdg-centos95-9.5-2.noarch.rpm</requires>


2

'yum' is not recognized as an internal or external command, operable program or batch file. This is a Windows error message, you need to run your commands inside a shell in your CentOS VM, not at a Windows command prompt.


0

Finally after many hours of search and no one feedback, I was able to fix my issue. I am sharing here so it's might helps other in the future who are facing the same issue. First, you need to install yum replace : yum install yum-plugin-replace After replace, php-common with your confict php version. In my case, it is php70u-common. Therefore, I ran the ...


0

´gstreamer-plugins-ugly' : You can search http://rpm.pbone.net/index.php3 and see the available repo´s : rpmfusion.repo, el.repo, nux.repo, atrpms.repo, repoforge.repo (= rpmforge.repo ). One is compatible with the Redhat repo : That's rpmfusion : http://rpmfusion.org/ >>> ...


0

See the first comment above : # yum install yum-security And https://access.redhat.com/solutions/10021 I.e. yum-security and yum-plugin-security are the required yum-files / plugins required when running yum commands concerning security updates.


0

$ is not allowed in a URL, which is why it gets converted to its hex equivalent. $releasever should probably refer to a variable name but I doubt these belong in that file. Just replace it with the actual version and you should be in business. Try updating your /etc/yum.repos.d/mongodb-org-3.2.repo from: ...


0

Using python 2.7 from SCL works for cassandra 3... as long as everything is set up correctly. # Install all of the necessary packages $ yum install centos-release-SCL python27 cassandra30 # Tell SCL about the normally installed python2.7 packages $ echo "/usr/lib/python2.7/site-packages" | sudo tee ...


0

This means the repo "epel" was not configured. The first command evidently failed: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm This should place a file at /etc/yum.repos.d/epel.repo, with a first line: [epel] That first line is the name of the repo, so if you don't see it, it's not there. Try downloading ...


0

1. Look at the yum log in /var/log/yum.log 2. yum downgrade package1 [package2] [...] For details look at the yum manpage


2

Reworked answer based on new info; and a couple of quick edits subsequently - What Happened to your Fedora Repos? Did you edit out the fedora repos from your dnf repolist outputs? Because you don't appear to have them... And maybe lets confirm you are running fedora 23 :) cat /etc/redhat-release Assuming you are truly missing them, do the following, ...


0

You need to enable the rpmfusion free repository also. From a command line issue su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm. Command line found here.


1

This is still happening in Fedora 23. My solution was to update both packages: sudo dnf update vim-common vim-minimal If I tried to update either package separately, I got the conflict. But I was able to successfully update both of them at the same time.


0

For creating your own repository of Red Hat you need to create a RHUI Server. follow this link. This guide will help you to create your own repository server. this will work only if you have subscription.


0

Use this: yum repolist all --color=never > repolist.txt No matter what, you are actually only getting three, not four columns of output. The install count is part of the status column. The resultant file appears thus: Loaded plugins: fastestmirror, presto Determining fastest mirrors * base: centos-distro.cavecreek.net * epel: mirror.oss.ou.edu * ...


0

Running the "yum update" operation will update any packages that are on the system. Specifically that means: Downloading new version Checking new version's download. Installing/Updating new version Checking new version's installation The old package is not installed any longer, just the new one. Depending on what extensions you have, you likely will only ...


1

I'd suggest two approaches to determine which packages can be removed: do a minimal installation with the RedHat release in question (which you didn't mention, by the way) and only add the packages on top which are mandatorily required for what this machine is intended to do. Then get the listing of all packages by name (so you could easily compare to ...


0

RPM packages does not contains incremental updates (as contrary to e.g. Solaris). So every package contains everything needed for both upgrade and clean install. When you call yum install firefox And firefox is already installed then yum should refuse to proceed even when there is newer version available. You should call: yum upgrade firefox This will ...


1

When you install new updates with yum, the original installed packages and binaries are updated. It doesn't keep multiple copies of them around. It does cache various things however. You can use various yum clean options to tidy up some of yum's own cache files. For example, yum clean packages will remove cached packages that have been downloaded, some ...


1

Edit your DVD.repo by adding enabled=1 like this: [DVD] name=DVD Packages baseurl=file:///DVD gpgcheck=0 enabled=1


0

sudo yum --setopt=obsoletes=0 install shrinkwrap Or you can put obsoletes=0 to /etc/yum.conf to make such behavior persistent. Both ways worked for me on Oracle Linux 6.7.


0

Two things to keep in mind with RHEL (which is what I'm assuming you mean by "red hat"): 1) It's an Enterprise platform, which means they intentionally try to keep things as similar as possible for as long as possible. The updates you're getting are to fix issues with the older kernel. Occasionally they'll backport new features or rebase a package but the ...


1

By default, rpmbuild strips binaries and libraries (using /usr/lib/rpm/brp-compress) after they have been placed in the rpm file. You should be able to disable this by adding to the start of your spec file %global __os_install_post %{nil}


0

Remove /etc/yum.repos.d/CentOS-Base.repo.rpmnew then edit/etc/yum.repos.d/CentOS-Base.repo and enable main repository by un-commenting baseurl= line and commenting mirrorlist= line .


0

Disable the caching on your yum.conf : http_caching=none and disable the fastestmirror on your fastestmirror.conf file by changing the value of enabled from 1 to 0 then type the following command: yum clean metadata yum clean all Edit To temporarily disable the plugin, add –disableplugin=fastestmirror to your yum command line. For example yum update ...



Top 50 recent answers are included