Dyalog / ride

Cross-platform IDE for Dyalog APL
https://dyalog.github.io/ride
MIT License
198 stars 29 forks source link

RIDE 4.5 has a dependency on libgconf-2-so.4(64bit). This is not available on openSUSE #953

Open dyaandys opened 1 year ago

dyaandys commented 1 year ago

rpm -Uvh ride-4.5.3770-1.x86_64.rpm error: Failed dependencies: libgconf-2.so.4()(64bit) is needed by ride-4.5-0:4.5.3770-1.x86_64

libgconf is not available for openSUSE 15.4 (and possibly 15.[23] too).

Perhaps there's nothing that can be done about this: if not we should document that openSUSE cannot run RIDE.

May be true of earlier RIDE versions too.

bernecky commented 5 months ago

libgconf does not exist in Ubuntu 23.10, either. That gives me:

sudo dpkg -i ride-4.4.3732-1_amd64.deb 
(Reading database ... 281071 files and directories currently installed.)
Preparing to unpack ride-4.4.3732-1_amd64.deb ...
Unpacking ride-4.4 (4.4.3732) over (4.4.3732) ...
dpkg: dependency problems prevent configuration of ride-4.4:
 ride-4.4 depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.

dpkg: error processing package ride-4.4 (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 ride-4.4
rbe@medusa:~/dyalog/ride$ sudo apt install libgconf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libgconf
rbe@medusa:~/dyalog/ride$ uname -a
Linux medusa 6.5.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan  9 17:03:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Suggestions?

dyavc commented 5 months ago

I have previously been advised that you should use sudo apt install and not dpkg.

This was for installing RIDE 4.4 on Ubuntu 20.10: sudo dpkg -i ride*.deb Selecting previously unselected package ride-4.4. (Reading database ... 281939 files and directories currently installed.) Preparing to unpack ride-4.4.3495-1_amd64.deb ... Unpacking ride-4.4 (4.4.3495) ... dpkg: dependency problems prevent configuration of ride-4.4: ride-4.4 depends on libgconf-2-4; however: Package libgconf-2-4 is not installed. dpkg: error processing package ride-4.4 (--install): dependency problems - leaving unconfigured Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing: ride-4.4

bernecky commented 5 months ago

No problem. Please tell me the target filename, and where I can get it. E.g., X in the next line:

  sudo apt install X

Thanks, Bob

On 2024-02-07 05:42, dyavc wrote:

I have previously been advised that you should use sudo apt install and not dpkg.

This was for installing RIDE 4.4 on Ubuntu 20.10: sudo dpkg -i ride*.deb Selecting previously unselected package ride-4.4. (Reading database ... 281939 files and directories currently installed.) Preparing to unpack ride-4.4.3495-1_amd64.deb ... Unpacking ride-4.4 (4.4.3495) ... dpkg: dependency problems prevent configuration of ride-4.4: ride-4.4 depends on libgconf-2-4; however: Package libgconf-2-4 is not installed. dpkg: error processing package ride-4.4 (--install): dependency problems - leaving unconfigured Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing: ride-4.4

— Reply to this email directly, view it on GitHub https://github.com/Dyalog/ride/issues/953#issuecomment-1931766474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTLALUCLVBOLJWIRGTML2DYSNLB7AVCNFSM6AAAAAAYGJUOTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZRG43DMNBXGQ. You are receiving this because you commented.Message ID: @.***>

-- Robert Bernecky Snake Island Research Inc 18 Fifth Street Ward's Island Toronto, Ontario M5J 2B9

@.*** tel: +1 416 203 0854 text/cell: +1 416 996 4286

dyavc commented 5 months ago

Please download the .deb file and then https://github.com/Dyalog/ride/releases/download/v4.4.3732/ride-4.4.3732-1_amd64.deb sudo apt install ./ride-4.4.3732-1_amd64.deb

dyavc commented 5 months ago

Bob has tried that, and it doesn't work. Looks like Ubuntu 23.10 also does not have libgconf-2-4 like OpenSUSE.

sudo apt install ./ride-4.4.3732-1_amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'ride-4.4' instead of './ride-4.4.3732-1_amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help resolve the situation:

The following packages have unmet dependencies: ride-4.4 : Depends: libgconf-2-4 but it is not installable E: Unable to correct problems, you have held broken packages.

This is a fresh install of Ubuntu 23.10. This does not find anything:

find /usr -name libgconf-2-4
bernecky commented 5 months ago

FYI, your proposed fix workaround not work on Ubuntu 23.10. However, Vince suggested a workaround that did the trick for me, so I consider this Issue resolved, assuming the ride people remove the dependence on libgconf,  as in the first link that Vince sent me.

Here is what I ended up doing, which will likely work on OpenSUSE, too:

I made the following addition to the bottom of the /etc/apt/sources.list file:

Attempt to fix ride install failure for Dyalog APL. 2024-02-07

Missing libgconf-2-4

deb http://cz.archive.ubuntu.com/ubuntu lunar main universe

Then, I did:

   sudo apt update    sudo apt install ./ride-4.4.3732-1_amd64.deb

The install step worked, and then ride would start, as desired

Thanks for the quick work, all y'all.

Cheers, Bob

On 2024-02-07 08:55, dyavc wrote:

Please download the .deb file and then https://github.com/Dyalog/ride/releases/download/v4.4.3732/ride-4.4.3732-1_amd64.deb sudo apt install ./ride-4.4.3732-1_amd64.deb

— Reply to this email directly, view it on GitHub https://github.com/Dyalog/ride/issues/953#issuecomment-1932101423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTLALWVJTL3XXMCY772EBLYSOBTRAVCNFSM6AAAAAAYGJUOTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGEYDCNBSGM. You are receiving this because you commented.Message ID: @.***>

-- Robert Bernecky Snake Island Research Inc 18 Fifth Street Ward's Island Toronto, Ontario M5J 2B9

@.*** tel: +1 416 203 0854 text/cell: +1 416 996 4286