OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on January 28, 2023, 06:12:12 pm

Title: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Martin Iturbide on January 28, 2023, 06:12:12 pm
Hi

I'm getting this "[Errno 256] No more mirrors to try" from ANPM today.  ANPM 1.0.7 and 1.1.0.

Any idea of what can it be the issue? Any server down?

Regards
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Dave Yeo on January 28, 2023, 07:37:16 pm
I see the same and assume there is a server down.
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Dariusz Piatkowski on January 28, 2023, 11:20:11 pm
Martin,

It looks like netlabs repo is off line, you could always try the AOS mirror => "https://www.2rosenthals.com/rpm.netlabs.org/release/$releasever/$basearch/"

Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Sigurd Fastenrath on January 30, 2023, 10:22:10 am
The website 2rosenthals is actual blocked by my Anti Virus Program Bitdefender and marked as "infected site".

Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: JPM on February 16, 2023, 06:08:22 pm
After updating to ANPM 1.1.0 the app crashes immediately. ANPM.err says:

Line 25 of NLSSetText in yumie.VRM:
+++                           Call VRSet control, property, text;
*** Error 40 Incorrect call to routine
Line 32 of ProgressUpdate in yumie.VRM:
+++                       Call NLSSetText 'DT_PROGRESS1', 'Caption', 190;
Line 25 of ProgressEvent in yumie.VRM:
+++           Call ProgressUpdate data;
Line 51 of Main in yumie.VRM:
+++       Call ProgressEvent;
Line 51 of Main in yumie.VRM:
+++     Interpret _VREEvent;


Anyone an idea?
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Dariusz Piatkowski on February 17, 2023, 12:03:11 am
After updating to ANPM 1.1.0 the app crashes immediately. ANPM.err says:

Line 25 of NLSSetText in yumie.VRM:
+++                           Call VRSet control, property, text;
*** Error 40 Incorrect call to routine
Line 32 of ProgressUpdate in yumie.VRM:
+++                       Call NLSSetText 'DT_PROGRESS1', 'Caption', 190;
Line 25 of ProgressEvent in yumie.VRM:
+++           Call ProgressUpdate data;
Line 51 of Main in yumie.VRM:
+++       Call ProgressEvent;
Line 51 of Main in yumie.VRM:
+++     Interpret _VREEvent;


Anyone an idea?

Turn on the debug logging: use "/DEB" as a parameter, as per the ReadMe:

Quote
...
PROGRAM PARAMETERS

/NOP  No Progress bar
   Disables display of progress bars.

/DUP  Show Duplicate packages
   Allows the display of duplicate packages (multiple architectures)
   in lists. (Normally, only those packages which most closely match
   the configured platform - i386, i686, pentium4 - or marked "noarch"
   are shown.)

/DEB  Debug
   Include more information in %LOGFILES%\ANPM.LOG (useful for troubleshooting)
...
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Alex Taylor on February 17, 2023, 01:06:43 am
After updating to ANPM 1.1.0 the app crashes immediately. ANPM.err says:

Line 25 of NLSSetText in yumie.VRM:
+++                           Call VRSet control, property, text;
*** Error 40 Incorrect call to routine
Line 32 of ProgressUpdate in yumie.VRM:
+++                       Call NLSSetText 'DT_PROGRESS1', 'Caption', 190;
Line 25 of ProgressEvent in yumie.VRM:
+++           Call ProgressUpdate data;
Line 51 of Main in yumie.VRM:
+++       Call ProgressEvent;
Line 51 of Main in yumie.VRM:
+++     Interpret _VREEvent;

Anyone an idea?

I don't see any obvious reason for that crash. Are you, by any chance, running a non-default REXX interpreter (e.g. Object REXX), or a non-default system shell (e.g. 4OS/2)?
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: JPM on February 17, 2023, 11:54:06 am
Thank you for the answers. Here is the Debug Log:

----------[ ANPM 1.1 (202212271) started in debug mode: 17 Feb 2023 10:49:54 ]----------
[InitSpecialProcessing] Setting globals.!proclist_uri = "http://repos.arcanoae.com/anpm/pkgproc_url 2"
[InitSpecialProcessing] Setting globals.!needsboot = "libc libcx libgcc1 libgcc freetype fontconfig"
[InitSpecialProcessing] Setting globals.!priority1 = "libc libcx libgcc1 libgcc python2-rpm"
[InitSpecialProcessing] Setting globals.!priority2 = "python"
[InitSpecialProcessing] Setting globals.!priority3 = "rpm yum"
[InitSpecialProcessing] Setting globals.!priority4 = "os2-base"
[InitSpecialProcessing] Setting globals.!priority5 = "os2-mpts"

The same problem occurs with a fresh installation of ArcaOS 5.0.7.
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: Alex Taylor on February 18, 2023, 05:42:35 am
Thank you for the answers. Here is the Debug Log:

----------[ ANPM 1.1 (202212271) started in debug mode: 17 Feb 2023 10:49:54 ]----------
[InitSpecialProcessing] Setting globals.!proclist_uri = "http://repos.arcanoae.com/anpm/pkgproc_url 2"
[InitSpecialProcessing] Setting globals.!needsboot = "libc libcx libgcc1 libgcc freetype fontconfig"
[InitSpecialProcessing] Setting globals.!priority1 = "libc libcx libgcc1 libgcc python2-rpm"
[InitSpecialProcessing] Setting globals.!priority2 = "python"
[InitSpecialProcessing] Setting globals.!priority3 = "rpm yum"
[InitSpecialProcessing] Setting globals.!priority4 = "os2-base"
[InitSpecialProcessing] Setting globals.!priority5 = "os2-mpts"

The same problem occurs with a fresh installation of ArcaOS 5.0.7.

Whatever is triggering this error, it doesn't seem to be coming from within ANPM. I can only surmise something is wrong on your system, but it's hard to say what. I suggest you open a ticket with Arca Noae, and include both the ANPM debug log, and (as per standard procedure) a TestLog of your system.
Title: Re: ANPM - YUM error. [Errno 256] No more mirrors to try
Post by: JPM on April 17, 2023, 08:49:31 pm
Thanks, the problem seems to be with my installation on Parallels. It works on bare metal.