[GNC] Old-New user with an upgrade problem

Adrien Monteleone adrien.monteleone at lusfiber.net
Sat Aug 22 01:32:29 EDT 2020


I agree, chasing dependencies is no fun.

Personally, I'd opt for the 4.1 Flatpak. That would be much simpler.

I'm surprised that 3.4 is in the Buster repos but the required 
dependencies are not. It isn't supposed to be that way.

If you want to keep playing the dependency game, more than likely you'll 
need to find out what the minimum version of python3-gnucash is 
required, then specify to install that version and pin it. You might 
have to do the same for python3 itself.

Check `man apt` for how to specify versions and `apt search` to see what 
versions are available.

Regards,
Adrien

On 8/21/20 8:33 PM, John Angelico wrote:
> Thanks for the hints, Adrien, but when I tried to upgrade that, I got a
> similar error:
> 
> ---
> The following packages have unmet dependencies:
>   python3-gnucash : Depends: python3 (>= 3.7~) but 3.5.3-1 is to be installed
> E: Broken packages
> ---
> I don't have to worry about migrating an old set of accounts as the
> previous work was experimental and that entity has moved on.
> 
> So I would be starting fresh with a new set of accounts.
> 
> Sadly, I'm not much of a geek in *nix, I'm more of a dangerous user - I
> know enough to get me into trouble :-) so these dependencies have me
> flummoxed
> 
> Regards,
> John
> 
> On Sat, 22 Aug 2020 at 00:18, Adrien Monteleone <
> adrien.monteleone at lusfiber.net> wrote:
> 
>> I believe
>>
>>     python3-gnucash
>>
>> is what you need.
>>
>> I have an installation of Mint 20 with GnuCash 3.8 from its repos and
>> that is the corresponding package which got installed.
>>
>> Be certain to read over the Wiki FAQ about upgrading. Always have a data
>> file backup, and run Actions > Check & Repair > Check & Repair All when
>> first opening your file in the new version.
>>
>> Also note the current GnuCash version is 4.1. If you want to get fully
>> up to date, you could build from source (instructions on the Wiki) or
>> use the Flatpak. You'll need to step through upgrading to a 3.x version
>> first though. Don't jump straight from 2.6.15 --> 4.1.
>>
>> Regards,
>> Adrien
>>
>> On 8/21/20 1:36 AM, John Angelico wrote:
>>> Hi all.
>>>
>>> I previously used GC 2.6.15 (more than 2 years ago) on an earlier Debian
>>> (Jessie).
>>>
>>> I'm now on Debian/buster and wish to resume, so checked out what I
>>> could install, and found v3.4 available in my Debian packages.
>>>
>>> But this won't install due to a dependency error with python-gnucash as
>> per
>>> this:
>>> ---
>>> 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:
>>>    python-gnucash : Depends: gnucash (= 1:2.6.15-1) but 1:3.4-1+b10 is to
>> be
>>> installed
>>> E: Broken packages
>>> ---
>>> The next thing I tried was to upgrade the package on its own:
>>> ---
>>> $ sudo apt upgrade python-gnucash
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> python-gnucash is already the newest version (1:2.6.15-1).
>>> python-gnucash set to manually installed.
>>> ---
>>> Still no success.
>>>
>>> How can I either:
>>> a) upgrade python-gnucash to the correct level
>>> or
>>> b) find a way to fix up the dependency in GC 3.4
>>> please?
>>>
>>
>> _______________________________________________
>> 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