OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: Eduardo Vila Echagüe on June 23, 2017, 01:33:05 am

Title: Help with Yum
Post by: Eduardo Vila Echagüe on June 23, 2017, 01:33:05 am
In a recently installed ECS 2.2 Beta 2, I try to install the libraries needed for Firefox 45.5, but when I run

 YUM Install ..(.list of required libraries)

it doesn't find several of them (e.g. Cairo, Pango, etc)

However, if I do the same in ArcaOS, it finds them all.

By using YUM list, I saw that in ArcaOS Yum has access to both .i386 and .i686 libraries, but in ECS it only has access to i.386 libraries. The missing libraries in my ECS are all of the i686 type.

How can I 'upgrade' YUM in order to have access to both type of libraries? I know it is possible, because in an old ECS  I have, yum sees both types. But I don't remember how it was done.

Eduardo Vila Echagüe
Title: Re: Help with Yum
Post by: Dave Yeo on June 23, 2017, 03:40:53 am
Add i686-OS/2-OS/2 to @UNIXROOT\etc\rpm\platform IIRC
Title: Re: Help with Yum
Post by: Tom on June 23, 2017, 05:17:51 pm
What does

Code: [Select]
yum list os2-base
say ?
Title: Re: Help with Yum
Post by: Eduardo Vila Echagüe on June 25, 2017, 05:14:11 am
I added  i686-OS/2-OS/2 to @UNIXROOT\etc\rpm\platform as suggested by Dave, and my YUM could see the i686 repository. However, when I tried to install the libraries required for Firefox 45.5 using YUM, an error occurred, after which YUM didn't work any more.

As I couldn't recover YUM, except by reinstalling the ECS 2.2, I used a quick and dirty solution, I copied the @UNIXROOT\usr directory from a working ArcaOS system to the disk where my ECS 2.2 resides. In this way I could start Firefox 45.5 with no problem.

However, now I don't have a way to update my libraries in this system, either by using YUM directly of through ANPM.

Thanks for your help.
Title: Re: Help with Yum
Post by: Dave Yeo on June 25, 2017, 05:19:24 am
Just do the same with @UNIXROOT\etc and @UNIXROOT\var.