Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Bill Gee
The download eventually finished for me.  It was slow, but it did finish.

The install worked without a hitch, everything rebooted and now the system 
reports it is on Stream.  All the VirtualBox guests came back up, too.

Thanks!


Bill Gee


On Monday, February 14, 2022 9:20:14 AM CST Greg Bailey wrote:
> On 2/14/22 08:08, Bill Gee wrote:
> > Ah, additional details.  Thanks!  The download is started.   Running REALLY 
> > slow (like 24kb per second!) but it is running.  I am not in a big hurry.
> >
> >
> 
> I'm also trying to upgrade my CentOS Stream 8 system, and am getting 
> super slow download speeds when the initial metadata is being 
> retrieved...  approx. 30kB/s.
> 
> I know on older CentOS systems, you could Ctrl-C and yum would move onto 
> a different (hopefully faster) mirror, but now Ctrl-C just stops dnf 
> altogether, and if I reissue the "dnf upgrade" command, it again slows 
> down to a crawl.
> 
> Is there some setting for a minimum bandwidth threshold or some other 
> way to diagnose some really slow mirror?
> 
> thanks,
> Greg
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Frank Cox
On Mon, 14 Feb 2022 08:20:14 -0700
Greg Bailey wrote:

> Is there some setting for a minimum bandwidth threshold or some other 
> way to diagnose some really slow mirror?

Add the fastestmirror directive to /etc/dnf/dnf.conf

That won't give you a minimum bandwidth but it will find what it thinks is the 
fastest mirror to download from.  (Not guaranteed to be the fastest since it 
measures ping response time at the start and picks from there, but it's more 
than nothing.)

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Greg Bailey

On 2/14/22 08:08, Bill Gee wrote:

Ah, additional details.  Thanks!  The download is started.   Running REALLY 
slow (like 24kb per second!) but it is running.  I am not in a big hurry.




I'm also trying to upgrade my CentOS Stream 8 system, and am getting 
super slow download speeds when the initial metadata is being 
retrieved...  approx. 30kB/s.


I know on older CentOS systems, you could Ctrl-C and yum would move onto 
a different (hopefully faster) mirror, but now Ctrl-C just stops dnf 
altogether, and if I reissue the "dnf upgrade" command, it again slows 
down to a crawl.


Is there some setting for a minimum bandwidth threshold or some other 
way to diagnose some really slow mirror?


thanks,
Greg

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Bill Gee
Ah, additional details.  Thanks!  The download is started.   Running REALLY 
slow (like 24kb per second!) but it is running.  I am not in a big hurry.


Bill Gee


On Monday, February 14, 2022 6:48:44 AM CST Pete Biggs wrote:
> On Mon, 2022-02-14 at 06:36 -0600, Bill Gee wrote:
> > H.  I thought I was already on stream, but apparently not. 
> > /etc/redhat-release says it is not stream.
> > 
> > I looked for a method to upgrade.  Found some notes at techrepublic.
> > The first step is to install centos-release-stream, which fails.  So
> > what is the method for doing an upgrade?
> 
> I gave you the link for the official way of doing it:
> 
>   https://centos.org/download/
> 
> 
> Click on the "CentOS Stream" purple bit at the top, then on the '8'
> purple bit. Then scroll down to "Converting from CentOS Linux 8 to
> CentOS Stream 8". If your machine hasn't been updated for a while, you
> might need to add '--allowerasing' to the comand line to swap the
> distros.
> 
> If it doesn't work, then please let the list know any error messages so
> someone can help you.
> 
> P.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Alain Péan

Le 14/02/2022 à 13:36, Bill Gee a écrit :

H.  I thought I was already on stream, but apparently not.  
/etc/redhat-release says it is not stream.

I looked for a method to upgrade.  Found some notes at techrepublic.  The first 
step is to install centos-release-stream, which fails.  So what is the method 
for doing an upgrade?

Bare metal reinstall is NOT an option.  If that is the only way to do it, then 
I will just let this system run for a few years with no updates.


As mentioned by Pete Biggs, you can also move to another RHEL clone, 
which have all the updates, for example Rocky Linux, or Alma Linux. 
There is a script to do it :

https://docs.rockylinux.org/guides/migrate2rocky/

It is not recommended to not have any updates for years...

Alain

--
Administrateur Système/Réseau
C2N Centre de Nanosciences et Nanotechnologies (UMR 9001)
Boulevard Thomas Gobert (ex Avenue de La Vauve), 91120 Palaiseau
Tel : 01-70-27-06-88 Bureau A255

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Pete Biggs
On Mon, 2022-02-14 at 06:36 -0600, Bill Gee wrote:
> H.  I thought I was already on stream, but apparently not. 
> /etc/redhat-release says it is not stream.
> 
> I looked for a method to upgrade.  Found some notes at techrepublic.
> The first step is to install centos-release-stream, which fails.  So
> what is the method for doing an upgrade?

I gave you the link for the official way of doing it:

  https://centos.org/download/


Click on the "CentOS Stream" purple bit at the top, then on the '8'
purple bit. Then scroll down to "Converting from CentOS Linux 8 to
CentOS Stream 8". If your machine hasn't been updated for a while, you
might need to add '--allowerasing' to the comand line to swap the
distros.

If it doesn't work, then please let the list know any error messages so
someone can help you.

P.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Bill Gee
H.  I thought I was already on stream, but apparently not.  
/etc/redhat-release says it is not stream.

I looked for a method to upgrade.  Found some notes at techrepublic.  The first 
step is to install centos-release-stream, which fails.  So what is the method 
for doing an upgrade?

Bare metal reinstall is NOT an option.  If that is the only way to do it, then 
I will just let this system run for a few years with no updates.


Bill Gee


On Monday, February 14, 2022 6:15:52 AM CST Pete Biggs wrote:
> On Mon, 2022-02-14 at 05:55 -0600, Bill Gee wrote:
> > Every time I run dnf, I get this:
> > 
> > =
> > [root@vmhost2 ~]# dnf upgrade 
> > CentOS Linux 8 - AppStream  
> >  70  B/s |  38  B 00:00 
> > Error: Failed to download metadata for repo 'appstream': Cannot prepare 
> > internal mirrorlist: No URLs in mirrorlist
> > =
> > 
> > I tried disabling the repository, but that only gives me exactly the
> > same error for the baseos repository.  I doubt it is a problem in the
> > .repo files.  Something else is going on.
> > 
> > Ping to mirrorlist.centos.org works on both ipv4 and ipv6, so I know
> > that both name resolution and network connectivity are working.
> > 
> That's because you are still on CentOS 8 not 8-stream.  The C8
> repositories are now empty. (The equivalent repo for 8-stream is
> labelled "CentOS Stream 8 - AppStream".)
> 
> To move to 8 Stream, see https://centos.org/download/
> 
> You will also probably soon get some recommendations to not move to 8
> stream and to use one of the other clone distros ...
> 
> P.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Pete Biggs
On Mon, 2022-02-14 at 05:55 -0600, Bill Gee wrote:
> Every time I run dnf, I get this:
> 
> =
> [root@vmhost2 ~]# dnf upgrade 
> CentOS Linux 8 - AppStream
>70  B/s |  38  B 00:00 
> Error: Failed to download metadata for repo 'appstream': Cannot prepare 
> internal mirrorlist: No URLs in mirrorlist
> =
> 
> I tried disabling the repository, but that only gives me exactly the
> same error for the baseos repository.  I doubt it is a problem in the
> .repo files.  Something else is going on.
> 
> Ping to mirrorlist.centos.org works on both ipv4 and ipv6, so I know
> that both name resolution and network connectivity are working.
> 
That's because you are still on CentOS 8 not 8-stream.  The C8
repositories are now empty. (The equivalent repo for 8-stream is
labelled "CentOS Stream 8 - AppStream".)

To move to 8 Stream, see https://centos.org/download/

You will also probably soon get some recommendations to not move to 8
stream and to use one of the other clone distros ...

P.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS Stream 8 dnf fails

2022-02-14 Thread Bill Gee
Every time I run dnf, I get this:

=
[root@vmhost2 ~]# dnf upgrade 
CentOS Linux 8 - AppStream  
 70  B/s |  38  B 00:00 
Error: Failed to download metadata for repo 'appstream': Cannot prepare 
internal mirrorlist: No URLs in mirrorlist
=

I tried disabling the repository, but that only gives me exactly the same error 
for the baseos repository.  I doubt it is a problem in the .repo files.  
Something else is going on.

Ping to mirrorlist.centos.org works on both ipv4 and ipv6, so I know that both 
name resolution and network connectivity are working.

Thanks!


Bill Gee


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos