[GNC] How to install Gnucash 3.8 on Debian 10 "buster"?

John Ralls jralls at ceridwen.us
Sun Apr 26 11:33:11 EDT 2020


GnuCash doesn't care what python it's linked against as long as it's >= 3.2.0.
The Debian packager linked GnuCash 3.10 against python 3.8 and set it as a
requirement in the .deb because that's what's on a fully up to date Debian testing.

If you're fearful of updates breaking your system you should use only Debian stable. The whole point of testing is to try out version upgrades to see what breaks.

Regards,
John Ralls

> On Apr 26, 2020, at 7:33 AM, km22 <km22 at gmx.com> wrote:
> 
> As a follow up I have been running Gnucash 3.8 from the Debian testing
> repo for a few months now.  I recently tried to update but get these
> results:
> 
> [Quote1]
> 
> $ sudo apt list --upgradable
> 
> ...
> 
> gnucash-common/testing 1:3.10-1 all [upgradable from: 1:3.8b-1]
> gnucash/testing 1:3.10-1 amd64 [upgradable from: 1:3.8b-1+b1]
> ...
> 
> [/Quote1]
> 
> 
> [Quote2]
> 
> $ sudo apt install gnucash
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 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 to resolve the situation:
> 
> The following packages have unmet dependencies:
>  gnucash : Depends: libpython3.8 (>= 3.8.2) but it is not going to be
> installed
> E: Unable to correct problems, you have held broken packages.
> 
> [/Quote2]
> 
> 
> Question: Is it normal for gnucash to change its Python version (here to
> version 3.8) within a maintenance update (here to gnucash version 3.10)?
> 
> I ask because I am hesitant to update my python version for fear of
> breaking my system - but just wanted to highlight whether this increase
> in Python version is expected within the Gnucash version guidelines?
> 
> Thanks,
> Ken
> 
> 
> On 12/3/2020 10:48 pm, km22 wrote:
>> 
>> As a follow up, what I did is the following to update to 3.8 on my
>> Debian 10 system:
>> 
>> 1) Created a file /etc/apt/apt.conf with the line:
>> APT::Default-Release "buster";
>> 
>> 2) Ran sudo apt update. Then ran apt -t testing install gnucash
>> 
>> From the /var/log/apt/history.log file these were the packages that
>> were installed/updated:
>> 
>> Start-Date: 2020-03-10  00:14:47
>> Commandline: apt -t testing install gnucash
>> Requested-By: ken (1000)
>> Install: libgwenhywfar79:amd64 (5.1.3-1, automatic), gcc-10-base:amd64
>> (10-20200222-1, automatic), libhogweed5:amd64 (3.5.1+really3.5.1-2,
>> automatic), libgcc-s1:amd64 (10-20200222-1, automatic),
>> libnettle7:amd64 (3.5.1+really3.5.1-2, automatic), libffi7:amd64
>> (3.3-3, automatic), libaqbanking44:amd64 (6.0.1-2, automatic),
>> libgwengui-gtk3-0:amd64 (5.1.3-1, automatic)
>> Upgrade: cryptsetup-initramfs:amd64 (2:2.1.0-5+deb10u2, 2:2.2.2-3),
>> libgwenhywfar-data:amd64 (4.20.0-9, 5.1.3-1), cryptsetup-run:amd64
>> (2:2.1.0-5+deb10u2, 2:2.2.2-3), p11-kit-modules:amd64 (0.23.15-2,
>> 0.23.20-1), gnucash:amd64 (1:3.4-1+b10, 1:3.8b-1+b1),
>> libboost-regex1.67.0:amd64 (1.67.0-13+deb10u1, 1.67.0-17),
>> libaqbanking-data:amd64 (5.7.8-3, 6.0.1-2), libgnutls30:amd64
>> (3.6.7-4+deb10u2, 3.6.12-2), libp11-kit0:amd64 (0.23.15-2, 0.23.20-1),
>> gnucash-common:amd64 (1:3.4-1, 1:3.8b-1), libtasn1-6:amd64 (4.13-3,
>> 4.16.0-2), libstdc++6:amd64 (8.3.0-6, 10-20200222-1), cryptsetup:amd64
>> (2:2.1.0-5+deb10u2, 2:2.2.2-3), libxmlsec1:amd64 (1.2.27-2, 1.2.28-2)
>> End-Date: 2020-03-10  00:15:13
>> 
>> Question I have is why was it necessary for gnucash to install
>> packages from the testing repo for packages such as cryptsetup
>> (various) or gcc-10-base?  Are these really necessary for gnucash?  I
>> want to maintain a system as close to the base Debian 10 as possible
>> so curious to understand why these other packages were required?
>> 
>> Thanks,
>> 
>> Ken
>> 
>> 
>> 
>> On 8/3/2020 11:09 pm, km22 wrote:
>>> Hi all,
>>> 
>>> Can anyone advise a very simple and safe way of install gnucash 3.8
>>> in Debian 10?
>>> 
>>> I've read posts like this:
>>> https://unix.stackexchange.com/questions/107689/how-do-i-install-a-single-package-from-debian-testing-or-unstable-on-stable
>>> 
>>> But I am very reluctant to start messing with things like pinning or
>>> temporarily enabling testing repo entirely for fear of breaking my
>>> system.
>>> 
>>> Is there a simple way to install just gnucash 3.8 and dependencies as
>>> a one-off without making riskier changes to my system?
>>> 
>>> Thanks,
>>> 
>>> Ken
>>> 
>>> 
>>> 
>>> On 2/3/2020 11:29 pm, km22 wrote:
>>>> Hi Andrea,
>>>> 
>>>> Thanks for the message.  Do you know whether there is a simple
>>>> command line operation I can run to install Gnucash 3.8 from Debian
>>>> 10 testing repo?
>>>> 
>>>> I tried to google the solution but what I found seemed to suggest a
>>>> lot of modifications to the sources file or introducing a pinning
>>>> concept.  I only want to install this one package (and the necessary
>>>> dependencies) from testing, ideally without messing with the /etc/
>>>> files.
>>>> 
>>>> Thanks,
>>>> Ken
>>>> 
>>>> 
>>>> 
>>>> On 2/3/2020 2:08 am, Andrea Borgia wrote:
>>>>> Il 01/03/20 16:39, km22 ha scritto:
>>>>> 
>>>>>> I recently moved from Windows 7 (due to end of life) to Debian 10.  I
>>>>>> have gnucash 3.4 installed from the standard repo. However I think
>>>>>> this
>>>>>> version contains a bug as I cannot see any of the historical FX
>>>>>> prices I
>>>>>> stored in the Price Database. I think I need to move to a more recent
>>>>>> version.  I saw this wiki article:
>>>>>> https://wiki.gnucash.org/wiki/Debian
>>>>>> but no clues there on how to install the latest version 3.8. Can
>>>>>> anyone
>>>>>> here advise?
>>>>> 
>>>>> Hi, Ken.
>>>>> 
>>>>> If you're comfortable with using the "testing" distribution, then
>>>>> GC 3.8 is already included, I am using it now.
>>>>> 
>>>>> If you prefer to continue using the "stable" distribution of
>>>>> Debian, then you could try the "flatpak" version of GC, available
>>>>> here:
>>>>> https://flathub.org/apps/details/org.gnucash.GnuCash
>>>>> 
>>>>> How to use Flatpak on Debian:
>>>>> https://flatpak.org/setup/Debian/
>>>>> 
>>>>> 
>>>>> Regards,
>>>>> Andrea.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list