Ancestris Genealogy program

Questions about software.
Don_in_Vermont
Posts: 6
Joined: 10 Mar 2019 15:35

Ancestris Genealogy program

Postby Don_in_Vermont » 12 Mar 2019 13:34

I am interested in genealogy and am trying to install "Ancestris" from Ancestris.org. It comes in a .deb package and I am using GDEBI package installer but can't seem to get it installed. Assistance appreciated. I am running Distribution Solydxee.
Don

nuts2u
Posts: 84
Joined: 03 Nov 2013 21:07

Re: Ancestris Genealogy program

Postby nuts2u » 12 Mar 2019 13:57

It is an Ubuntu program. You can't install Ubumtu specific programs in Debian, which solydxee is based on. Probably some dependencies that are not resolvable. Just a guess.....


Liberalism is the art of standing on your head,
then telling everyone around you that they're upside-down.

Don_in_Vermont
Posts: 6
Joined: 10 Mar 2019 15:35

Re: Ancestris Genealogy program

Postby Don_in_Vermont » 12 Mar 2019 17:11

I am new to this distribution so thanks for the input. :)

User avatar
patzy
Posts: 409
Joined: 15 Dec 2013 08:32
Location: Australia

Re: Ancestris Genealogy program

Postby patzy » 12 Mar 2019 21:33

Don_in_Vermont wrote:
12 Mar 2019 17:11
I am new to this distribution so thanks for the input. :)
I use gramps for my genealogy. A very versatile program.
It is available in the Solyd repos.

Don_in_Vermont
Posts: 6
Joined: 10 Mar 2019 15:35

Re: Ancestris Genealogy program

Postby Don_in_Vermont » 13 Mar 2019 11:37

Thanks, I will check out Gramps.

User avatar
ilu
Posts: 2521
Joined: 09 Oct 2013 12:45

Re: Ancestris Genealogy program

Postby ilu » 13 Mar 2019 11:41

nuts2u wrote:
12 Mar 2019 13:57
It is an Ubuntu program. You can't install Ubumtu specific programs in Debian, which solydxee is based on. Probably some dependencies that are not resolvable. Just a guess.....
This is not true. At least not generally . Ubuntu and SolydXK have the same basis: Debian. It's sometimes possible that libraries are missing or something else goes wrong but that can usually be corrected. Only Ubuntu repositories should never be used but this is no repository.

Now, ancestris.org offers a download for Ubuntu, Mint, Debian which is the correct one and installs for me but I'm on regular SolydX. gdebi usually tells you why an install fails and that information would be good to have. Please, always give every available information with your help request! Maybe EE is too new. It's a java app so you should check that first.
IMPORTANT : In order to use version 0.9 or the 'daily version' of Ancestris, you need to install Java version 1.8 on your system. Ancestris will not work with more recent versions of Java.
Please enter this command in terminal and check whether the output has "ii" at the beginning of the lines.

Code: Select all

dpkg -l openjdk-8*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-================================================================
ii  openjdk-8-jre:amd64           8u181-b13-2~deb9u1  amd64               OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-8-jre-headless:amd64  8u181-b13-2~deb9u1  amd64               OpenJDK Java runtime, using Hotspot JIT (headless)
EE has JRE (1.)11 as a standard but you can install version (1.)8 as well. This has to be fixed first.

nuts2u
Posts: 84
Joined: 03 Nov 2013 21:07

Re: Ancestris Genealogy program

Postby nuts2u » 13 Mar 2019 13:35

I stand corrected...

My answer should have been....You shouldn't install Ubumtu specific programs in Debian. instead of .....You can't install Ubumtu specific programs in Debian

I never...ever install any Ubuntu specific program on my Debian system. If the developer can't/won't make a Debian version of the program, I don't use the program.


Liberalism is the art of standing on your head,
then telling everyone around you that they're upside-down.

Don_in_Vermont
Posts: 6
Joined: 10 Mar 2019 15:35

Re: Ancestris Genealogy program

Postby Don_in_Vermont » 13 Mar 2019 14:41

Thanks all for your help. I have found that the issue is in Debian testing which causes the error. It works on Debian Stretch. I have refereed the issue to support at Ancestris and will see what they have to say. As far as the program Gramps, I have tried to use several times and just can't get my head around it, much prefer Ancestris. I will update this when I get more info.

User avatar
ilu
Posts: 2521
Joined: 09 Oct 2013 12:45

Re: Ancestris Genealogy program

Postby ilu » 14 Mar 2019 03:33

@Don_in_Vermont, you did not say whether the Java version is the cause of the problem, but I guess so. The ancestris developers won't be able/willing to fix this. Porting from v. 1.8 to v. 1.11 is not urgent - you can install several Java versions on the same system. The correct solution would be to install openjre8 from the buster repo and maybe also configuring it as default alternative.

@nuts2u: No I don't agree. The only thing you can rely on is the Debian repository. Whenever you install something from outside of the repo you have to carefully check compatibility, no matter whether it's advertised for Ubuntu or for Debian. You never know whether anything was built on Debian or tested for it. Saying "this is for Debian" is just advertising, nothing more. And packages advertised for Ubuntu might work as well. There is no difference, you always need to check the content of the .deb package.

In the case of Ancestris a quick look inside the package would have told you that this is a java app. You don't even need to install the .deb package, you can just copy the tar.gz archive - and the programs code is most probably the same for Ubuntu, Debian, or even Windows.

Don_in_Vermont
Posts: 6
Joined: 10 Mar 2019 15:35

Re: Ancestris Genealogy program

Postby Don_in_Vermont » 14 Mar 2019 11:58

Here is the response I received from Ancestris Support.

A warm welcom to you to Ancestris !

It looks like the java version is too recent. You would need to install version 1.8 of java (you can keep the current one) and make sure you use Ancestris 0.10.

Here are instructions on how to do that. https://en.ancestris.org/index.php?title=Installation

Sorry about that. We are currently working on our next version to avoid this issue.

Best regards,
Frederic

hayden
Posts: 3
Joined: 28 Oct 2019 18:37

Re: Ancestris Genealogy program

Postby hayden » 28 Oct 2019 20:56

Not sure if this is the place to put this but the issue in this thread is wider than this one ancestry program. I am not a Java programmer but I am on the advisory council for a free statistics package for introductory statistics courses developed in Java and FX. It runs fine in SolydK 8 and 9 but not in 10. I think the issue is that it requires FX and that is not a part of Java 11. In earlier Linux distros I could install Java 8 along side 11 but Java 8 is not in the repositories for Debian/SolydK 10. You can supposedly install it from openjdk-r but

Code: Select all

root@solydxk10:/home/hayden# add-apt-repository ppa:openjdk-r/ppa
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Solydxk/buster
The fix might be as simple as copying the Debian 10 template and renaming it "Solydxk/buster". Or any other advice on getting Java 8 to work in SolydK 10 would be welcome. I was planning to switch from Debian 8 to Solydk 10 but this would be a deal breaker.

User avatar
Arjen Balfoort
Site Admin
Posts: 9310
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Ancestris Genealogy program

Postby Arjen Balfoort » 29 Oct 2019 08:26

I temporarily added this line to /etc/apt/sources.list:

Code: Select all

deb http://deb.debian.org/debian stretch main
I ran these commands successfully on SolydX 10:

Code: Select all

apt update
apt install openjdk-8-jre


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2521
Joined: 09 Oct 2013 12:45

Re: Ancestris Genealogy program

Postby ilu » 29 Oct 2019 09:06

Edit: Arjen beats me to it. Do as he says. But since I have some more detailed information, I'm still posting this.

hayden: I'm seeing "ppa" in your code. Do not try to use anything called "ppa" on a Debian system (except, maybe, if you exactly know what you are doing and are prepared to clean up the resulting mess on your own). PPA are for Ubuntu systems only.

hayden: What do you mean by FX? OpenJavaFX? It's in a separate package, install it with sudo apt install openjfx.

hayden: You are getting a trace back from using the command "add-apt-repository". That command is obviously broken, it has nothing to do with Java. The command is part of software-properties-common and, as the error says, that packages doesn't seem to know anything about a lot of distributions. So, if you want to add a repository, do it manually: sudo nano /etc/apt/sources.list or with the tee command as shown below.

@all: Now onto how to get Java 1.8 working on Debian 10. The better way would be to update the application to work with current java since version 8 is not supported upstream any more and has unfixed security issues (that's why it's not in buster). But I can understand if they are still working on updating ancestry. Although they should really update their installation howto since java8 is not provided by Oracle any more.

openjdk is in the debian stretch and sid repositories. You can install it from there. I think from stretch is the easier way because you don't risk upgrading the complete system.
1.
You can either download the deb packages from here: https://packages.debian.org/stretch/amd ... s/download and https://packages.debian.org/stretch/amd ... e/download and then install them with gdebi (headless first). Then run update-alternatives as below.
2.
Or use the stretch repositories:

Code: Select all

echo "deb http://ftp.be.debian.org/debian/ stretch main " | sudo tee -a /etc/apt/sources.list.d/stretch.list
echo "deb http://security.debian.org/ stretch/updates main" | sudo tee -a /etc/apt/sources.list.d/stretch.list
apt update
apt install -t stretch openjdk-8-jre
sudo update-alternatives --config java
I haven't tested this, so if you run into any problems, copy-save your terminal output and report back
3.
Or use the adoptopenjdk repositories as explained here: https://adoptopenjdk.net/installation.html (under "Linux RPM and DEB installer packages") - just remember to replace the sudo add-apt-repositorycommand with echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list.
4.
Here is an explanation how to get it from sid if you prefer that: https://stackoverflow.com/questions/570 ... -10-buster - the second answer hopefully stops you from upgrading your complete system to sid. Be careful.

Arjen, kurotsugi: Should we include the apt setting APT::Default-Release "stable"; by default? I don't think we have it.


Return to “Software”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests