OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Keith Marjerison on April 29, 2022, 07:08:44 pm
-
I recently tried YUM Tools Update in ANPM, it worked for a while downloading packages and installing, then there was an error message on 1 package and ANPM asked me to shut it down and reboot. So I did, upon reboot ANPM would start but I would get a rexx console error and no packages would display in the installed or available packages folders. Firefox will not start any more. I looked for a log file but am not sure what I am looking for.
Any way out of this?
-
Hi Keith.
Do you get any extra errors from ANPM? You can upload the error image here.
If you try a "yum update" on your command line, is there something else missing to update? Can you check that?
Regards
-
Used /DEB switch on ANPM.EXE and copied output to anpm.log which I have attached along with a picture of the error messages without the /DEB switch.
Nothing happens when running yum update from command line. ie no output.
-
I recently tried YUM Tools Update in ANPM, it worked for a while downloading packages and installing, then there was an error message on 1 package and ANPM asked me to shut it down and reboot. So I did, upon reboot ANPM would start but I would get a rexx console error and no packages would display in the installed or available packages folders. Firefox will not start any more. I looked for a log file but am not sure what I am looking for.
Any way out of this?
In ArcaOS, the logs are in : C:\var\log\yum.log (or, wherever your log files go for other versions of OS/2).
I have seen variations on this, while testing packages from experimental repositories. I don't remember what was needed to recover. A picture of the console error may help.
-
Since this happened I have tried, Restoring my C: drive did not help because my unixroot=E:. Renamed E:\usr to OLDuser and copied usr from ArcaOS 1.05 test install to E:. Now ANPM starts but there is nothing in installed and only a few in available.
-
I recently tried YUM Tools Update in ANPM, it worked for a while downloading packages and installing, then there was an error message on 1 package and ANPM asked me to shut it down and reboot.
(...)
I looked for a log file but am not sure what I am looking for.
Any way out of this?
First question that comes to my mind: what was the name of the package that caused the error message? Do you remember that?
The log file should be in \var\log and is named anpm.log. Can you attach that file to your post?
Next step would be to narrow down which component is now failing: is it anpm? Or is it yum or rpm or python? Or one of the support packages that is needed by the components mentioned. That Firefox won't start, suggests that is one of the support packages.
-
Since this happened I have tried, Restoring my C: drive did not help because my unixroot=E:. Renamed E:\usr to OLDuser and copied usr from ArcaOS 1.05 test install to E:. Now ANPM starts but there is nothing in installed and only a few in available.
You could start over. Move \usr, \var and \etc out of the way, might have to go to \usr\lib and do unlock *.dll to move \usr. The start ANPM, it should download the bootstrap and install it. After rebooting when it asks, things should be working and you have the fun of installing everything else.
Usually these kind of problems can be traced to Python problems, the fact that Firefox won't start points to NSS being the problem
-
This happened a while back and I'm old, but I think it was the highmem package.
When trying to do the yum tools update it would stop on this, reference 20220428_215351.jpg, so it looks like a python2.7 problem.
-
should be clipboard.jpg
-
I can boot to ArcaOS and rename those folders to OLDuser OLDvar OLDetc and then restart eCS.
I'll give it a try when I have some time. I'll save that for last.
-
I can boot to ArcaOS and rename those folders to OLDuser OLDvar OLDetc and then restart eCS.
I'll give it a try when I have some time. I'll save that for last.
Ah, so you are using ANPM on an eCS-system.
In that case you should follow some extra instructions that are listed on the Arca Noae website.
See the paragraph "Important note for systems with non-updated RPM/YUM" at the bottom of the webpage for the Arca Noae Package Manager. There it mentions that you have to take some precautions before running a "YUM | Update all" in case you do a fresh install of ANPM or if you have an empty package list when you start ANPM.
I followed them on my eCS-system and have had no problems after that. See https://www.arcanoae.com/wiki/anpm/non-updated-systems/
-
I had already upgraded from YUM/RPM to ANPM and used it for years without this problem.
I will remove my etc, usr, and var directories and uninstall the ANPM package and reboot and reinstall into cleaned out directory, and then follow those directions. I'll get back to you.
-
That did not work. i still end up with nothing in Installed and only a couple of packages in Available.
-
Hi Keith.
I wrote this article about reinstalling RPM/YUM and ANPM, maybe you can get some hints there.
- RPM:_Switching_from_i686_to_Pentium4 (https://www.os2world.com/wiki/index.php/RPM:_Switching_from_i686_to_Pentium4)
Just in case, check if you are using ANPM 1.0.7. - https://repos.arcanoae.com/anpm/anpm_1_0_7.exe
Regards
-
If the re-install procedure didn't work, there's likely a conflicting DLL installed somewhere, perhaps a libc one.
-
Keith,
What happens when you open a command prompt window and type:
yum list installed
? You should get a list of installed components (goes by fast!). You can also get the 'Testlog' utility from ArcaNoae, run it and in the testlog file created will be a list of YUM installed components. This will at least tell you whether or not YUM itself is working.
If it is OK, then you could try deleting C:\OS2\ANPM.INI ... it will be created on the next startup. Maybe corruption there is hanging things up...
Regards,
-
Thank you David
That did it, I outputted the yum list install>yumlstinst.lst and there were a lot of entries.
Deleting ANPM.ini and rebooting got it working again. I installed a bunch of missing packages for firefox and now I'm back on the internet with firefox45.9.0 daily.
Thank you all for your help and input.
Don't know what deleting the old etc, usr and var did to my system, but I should be able to reinstall anything that is not working.
Thanks again. :)