Installed CentOS8 on a VM from
CentOS-8.1.1911-x86_64-dvd1.iso
Trying to update it gives
Failed to download metadata for repo 'appstream' Error: Failed to download metadata for repo 'appstream'
I have the rpm's on a local repository but disabling the repos has no effect on the error and will no proceed with the update.
is there a fix?
On Fri, 2023-02-24 at 23:33 -0500, Robert McBroom via users wrote:
Installed CentOS8 on a VM from
CentOS-8.1.1911-x86_64-dvd1.iso
Trying to update it gives
Failed to download metadata for repo 'appstream' Error: Failed to download metadata for repo 'appstream'
You're really posting on the wrong list for CentOS, but CentOS 8 went end-of-life in December 2022. They'll probably remove various CentOS 8 files from their servers.
If you want to use a CentOS that is still being updated, you can use CentOS 7 until mid 2024 (it goes end-of-life in June). And there's CentOS Stream which is not going end-of-life, but I don't use it, and don't know anything further about it.
I've yet to decide what to do about it, I run a server on it because Fedora's life cycle is way too short for my liking. I really don't want such rapid major upheavals to a server.
On 2/24/23 9:18 PM, Tim via users wrote:
On Fri, 2023-02-24 at 23:33 -0500, Robert McBroom via users wrote:
Installed CentOS8 on a VM from
CentOS-8.1.1911-x86_64-dvd1.iso
Trying to update it gives
Failed to download metadata for repo 'appstream' Error: Failed to download metadata for repo 'appstream'
You're really posting on the wrong list for CentOS, but CentOS 8 went end-of-life in December 2022. They'll probably remove various CentOS 8 files from their servers.
If you want to use a CentOS that is still being updated, you can use CentOS 7 until mid 2024 (it goes end-of-life in June). And there's CentOS Stream which is not going end-of-life, but I don't use it, and don't know anything further about it.
I've yet to decide what to do about it, I run a server on it because Fedora's life cycle is way too short for my liking. I really don't want such rapid major upheavals to a server.
There are several newer distros that picked up where CentOS 8 left off. Take a look at AlmaLinux (https://almalinux.org/) or Rocky Linux (https://rockylinux.org/) -- both sourced from upstream RHEL and are 100% binary/bug-for-bug compatible with RHEL. They even provide easy migration tools from CentOS.
Scott
Am 25.02.2023 um 05:33 schrieb Robert McBroom via users users@lists.fedoraproject.org:
Installed CentOS8 on a VM from
CentOS-8.1.1911-x86_64-dvd1.iso
Trying to update it gives
Failed to download metadata for repo 'appstream' Error: Failed to download metadata for repo 'appstream'
I have the rpm's on a local repository but disabling the repos has no effect on the error and will no proceed with the update.
is there a fix?
CentOS 8 is EOL since end of last year. My fix was: replacing CentOS with Fedora Server, although my perspective may not be that unencumbered, given my signature. Unless you are using very special application software or a very special use case you will not face more issues as with CentOS, in some cases rather even less, because the software versions are more recent.
-- Peter Boy https://fedoraproject.org/wiki/User:Pboy pboy@fedoraproject.org
Timezone: CET (UTC+1) / CEST (UTC+2)
Fedora Server Edition Working Group member Fedora docs team contributor Java developer and enthusiast
On Sat, Feb 25, 2023 at 1:48 AM Peter Boy pboy@uni-bremen.de wrote:
Am 25.02.2023 um 05:33 schrieb Robert McBroom via users users@lists.fedoraproject.org:
Installed CentOS8 on a VM from
CentOS-8.1.1911-x86_64-dvd1.iso
Trying to update it gives
Failed to download metadata for repo 'appstream' Error: Failed to download metadata for repo 'appstream'
I have the rpm's on a local repository but disabling the repos has no effect on the error and will no proceed with the update.
is there a fix?
CentOS 8 is EOL since end of last year. My fix was: replacing CentOS with Fedora Server, although my perspective may not be that unencumbered, given my signature. Unless you are using very special application software or a very special use case you will not face more issues as with CentOS, in some cases rather even less, because the software versions are more recent.
++
I find Fedora Server is far superior to CentOS. With Fedora Server you get modern software without the need to take special actions like on CentOS. There's no putzing around with ancient software or Software Collections (SCL).
When I look back at all the time I wasted over the years on CentOS trying to run a LAMP stack with Mediawiki... So much wasted time and energy...
One thing to keep in mind is, you need to run dnf-system-upgrade every 6 months or so to keep up with Fedora's cadence. https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/
Jeff