Important notes for non-updated systems

Wikis > Package Manager > Important notes for non-updated systems

Systems with existing RPM & YUM which have not been updated recently

We are aware of the following issues which may impact some systems, depending upon the current state of the RPM & YUM environment. Please read the following carefully. Again, these issues are not problems with Arca Noae Package Manager, but are within the RPM & YUM subsystem.

Potentially critical condition due to outdated stdcpp.dll in \ecs\dll

If you have just deployed an eComStation 2.2 beta II system, or have another system with RPM & YUM already installed, but which has not been updated in some time, you may encounter serious issues with an initial “Update all” operation, due to a potential dll conflict. This is not a shortcoming of Arca Noae Package Manager, but rather a condition of circumstance. Here’s the recommended  procedure before performing that first update:

  1. After installation of Arca Noae Package Manager, start the program. If prompted, allow it to change LIBPATH.
  2. REBOOT (Don’t shortcut this.)
  3. Upon returning to the desktop, start Arca Noae Package Manager. Ensure that the Netlabs Stable Repository has been configured and is enabled. You may do this from the Main menu, by selecting YUM | Repositories… (see the program help for more information).
  4. From the desktop or a command prompt, check for the existence of X:\ecs\dll\stdcpp.dll (where X: is your boot volume) and rename to stdcpp.dl_ .
    This file may be locked. If so, use the following commands to unlock it and rename it:

    [X:\]unlock X:\ecs\dll\stdcpp.dll
    [X:\]ren X:\ecs\dll\stdcpp.dll stdcpp.dl_

    Do not reboot yet.

  5. Back in Arca Noae Package Manager, select the Available packages folder in the left pane. On the right, select the following two packages, if listed (you may use Ctrl-LMB to select multiple packages):
    libc
    os2-base

    (If either or both are available for update, proceed to step 6; otherwise, skip to step 7.)

  6. From the Main menu, select Selected | Update and follow the prompts to update both packages.
  7. Again from the Available packages pane, select the following three packages, if listed (you may use Ctrl-LMB to select multiple packages):
    libgcc1
    libgcc-fwd
    libstdc++

    (If any or all are available for selection, proceed to step 8; otherwise, skip to step 9.)

  8. From the Main menu, select Selected | Install and follow the prompts to install the  packages.
  9. REBOOT NOW. Once the desktop comes back up, start ANPM again, and continue to the next step.
  10. From the YUM menu, select Update all… (This may take some time; please be patient.)
  11. Once the update is complete, REBOOT (Don’t shortcut this.)

Upgraded Python (2.7) leaves missing required package

It is possible that an upgrade to the Python scripting engine from 2.6 to 2.7 may have omitted a required component for YUM to function: urlgrabber. This component is required in order for YUM to access downloadable content, including repository data (not just installable packages).

Symptom

The symptom of this issue is a blank Available (or Installed) packages pane in Arca Noae Package Manager. Selecting packages is impossible, as there is nothing to select. A cleanup operation will appear to succeed, though the package lists remain empty. The last two lines of anpm.log will read:

ImportError: No module named urlgrabber
Return code: 0

This indicates that urlgrabber is not in the expected location.

Recovery

Luckily, the recovery from this is fairly easy, and everything should begin working normally immediately following.

  1. Exit Arca Noae Package Manager.
  2. Open an OS/2 window, and run the following command (all one line):
    [X:\]xcopy U:\usr\lib\python2.6\site-packages\urlgrabber\* U:\usr\lib\python2.7\site-packages\urlgrabber

    (where U: is the drive specified by %UNIXROOT% – the drive referenced by SET UNIXROOT=  in CONFIG.SYS).

  3. If you are prompted as to whether urlgrabber specifies a directory, respond Y, and press <Enter>  to begin the copy procedure.
  4. Start Arca Noae Package Manager. The program should refresh the content panes and function normally.
  5. If listed in the Installed packages pane, select urlgrabber and from the Main menu, go to Selected | Update. (If not listed there, go to the Available packages list, select urlgrabber there, and choose Selected | Install.) This will properly update urlgrabber to the latest version.

This entry last updated: by Lewis Rosenthal