After a fairly recent install (as in: within the past two weeks) of openSUSE Leap 42.1, I tried installing packages gap, gap-doc, and a few other gap packages. I have done this with both zypper and yast2.
In fact, “zypper info gap*” seems to return the right results, listing gap, gap-doc and a few others as ‘installed’.
But now here is the problem: it is a feature of the GAP language that once you start the program and wait for it to finish loading libraries and print the prompt, ‘?help’ is supposed to display the online help. This works fine in my installation of GAP on another virtual machine under Fedora, but fails on openSUSE with the error message: Help: no matching entry found
[FONT=arial]In fact, here is a little more of the screen, clarifying that I really did type it right, and showing the version# of GAP:
[/FONT]gap
┌───────┐ GAP, Version 4.7.9 of 29-Nov-2015 (free software, GPL)
│ GAP │ http://www.gap-system.org
└───────┘ Architecture: x86_64-suse-linux-gnu-gcc-default64
Libs used: gmp, readline
Loading the library and packages …
Packages: GAPDoc 1.5.1
Try ‘?help’ for help. See also ‘?copyright’ and ‘?authors’
gap> ?help
Help: no matching entry found
gap>
[FONT=arial]I am not sure how helpful it is, but concerning the other two commands listed above, one fails in the same way but ‘?copyright’ fails in a different way, e.g.:
[/FONT]elp: several entries match this topic - type ?2 to get match [2]
[1] AtlasRep (not loaded): Copyright
[2] Automata (not loaded): Copyright
[3] GAPDoc: Copyright
[4] GAPDoc: Copyright
[5] GAPDoc Example: Copyright
[FONT=arial]Now I recognize this as the form the output to a help command takes when there are several different help entries matching the topic. And in fact, we can see the word ‘Copyright’ did match. But if I select any of 1-5, I still get a dead end: it opens vi instead of displaying the selected item.
Now since all these things work with the Fedora package fro GAP, it seems pretty clear that there is something wrong with GAP package in the [/FONT]openSUSE-Leap-42.1-Update-Non-Oss [FONT=arial]repository. But this is the most up-to-date repo searching reveals for GAP under openSUSE. I find it hard to believe that all other users under openSUSE are living with such a basic failure. Or could there be some peculiarity of my system that causes it to fail for me but not for others?
The main peculiarity I can think of off the top of my head is that I am running openSUSE under Oracle’s VM, VirtualBox. But again, I find it hard to believe that could explain it.
Come to think of it, there are a couple of suspicious looking items in the zypper info output, so I am including this here, just in case this helps decipher what is going wrong:
[/FONT]zypper info gap
Loading repository data…
Warning: Repository ‘openSUSE-Leap-42.1-Update-Non-Oss’ appears to be outdated. Consider using a different mirror or server.
Reading installed packages…
Information for package gap:
Repository: science
Name: gap
Version: 4.7.9-2.1
Arch: x86_64
Vendor: obs://build.opensuse.org/science
Installed: Yes
Status: up-to-date
Installed Size: 0 B
Summary: System for Computational Discrete Algebra
Description:
GAP is a system for computational discrete algebra, with particular
emphasis on Computational Group Theory. GAP provides a programming
language, a library of thousands of functions implementing algebraic
algorithms written in the GAP language as well as large data
libraries of algebraic objects. GAP is used in research and teaching
for studying groups and their representations, rings, vector spaces,
algebras, combinatorial structures, and more.
This package is for a medium GAP installation: core, documentation
and development. See gap-full if you want everything of the GAP
distribution.
It strikes me as particularly suspicious that Installed Size is 0. I already know to ignore the warning about the repo being ‘outdated’.
Any insight into this problem or even how to figure out more about it will be gratefully accepted.