CentOS 8 – yum/dnf error: Failed to download metadata for repo [closed]
In my case sudo rm -r /var/cache/dnf solved my problem. Source: https://access.redhat.com/discussions/4222851
In my case sudo rm -r /var/cache/dnf solved my problem. Source: https://access.redhat.com/discussions/4222851
xxd is in the vim-common package. You can find that by using yum whatprovides ‘*bin/xxd’.
I have no idea what linux distribution “ubuntu centOS” is. Ubuntu and CentOS are two different distributions. To answer the question in the header: To install make in ubuntu you have to install build-essentials sudo apt-get install build-essential
ok, so my problem was that I tried to install the package with yum which is the primary tool for getting, installing, deleting, querying, and managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as well as other third-party repositories. But I’m using ubuntu and The usual way to install … Read more
Per the RHEL5 manual pages: “repoquery is a program for querying information from YUM repositories similarly to rpm queries.” For your specific case of postgis: # repoquery –requires –recursive –resolve postgis postgresql-libs-0:8.1.23-6.el5_8.i386 geos-0:2.2.3-3.el5.i386 glibc-0:2.5-107.el5_9.5.i686 proj-0:4.5.0-3.el5.i386 You can drop the “.i386” and “.i686” off of the package names if your system is 64-bit. The output from … Read more
Your system is probably configured to exclude the kernel packages. try: sudo vi /etc/yum.conf then comment (or remove the ‘kernel*’ part): #exclude=kernel* Then you should be able to do: sudo yum install kernel-headers Edit: Or, as pointed by Andrew Beals, you can simply run: yum install kernel-headers –disableexcludes=all
I also ran into this issue. The simple solution I ended up using was to add –upgrade to the end of the command. This forced it to install it even though Python thought it was installed. This resolved the issue. So if you have this issue, try the following: sudo pip install python-dateutil –upgrade It … Read more
The first task you’re telling the system to only update the yum cache. On the second you are effectively upgrading all packages to the latest version by using state=latest but you should also use update_cache=yes on the same task to be sure you’re refreshing the cache with its latest package information. The yum module documentation … Read more